add electrum wallet daemon with container entrypoint

This commit is contained in:
2026-09-03 23:13:20 +02:00
parent cde7fab90c
commit bfb7b013f9
6 changed files with 103 additions and 0 deletions
+24
View File
@@ -53,6 +53,28 @@ services:
retries: 10
start_period: 300s
electrum-daemon:
build:
context: ./electrum-daemon
args:
ELECTRUM_VERSION: ${ELECTRUM_VERSION}
container_name: ${COMPOSE_PROJECT_NAME}_electrum_daemon
restart: unless-stopped
env_file:
- .env.dev
volumes:
- ${ELECTRUM_WALLET_DIR}:/electrum/wallet
healthcheck:
test:
[
'CMD-SHELL',
'curl -sf -u "$$ELECTRUM_DAEMON_RPC_USER:$$ELECTRUM_DAEMON_RPC_PASSWORD" -H ''Content-Type: application/json'' -d ''{"jsonrpc":"2.0","id":"health","method":"version","params":[]}'' http://127.0.0.1:$$ELECTRUM_DAEMON_PORT/'
]
interval: 10s
timeout: 5s
retries: 5
start_period: 90s
simplex-cli:
build:
context: ./simplex-cli
@@ -83,6 +105,8 @@ services:
condition: service_healthy
monero-wallet-rpc:
condition: service_healthy
electrum-daemon:
condition: service_healthy
simplex-cli:
condition: service_healthy
env_file: