You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.0 KiB

5 years ago
version: '3.7'
x-logging: &default-logging
driver: journald
options:
tag: "{{.Name}}"
x-utility: &default-utility
image: "alpine:3.11"
logging: *default-logging
network_mode: host
5 years ago
services:
web:
image: nginx:1.17.8
logging: *default-logging
5 years ago
volumes:
- ${HOME}/nginx:/etc/nginx
restart: on-failure
network_mode: host
stop_grace_period: 30s
5 years ago
bitcoin:
5 years ago
image: lncm/bitcoind:v0.19.1
logging: *default-logging
5 years ago
volumes:
- ${HOME}/bitcoin:/root/.bitcoin
- ${HOME}/bitcoin:/data/.bitcoin
- ${HOME}/bitcoin:/data/bitcoin
5 years ago
restart: on-failure
network_mode: host
stop_grace_period: 2m30s
5 years ago
lnd:
image: lncm/lnd:v0.9.2-root-experimental
logging: *default-logging
5 years ago
volumes:
- ${HOME}/lnd:/data/.lnd
5 years ago
- ${HOME}/lnd:/root/.lnd
- /var/lib/tor:/var/lib/tor
- /run/tor:/run/tor/
5 years ago
restart: on-failure
depends_on: [ bitcoin, web ]
5 years ago
network_mode: host
stop_grace_period: 1m30s
5 years ago
invoicer:
image: "lncm/invoicer:v0.6.6"
5 years ago
depends_on: [ bitcoin, lnd ]
restart: on-failure
network_mode: host
volumes:
- "${HOME}/invoicer:/root/.lncm"
- "${HOME}/invoicer:/lncm"
- "${HOME}/lnd:/lnd"
lnd-unlock:
build: ${HOME}/build/lnd-unlock/
depends_on: [ lnd ]
logging: *default-logging
restart: always
volumes:
- "${HOME}/lnd:/lnd"
- "${HOME}/secrets:/secrets"
network_mode: host