@@ -2,20 +2,21 @@ version: "3.4"
22networks: {}
33services:
44 bitcoind:
5+ build:
6+ context: ./bitcoin-signet
7+ dockerfile: Dockerfile
8+ args:
9+ - TRIPLET=${TRIPLET}
10+ image: playground-docker-bitcoind
511 links:
612 - tor
713 depends_on:
814 - tor
915 restart: unless-stopped
1016 container_name: playground-bitcoind
1117 environment:
12- ARCH : ${ARCH }
18+ TRIPLET : ${TRIPLET }
1319 GET_COINS_ON_STARTUP: 'true'
14- build :
15- context : ./bitcoin-signet
16- dockerfile : Dockerfile
17- args :
18- - ARCH=${ARCH}
1920 expose:
2021 - "38332"
2122 - "38333"
@@ -24,7 +25,7 @@ services:
2425 - "38333:38333"
2526 volumes:
2627 - type: bind
27- source : ${PWD}/volumes/bitcoin_datadir
28+ source: ${oc.env: PWD}/volumes/bitcoin_datadir
2829 target: /root/.bitcoin/
2930 lnd:
3031 links:
@@ -34,7 +35,7 @@ services:
3435 - bitcoind
3536 - tor
3637 environment:
37- ARCH : ' ${ARCH }'
38+ TRIPLET : '${TRIPLET }'
3839 LND_ALIAS: 'NewNode'
3940 LND_LISTEN: 'playground-lnd:9735'
4041 LND_RPCLISTEN: 'playground-lnd:10009'
@@ -62,7 +63,7 @@ services:
6263 - "10009:10009"
6364 volumes:
6465 - type: bind
65- source : ${PWD}/volumes/lnd_datadir
66+ source: ${oc.env: PWD}/volumes/lnd_datadir
6667 target: /root/.lnd/
6768 tor:
6869 restart: unless-stopped
@@ -73,18 +74,15 @@ services:
7374 expose:
7475 - 9050
7576 - 9051
76- ports :
77- - " 9050:9050"
78- - " 9051:9051"
7977 volumes:
8078 - type: bind
81- source : ${PWD}/volumes/tor_datadir
79+ source: ${oc.env: PWD}/volumes/tor_datadir
8280 target: /home/tor/.tor
8381 - type: bind
84- source : ${PWD}/volumes/tor_torrcdir
82+ source: ${oc.env: PWD}/volumes/tor_torrcdir
8583 target: /usr/local/etc/tor
8684 - type: bind
87- source : ${PWD}/volumes/tor_servicesdir
85+ source: ${oc.env: PWD}/volumes/tor_servicesdir
8886 target: /var/lib/tor/hidden_services
8987 thunderhub:
9088 container_name: playground-thub
@@ -105,11 +103,11 @@ services:
105103 LOG_LEVEL: debug
106104 volumes:
107105 - type: bind
108- source : ${PWD}/volumes/lnd_datadir
106+ source: ${oc.env: PWD}/volumes/lnd_datadir
109107 target: /etc/lnd
110108 read_only: true
111109 - type: bind
112- source : ${PWD}/volumes/thub_datadir
110+ source: ${oc.env: PWD}/volumes/thub_datadir
113111 target: /data
114112 ports:
115113 - '3001:3000'
@@ -138,15 +136,15 @@ services:
138136 image: shahanafarooqui/rtl:0.11.0
139137 volumes:
140138 - type: bind
141- source : ${PWD}/volumes/lnd_datadir
139+ source: ${oc.env: PWD}/volumes/lnd_datadir
142140 target: /root/.lnd/
143141 read_only: true
144142 - type: bind
145- source : ${PWD}/volumes/bitcoin_datadir
143+ source: ${oc.env: PWD}/volumes/bitcoin_datadir
146144 target: /etc/bitcoin/
147145 read_only: true
148146 - type: bind
149- source : ${PWD}/volumes/rtl_datadir
147+ source: ${oc.env: PWD}/volumes/rtl_datadir
150148 target: /data
151149 notebook:
152150 container_name: playground-notebook
@@ -162,10 +160,10 @@ services:
162160 image: plebnet-playground-docker_dashboard
163161 volumes:
164162 - type: bind
165- source : ${PWD}/notebooks
163+ source: ${oc.env: PWD}/notebooks
166164 target: /notebooks
167165 - type: bind
168- source : ${PWD}/volumes/lnd_datadir
166+ source: ${oc.env: PWD}/volumes/lnd_datadir
169167 target: /root/.lnd/
170168 read_only: true
171169 environment:
@@ -194,10 +192,10 @@ services:
194192 image: plebnet-playground-docker_dashboard
195193 volumes:
196194 - type: bind
197- source : ${PWD}/dashboard
195+ source: ${oc.env: PWD}/dashboard
198196 target: /dashboard
199197 - type: bind
200- source : ${PWD}/volumes/lnd_datadir
198+ source: ${oc.env: PWD}/volumes/lnd_datadir
201199 target: /root/.lnd/
202200 read_only: true
203201 environment:
@@ -218,19 +216,19 @@ services:
218216 restart: unless-stopped
219217 container_name: playground-docs
220218 environment:
221- - ARCH =${ARCH }
219+ - TRIPLET =${TRIPLET }
222220 build:
223- context : ${PWD}/docs
221+ context: ${oc.env: PWD}/docs
224222 dockerfile: Dockerfile
225223 args:
226- - ARCH =${ARCH }
224+ - TRIPLET =${TRIPLET }
227225 expose:
228226 - "8000"
229227 ports:
230228 - "8000:8000"
231229 volumes:
232230 - type: bind
233- source : ${PWD}/docs
231+ source: ${oc.env: PWD}/docs
234232 target: /docs
235233
236234
0 commit comments