forked from benthecarman/private-mutinynet-faucet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
124 lines (118 loc) · 3.4 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
115
116
117
118
119
120
121
122
123
124
version: "3.7"
x-logging: &default-logging
driver: "json-file"
options:
max-size: "50m"
max-file: "3"
services:
bitcoind:
container_name: "bitcoind"
image: fedimint/mutinynet-bitcoind:master
environment:
RPCPASSWORD: $RPCPASSWORD
command: --rpcuser=bitcoin --rpcpassword=$RPCPASSWORD -zmqpubrawblock=tcp://[::]:48332 -zmqpubrawtx=tcp://[::]:48333
logging: *default-logging
ports:
- "38332:38332"
- "0.0.0.0:38333:38333"
volumes:
- "bitcoin_datadir:/root/.bitcoin"
restart: always
platform: linux/amd64
lnd:
container_name: "lnd"
image: lightninglabs/lnd:v0.18.3-beta
user: "0:1000"
logging: *default-logging
restart: always
stop_grace_period: 10m
depends_on:
- bitcoind
environment:
RPCPASSWORD: $RPCPASSWORD
command: [
"--bitcoin.active",
"--bitcoin.signet",
"--bitcoin.node=bitcoind",
"--maxpendingchannels=10",
"--rpclisten=0.0.0.0:10009",
"--restlisten=0.0.0.0:8080",
"--bitcoind.rpchost=bitcoind:38332",
"--bitcoind.rpcuser=bitcoin",
"--bitcoind.rpcpass=$RPCPASSWORD",
"--bitcoind.zmqpubrawblock=tcp://bitcoind:48332",
"--bitcoind.zmqpubrawtx=tcp://bitcoind:48333",
"--db.bolt.auto-compact",
"--db.prune-revocation",
"--alias=My Private Faucet",
# "--externalip=mutinynet.com",
# "--externalip=gfg7fwat27mnsmlog7wbgi6a53f2b5rj56bwokcfk45bacnb4z5kt5ad.onion",
# "--tlsextradomain=mutinynet.com",
"--tlsextradomain=lnd",
"--protocol.option-scid-alias",
"--protocol.wumbo-channels",
"--accept-keysend",
"--minchansize=25000",
"--noseedbackup",
"--gc-canceled-invoices-on-startup",
"--coin-selection-strategy=random",
"--protocol.custom-message=513",
"--protocol.custom-nodeann=39",
"--protocol.custom-init=39",
]
platform: linux/amd64
volumes:
- lnd_datadir:/root/.lnd
ports:
- "9735:9735"
- "10009:10009"
- "8080:8080"
faucet:
container_name: "faucet"
image: ghcr.io/mutinywallet/mutinynet-faucet:master
user: "0:1000"
logging: *default-logging
restart: always
stop_grace_period: 1m
volumes:
- faucet_datadir:/root/.faucet
platform: linux/amd64
faucet_backend:
container_name: "faucet_backend"
image: ghcr.io/mutinywallet/mutinynet-faucet-rs:master
depends_on:
- lnd
environment:
RUST_LOG: "info"
BITCOIN_RPC_HOST_AND_PORT: "bitcoind:38332"
BITCOIN_RPC_USER: "bitcoin"
BITCOIN_RPC_PASSWORD: $RPCPASSWORD
NSEC: $NSEC
NETWORK: "signet"
HOST: "https://faucet.mutinynet.com"
GRPC_PORT: "10009"
GRPC_HOST: "lnd"
TLS_CERT_PATH: "/root/.lnd/tls.cert"
ADMIN_MACAROON_PATH: "/root/.lnd/data/chain/bitcoin/signet/admin.macaroon"
user: "0:1000"
logging: *default-logging
restart: always
stop_grace_period: 1m
volumes:
- lnd_datadir:/root/.lnd:ro
platform: linux/amd64
nginx:
image: nginx:1.21-alpine@sha256:686aac2769fd6e7bab67663fd38750c135b72d993d0bb0a942ab02ef647fc9c3
init: true
restart: unless-stopped
ports:
- "3000:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- faucet
- faucet_backend
volumes:
bitcoin_datadir:
lnd_datadir:
faucet_datadir: