2026-01-24 22:01:51 +00:00
|
|
|
app:
|
|
|
|
|
id: bitcoin-core
|
2026-04-28 15:00:58 -04:00
|
|
|
name: Bitcoin Knots
|
2026-04-22 08:29:56 -04:00
|
|
|
version: 28.4.0
|
2026-04-28 15:00:58 -04:00
|
|
|
description: Full Bitcoin Knots node with dynamic prune/full-mode startup based on host disk.
|
|
|
|
|
|
|
|
|
|
container_name: bitcoin-knots
|
2026-04-22 08:29:56 -04:00
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
container:
|
chore: release v1.7.45-alpha
Resilience-validated release. Three full sweeps of the new resilience
harness against .228 confirm no shipstoppers.
Big user-visible:
- Bitcoin RPC auth durably correct via host-rendered nginx.conf bind-mount,
replaces fragile post-start exec that failed under restricted-cap rootless
podman ("crun: write cgroup.procs: Permission denied")
- Multi-container stack installs (indeedhub, immich, btcpay, mempool) now
emit phase events at every boundary so the progress bar advances
- Apps no longer vanish from the dashboard mid-install (absent-scanner skips
packages in transitional states)
- Indeedhub fresh installs work end-to-end (was 8500+ restart loop): five
missing env vars (DATABASE_PORT, QUEUE_HOST, QUEUE_PORT,
S3_PRIVATE_BUCKET_NAME, AES_MASTER_SECRET) added to install code
- Tailscale install fixed: --entrypoint string was being passed as a single
shell-line arg; switched to custom_args array
- Catalog cleaned of broken entries (dwn, endurain, ollama removed; nextcloud
restored on docker.io)
- Bitcoin Core update path uses correct image (was looking for nonexistent
lfg2025/bitcoin:28.4)
- ISO installs now allocate swap on the encrypted data partition
Infra:
- New resilience harness (scripts/resilience/) — black-box state-machine
tester, every app × every transition. Run before each release.
Sweep #3 final: PASS 107 / FAIL 12 / SKIP 14. The 12 fails are 1 cosmetic
(homeassistant trusted_hosts), 8 harness/timing false-positives, and 3
non-shipstopper tracked items. Down from 23 in baseline sweep #1.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 12:31:45 -04:00
|
|
|
image: 146.59.87.168:3000/lfg2025/bitcoin-knots:latest
|
2026-04-28 15:00:58 -04:00
|
|
|
pull_policy: if-not-present
|
|
|
|
|
network: archy-net
|
|
|
|
|
entrypoint: ["sh", "-lc"]
|
|
|
|
|
custom_args:
|
|
|
|
|
- >-
|
|
|
|
|
if [ "${DISK_GB:-0}" -lt 1000 ]; then
|
|
|
|
|
exec bitcoind -server=1 -prune=550 -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0:8332 -listen=1 -bind=0.0.0.0:8333 -dbcache=512 -rpcuser="${BITCOIN_RPC_USER}" -rpcpassword="${BITCOIN_RPC_PASS}";
|
|
|
|
|
else
|
|
|
|
|
exec bitcoind -server=1 -txindex=1 -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0:8332 -listen=1 -bind=0.0.0.0:8333 -dbcache=4096 -rpcuser="${BITCOIN_RPC_USER}" -rpcpassword="${BITCOIN_RPC_PASS}";
|
|
|
|
|
fi
|
|
|
|
|
derived_env:
|
|
|
|
|
- key: DISK_GB
|
|
|
|
|
template: "{{DISK_GB}}"
|
|
|
|
|
secret_env:
|
|
|
|
|
- key: BITCOIN_RPC_PASS
|
|
|
|
|
secret_file: bitcoin-rpc-password
|
|
|
|
|
data_uid: "100101:100101"
|
|
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
dependencies:
|
2026-04-28 15:00:58 -04:00
|
|
|
- storage: 500Gi
|
|
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
resources:
|
2026-04-28 15:00:58 -04:00
|
|
|
cpu_limit: 0
|
|
|
|
|
memory_limit: 4Gi
|
2026-01-24 22:01:51 +00:00
|
|
|
disk_limit: 500Gi
|
2026-04-28 15:00:58 -04:00
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
security:
|
2026-04-28 15:00:58 -04:00
|
|
|
capabilities: [CHOWN, FOWNER, SETUID, SETGID, DAC_OVERRIDE]
|
|
|
|
|
readonly_root: false
|
2026-01-24 22:01:51 +00:00
|
|
|
network_policy: isolated
|
2026-04-28 15:00:58 -04:00
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
ports:
|
|
|
|
|
- host: 8332
|
|
|
|
|
container: 8332
|
2026-04-28 15:00:58 -04:00
|
|
|
protocol: tcp
|
2026-01-24 22:01:51 +00:00
|
|
|
- host: 8333
|
|
|
|
|
container: 8333
|
2026-04-28 15:00:58 -04:00
|
|
|
protocol: tcp
|
|
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
volumes:
|
|
|
|
|
- type: bind
|
|
|
|
|
source: /var/lib/archipelago/bitcoin
|
|
|
|
|
target: /home/bitcoin/.bitcoin
|
|
|
|
|
options: [rw]
|
2026-04-28 15:00:58 -04:00
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
environment:
|
2026-04-28 15:00:58 -04:00
|
|
|
- BITCOIN_RPC_USER=archipelago
|
|
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
health_check:
|
2026-04-28 15:00:58 -04:00
|
|
|
type: tcp
|
|
|
|
|
endpoint: localhost:8332
|
2026-01-24 22:01:51 +00:00
|
|
|
interval: 30s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2026-04-28 15:00:58 -04:00
|
|
|
|
2026-01-24 22:01:51 +00:00
|
|
|
bitcoin_integration:
|
|
|
|
|
rpc_access: admin
|
|
|
|
|
sync_required: true
|
2026-04-28 15:00:58 -04:00
|
|
|
testnet_support: false
|
2026-01-24 22:01:51 +00:00
|
|
|
pruning_support: true
|