Track all active Proxmox swarm stack YMLs, NATS config, Postgres init SQL, and env generation script. Update .gitignore for homelab project. Add CLAUDE.md for project context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
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
|
|
networks:
|
|
- overlay-net
|
|
deploy:
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.hostname == game
|
|
restart_policy:
|
|
condition: on-failure
|
|
delay: 5s
|
|
max_attempts: 3
|
|
|
|
networks:
|
|
overlay-net:
|
|
external: true
|
|
name: ${OVERLAY_NETWORK:-homelab-net}
|