2026-04-28 15:00:58 -04:00
|
|
|
app:
|
|
|
|
|
id: electrumx
|
|
|
|
|
name: ElectrumX
|
|
|
|
|
version: 1.18.0
|
|
|
|
|
description: Electrum server indexing Bitcoin chain data for lightweight wallet queries.
|
|
|
|
|
|
|
|
|
|
container:
|
2026-06-11 00:24:20 -04:00
|
|
|
image: 146.59.87.168:3000/lfg2025/electrumx:v1.18.0
|
2026-04-28 15:00:58 -04:00
|
|
|
pull_policy: if-not-present
|
|
|
|
|
network: archy-net
|
2026-05-05 11:29:18 -04:00
|
|
|
data_uid: "1000:1000"
|
2026-04-28 15:00:58 -04:00
|
|
|
entrypoint: ["sh", "-lc"]
|
|
|
|
|
custom_args:
|
|
|
|
|
- >-
|
2026-05-13 15:09:22 -04:00
|
|
|
export DAEMON_URL="http://archipelago:$(printenv BITCOIN_RPC_PASS)@bitcoin-knots:8332/";
|
2026-04-28 15:00:58 -04:00
|
|
|
exec electrumx_server
|
|
|
|
|
secret_env:
|
|
|
|
|
- key: BITCOIN_RPC_PASS
|
|
|
|
|
secret_file: bitcoin-rpc-password
|
|
|
|
|
|
|
|
|
|
dependencies:
|
2026-05-05 11:29:18 -04:00
|
|
|
- app_id: bitcoin-knots
|
2026-04-28 15:00:58 -04:00
|
|
|
version: ">=26.0"
|
|
|
|
|
- storage: 50Gi
|
|
|
|
|
|
|
|
|
|
resources:
|
2026-05-13 15:09:22 -04:00
|
|
|
cpu_limit: 0
|
|
|
|
|
memory_limit: 4Gi
|
2026-04-28 15:00:58 -04:00
|
|
|
disk_limit: 50Gi
|
|
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
capabilities: [DAC_OVERRIDE]
|
|
|
|
|
readonly_root: false
|
|
|
|
|
network_policy: isolated
|
|
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
- host: 50001
|
|
|
|
|
container: 50001
|
|
|
|
|
protocol: tcp
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
- type: bind
|
|
|
|
|
source: /var/lib/archipelago/electrumx
|
|
|
|
|
target: /data
|
|
|
|
|
options: [rw]
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
- COIN=Bitcoin
|
|
|
|
|
- DB_DIRECTORY=/data
|
|
|
|
|
- SERVICES=tcp://:50001,rpc://0.0.0.0:8000
|
2026-05-13 15:09:22 -04:00
|
|
|
- CACHE_MB=3072
|
|
|
|
|
- MAX_SEND=10000000
|
2026-04-28 15:00:58 -04:00
|
|
|
|
|
|
|
|
health_check:
|
|
|
|
|
type: tcp
|
|
|
|
|
endpoint: localhost:50001
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
|
|
|
|
|
bitcoin_integration:
|
|
|
|
|
rpc_access: read-only
|
|
|
|
|
sync_required: true
|
2026-05-05 11:29:18 -04:00
|
|
|
pruning_support: false
|