Files
plm-electrumx/docker-compose.yml
T
davideandClaude Sonnet 5.5 3e5d005efe Add DEPLOY.md: ports, firewall, RPC credentials, SSL, operation
Also fix the COIN default in docs/environment.rst, and refer to the Palladium
node setup by concept instead of by paths of its repository.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 15:15:13 +02:00

28 lines
918 B
YAML

# ElectrumX for Palladium, next to the Palladium node container.
# Start the node first: it creates the "palladium" network. Setup and usage: README.md
services:
electrumx:
build: .
image: plm-electrumx
restart: unless-stopped
environment:
# the node is reached by name on the shared network; user and password are those of its palladium.conf
DAEMON_URL: http://${PLM_RPC_USER}:${PLM_RPC_PASSWORD}@palladiumd:2332/
CACHE_MB: ${CACHE_MB:-1200}
# address announced to other servers and clients, if this server is public (tcp://host:50001)
REPORT_SERVICES: ${REPORT_SERVICES:-}
ports:
- "${ELECTRUMX_TCP_PORT:-50001}:50001"
volumes:
- electrumx-db:/var/lib/electrumx
stop_grace_period: 2m # lets the server flush the db on shutdown
networks: [palladium]
volumes:
electrumx-db:
networks:
palladium:
name: palladium
external: true