This repository was archived by the owner on Nov 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
108 lines (101 loc) · 2.17 KB
/
docker-compose.yml
File metadata and controls
108 lines (101 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: "3"
services:
caddy:
image: opago/caddy:latest
container_name: caddy
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=node
networks:
- node
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy:/data
restart: always
tor:
image: opago/tor:latest
container_name: tor
ports:
- 9050:9050
networks:
- node
volumes:
- ./tor:/etc/tor/
restart: always
bitcoin:
image: opago/bitcoin:latest
container_name: btc
volumes:
- ./bitcoin:/data/bitcoin/
- bitcoin:/data
labels:
caddy: bitcoin.yourdomain.com #changethis
caddy.reverse_proxy: "{{upstreams 8333}}"
networks:
- node
entrypoint: "bitcoind -datadir=/data -conf=/data/bitcoin/bitcoin.conf"
depends_on:
- "caddy"
restart: always
lnd:
image: opago/lnd:latest
container_name: lnd
volumes:
- ./lnd:/root/.lnd
entrypoint: "lnd"
networks:
- node
ports:
- 9075:9735
depends_on:
- "caddy"
- "tor"
restart: always
lnbits:
image: opago/lnbits:latest
container_name: lnbits
volumes:
- "./lnbits:/app/data"
- "./lnd:/root/.lnd"
networks:
- node
labels:
caddy: lnbits.yourdomain.com #changethis
caddy.reverse_proxy: "{{upstreams 5000}}"
environment:
- "LND_REST_ENDPOINT=https://lnd:10009/"
depends_on:
- "caddy"
- "lnd"
restart: always
thunderhub:
image: opago/thunderhub:latest
container_name: thunderhub
volumes:
- "./lnd:/root/.lnd"
- "./thunderhub:/root/th"
networks:
- node
labels:
caddy: thunderhub.yourdomain.com #changethis
caddy.reverse_proxy: "{{upstreams 3500}}"
environment:
- PORT=3500
- SSO_SERVER_URL=lnd:10009
- SSO_CERT_PATH=/root/.lnd/tls.cert
- SSO_MACAROON_PATH=/root/.lnd/data/chain/bitcoin/mainnet
- ACCOUNT_CONFIG_PATH=/root/th/config.yaml
depends_on:
- "caddy"
- "lnd"
restart: always
volumes:
caddy:
name: caddy
bitcoin:
name: bitcoin
networks:
node:
name: node