-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
114 lines (107 loc) · 2.32 KB
/
docker-compose.yml
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
109
110
111
112
113
114
version: '3'
services:
bitcoind:
build:
context: ./bitcoin-core
args:
BITCOIN_VER: $BITCOIN_VER
image: bitcoin-core:$BITCOIN_VER
container_name: bitcoind
hostname: bitcoind
ports:
- "18443:18443"
networks:
- lnd-local-network
command: >
/bin/bash -c "
bitcoind -regtest -rpcbind=0.0.0.0 &&
tail -f /dev/null"
lnd1:
build:
context: ./lnd
args:
LND_VER: $LND_VER
image: lnd:$LND_VER
container_name: lnd1
hostname: lnd1
volumes:
- ./volumes/lnd1:/home/lnd/share
ports:
- "8081:8080"
networks:
- lnd-local-network
command: >
/bin/bash -c "
lnd \
--listen=0.0.0.0:9735 \
--restlisten=0.0.0.0:8080 \
--rpclisten=0.0.0.0:10009 \
--lnddir=/home/lnd/.lnd &&
tail -f /dev/null"
lnd2:
build:
context: ./lnd
args:
LND_VER: $LND_VER
image: lnd:$LND_VER
container_name: lnd2
hostname: lnd2
volumes:
- ./volumes/lnd2:/home/lnd/share
ports:
- "8082:8080"
networks:
- lnd-local-network
command: >
/bin/bash -c "
lnd \
--listen=0.0.0.0:9735 \
--restlisten=0.0.0.0:8080 \
--rpclisten=0.0.0.0:10009 \
--lnddir=/home/lnd/.lnd &&
tail -f /dev/null"
lnd3:
build:
context: ./lnd
args:
LND_VER: $LND_VER
image: lnd:$LND_VER
container_name: lnd3
hostname: lnd3
volumes:
- ./volumes/lnd3:/home/lnd/share
ports:
- "8083:8080"
networks:
- lnd-local-network
command: >
/bin/bash -c "
lnd \
--listen=0.0.0.0:9735 \
--restlisten=0.0.0.0:8080 \
--rpclisten=0.0.0.0:10009 \
--lnddir=/home/lnd/.lnd &&
tail -f /dev/null"
jupyter:
build:
context: ./jupyter
image: jupyter
container_name: jupyter
hostname: jupyter
ports:
- "8888:8888"
networks:
- lnd-local-network
volumes:
- ./notebook:/notebook
- ./volumes:/lnd_share
command: >
/bin/sh -c "jupyter notebook \
--ip='*' \
--no-browser \
--NotebookApp.notebook_dir='/notebook' \
--NotebookApp.token='' \
--NotebookApp.password=''"
networks:
lnd-local-network:
external: true