-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose_a-6.yml
137 lines (126 loc) · 2.46 KB
/
docker-compose_a-6.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
version: '2.4'
services:
tor:
build: ./tor/build
container_name: tor_build
restart: always
ports:
- 127.0.0.1:8050:9050
- 127.0.0.1:8051:9051
- 127.0.0.1:8118:8118
expose:
- 9050
- 9051
- 8118
volumes:
- ./tor/etc:/etc/tor
# # chown -R root ./tor/lib
- ./tor/lib:/var/lib/tor
networks:
tor:
ipv4_address: 10.6.0.50
torext:
bitcoind:
build: ./bitcoin
stop_grace_period: 5m
#command: echo "Bitcoin disabled"
restart: always
#stop_grace_period : 1m30s
#stop_signal : SIGINT
depends_on:
- tor
container_name: bitcoin_build
expose:
- 8332
- 8333
- 28332
ports:
- 8333:8333
volumes:
- ./bitcoin/bitcoin:/bitcoin
- ./tor/lib:/var/lib/tor
networks:
bitcoinint:
ipv4_address: 10.19.0.10
tor:
ipv4_address: 10.6.0.51
bitcoin:
lnd:
build: ./lnd
container_name: lnd_build
stop_grace_period: 5m
depends_on:
- bitcoind
- tor
restart: always
volumes:
- ./lnd/lnd:/lnd
- ./lnd/backup:/backup
- ./tor/lib:/var/lib/tor
networks:
- bitcoinint
- bitcoin
- tor
ports:
- 9911:9911
- 9735:9735
- 10009:10009
- 8080:8080
expose:
- 8080
electrs:
image: iangregsondev/electrs
container_name: electrs_build
restart: always
depends_on :
- bitcoind
ports:
- 50001:50001
expose:
- 50001
networks:
bitcoinint:
bitcoin:
tor:
ipv4_address: 10.6.0.11
volumes:
- ./electrs:/root
- ./bitcoin/bitcoin:/root/.bitcoin
- ./electrs/config.toml:/etc/electrs/config.toml
specter:
image: lncm/specter-desktop:v1.7.0
container_name: specter-desktop
depends_on:
- bitcoin
network_mode: host
ports:
- "25441:25441"
expose:
- 25441
restart: on-failure
stop_grace_period: 5m30s
volumes:
- ./bitcoin/bitcoin:/data/.bitcoin
- ./specter/data:/data/.specter"
networks:
bitcoin:
bitcoinint:
tor:
ipv4_address: 10.6.0.77
networks:
tor:
internal: true
ipam:
config:
- subnet: 10.6.0.0/16
torext:
ipam:
config:
- subnet: 10.9.0.0/16
bitcoinint:
ipam:
config:
- subnet: 10.19.0.0/16
internal: true
bitcoin:
external: true