robosats-deploy/compose/docker-compose.override-cln.yml
Reckless_Satoshi 90811de909 refactor env/confs
2023-09-30 08:05:27 -07:00

34 lines
732 B
YAML

version: '3.9'
services:
cln:
build: ./cln
restart: always
network_mode: service:tor
container_name: cln${SUFFIX}
depends_on:
- tor
- bitcoind
volumes:
- ${TOR_DATA:?}:${GUEST_TOR_DATA:?}:ro
- ${TOR_CONFIG:?}:${GUEST_TOR_CONFIG:?}:ro
- ${CLN_DATA:?}:/root/.lightning
- ${CLN_CONFIG:?}:/root/.lightning/config
- ${BITCOIN_DATA}:/root/.bitcoin
command: lightningd
# Patch common services
robosats:
volumes:
- ${CLN_DATA}:/cln
clean-orders:
volumes:
- ${CLN_DATA}:/cln
follow-invoices:
volumes:
- ${CLN_DATA}:/cln
celery:
volumes:
- ${CLN_DATA}:/cln
# backup:
# volumes:
# - ${CLN_DATA}:/running/cln:ro