mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-06 18:10:07 +00:00
34 lines
732 B
YAML
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 |