28 lines
775 B
YAML
28 lines
775 B
YAML
version: '3.8'
|
|
|
|
# Deploy with:
|
|
# docker stack deploy -c monerod.yml monerod
|
|
#
|
|
# Runs on: game node
|
|
# Restricted RPC node with pruning enabled to reduce disk usage.
|
|
# Blockchain data is bind-mounted from NAS at /mnt/nas/.bitmonero.
|
|
# 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:
|
|
- /mnt/nas/.bitmonero:/home/monero/.bitmonero
|
|
- ./monerod-ban-list.txt:/home/monero/ban_list.txt:ro
|
|
|
|
|