-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
105 lines (98 loc) · 2.6 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
version: '3'
services:
fedimintd_1:
image: fedimint/fedimintd:master
environment:
- FM_DATA_DIR=/data
- FM_BIND_P2P=0.0.0.0:18173
- FM_P2P_URL=fedimint://10.5.0.5:18173
- FM_BIND_API=0.0.0.0:18174
- FM_API_URL=ws://10.5.0.5:18174
- FM_BITCOIN_RPC_URL=http://bitcoin:bitcoin@10.5.0.9:43782
- FM_BITCOIN_RPC_KIND=bitcoind
ports:
- "18174:18174"
volumes:
- ./fm_1/data:/data
networks:
app_network:
ipv4_address: 10.5.0.5
gatewayd_1:
image: fedimint/gatewayd:master
environment:
# Path to folder containing gateway config and data files
- FM_GATEWAY_DATA_DIR=/gateway_data
# Gateway webserver listen address
- FM_GATEWAY_LISTEN_ADDR=0.0.0.0:8175
# Public URL from which the webserver API is reachable
- FM_GATEWAY_API_ADDR=ws://10.5.0.6:8175
# Gateway webserver authentication password
- FM_GATEWAY_PASSWORD=thereisnosecondbest
# Configured gateway routing fees Format: <base_msat>,<proportional_millionths>
- FM_GATEWAY_FEES=0,1000
# LND RPC address
- FM_LND_RPC_ADDR
# LND TLS cert file path
- FM_LND_TLS_CERT
# LND macaroon file path
- FM_LND_MACAROON
volumes:
- ./fm_1/gateway_data:/gateway_data
ports:
- "8175:8175"
networks:
app_network:
ipv4_address: 10.5.0.6
fedimintd_2:
image: fedimint/fedimintd:master
environment:
- FM_DATA_DIR=/data
- FM_BIND_P2P=0.0.0.0:18173
- FM_P2P_URL=fedimint://10.5.0.7:18173
- FM_BIND_API=0.0.0.0:18184
- FM_API_URL=ws://10.5.0.7:18184
- FM_BITCOIN_RPC_URL=http://bitcoin:bitcoin@10.5.0.9:43782
- FM_BITCOIN_RPC_KIND=bitcoind
ports:
- "18184:18184"
networks:
app_network:
ipv4_address: 10.5.0.7
volumes:
- ./fm_2/data:/data
# gatewayd_2:
# image: fedimint/gatewayd:master
# networks:
# app_network:
# ipv4_address: 10.5.0.8
bitcoind:
container_name: btcpayserver_bitcoind
image: btcpayserver/bitcoin:24.1
environment:
BITCOIN_NETWORK: regtest
BITCOIN_EXTRA_ARGS: |
rpcport=43782
rpcbind=0.0.0.0:43782
port=39388
whitelist=0.0.0.0/0
rpcauth=bitcoin:bitcoin
expose:
- "43782"
- "39388"
ports:
- "43782:43782"
- "39388:39388"
volumes:
- "bitcoin_datadir:/data"
networks:
app_network:
ipv4_address: 10.5.0.9
networks:
app_network:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1
volumes:
bitcoin_datadir: