-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml.template
83 lines (82 loc) · 2.39 KB
/
docker-compose.yaml.template
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
version: "3"
networks: {}
services:
bitcoind:
image: ghcr.io/plebnet-playground/plebnet-playground-docker/bitcoind-${TRIPLET}/root:v0.5.12
build:
context: ./bitcoin-signet
dockerfile: Dockerfile
args:
- TRIPLET=${TRIPLET}
links:
- tor-${tor_i}
depends_on:
- tor-${tor_i}
restart: unless-stopped
container_name: playground-bitcoind-${bitcoind_i}
environment:
- TRIPLET=${TRIPLET}
expose:
- "38332"
- "38333"
- "38334"
volumes:
- type: bind
source: ${oc.env:PWD}/volumes/bitcoin_datadir_${bitcoind_i}
target: /root/.bitcoin/
lnd:
image: ghcr.io/plebnet-playground/plebnet-playground-docker/lnd-${TRIPLET}/root:v0.5.12
build:
context: ./lnd-signet
dockerfile: Dockerfile
links:
- bitcoind-${bitcoind_i}
- tor-${tor_i}
depends_on:
- bitcoind-${bitcoind_i}
- tor-${tor_i}
environment:
TRIPLET: '${TRIPLET}'
n: '${lnd_i}'
LND_LISTEN: 'playground-lnd-${lnd_i}:9735'
LND_RPCLISTEN: 'playground-lnd-${lnd_i}:10009'
LND_RESTLISTEN: 'playground-lnd-${lnd_i}:8080'
zmqpubrawblock: 'tcp://playground-bitcoind-${bitcoind_i}:28332'
zmqpubrawtx: 'tcp://playground-bitcoind-${bitcoind_i}:28333'
torsocks: 'playground-tor-${tor_i}:9050'
torcontrol: 'playground-tor-${tor_i}:9051'
tlsextradomain: 'playground-lnd-${lnd_i}'
rpchost: 'playground-bitcoind-${bitcoind_i}'
restart: unless-stopped
container_name: playground-lnd-${lnd_i}
expose:
- 8080
- 9735
- 9911
- 10009
volumes:
- type: bind
source: ${oc.env:PWD}/volumes/lnd_datadir_${lnd_i}
target: /root/.lnd/
tor:
restart: unless-stopped
image: ghcr.io/plebnet-playground/plebnet-playground-docker/tor-${TRIPLET}/root:v0.5.12
build:
context: ./tor
dockerfile: Dockerfile
container_name: playground-tor-${tor_i}
environment:
TRIPLET: '${TRIPLET}'
expose:
- 9050
- 9051
volumes:
- type: bind
source: ${oc.env:PWD}/volumes/tor_datadir_${tor_i}
target: /home/tor/.tor
- type: bind
source: ${oc.env:PWD}/volumes/tor_torrcdir_${tor_i}
target: /usr/local/etc/tor
- type: bind
source: ${oc.env:PWD}/volumes/tor_servicesdir_${tor_i}
target: /var/lib/tor/hidden_services