version: '3.8' # Deploy with: # docker stack deploy -c monerod.yml monerod # # Runs on: fedora # Restricted RPC node with pruning enabled to reduce disk usage. # Blockchain data is persisted in a named Docker volume. # Restricted RPC exposed on port 18089 for external wallet access. services: monerod: image: ghcr.io/sethforprivacy/simple-monerod:latest command: - --rpc-restricted-bind-ip=0.0.0.0 - --rpc-restricted-bind-port=18089 - --no-igd - --enable-dns-blocklist - --ban-list=/home/monero/ban_list.txt - --prune-blockchain ports: - "18080:18080" - "18089:18089" volumes: - bitmonero:/home/monero/.bitmonero - ./monerod-ban-list.txt:/home/monero/ban_list.txt:ro networks: - overlay-net deploy: replicas: 1 placement: constraints: - node.hostname == fedora restart_policy: condition: on-failure delay: 5s max_attempts: 3 volumes: bitmonero: networks: overlay-net: external: true name: ${OVERLAY_NETWORK:-homelab-net}