-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
73 lines (68 loc) · 2.92 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
version: "3.7"
services:
app:
build:
dockerfile: ./Dockerfile
context: ./
command: npm run dev:backend
restart: on-failure
volumes:
- ${PWD}/data/lnd:/lnd/.lnd
- ${PWD}/data/app:/data
environment:
PORT: "3006"
BITCOIN_HOST: "bitcoind"
RPC_PORT: "18443"
RPC_USER: "umbrel"
RPC_PASSWORD: "moneyprintergobrrr"
LND_NETWORK: "regtest"
LND_HOST: "lnd"
TLS_FILE: "/lnd/.lnd/tls.cert"
MACAROON_DIR: /lnd/.lnd/data/chain/bitcoin/regtest/
CHANNEL_BACKUP_FILE: /lnd/.lnd/data/chain/bitcoin/regtest/channel.backup
BACKUP_STATUS_FILE: /data/backup-status.json
LND_REST_HIDDEN_SERVICE: rest.onion
LND_GRPC_HIDDEN_SERVICE: grpc.onion
JSON_STORE_FILE: /data/state.json
JSON_SETTINGS_FILE: /data/settings.json
UMBREL_LND_CONF_FILEPATH: /lnd/.lnd/umbrel-lnd.conf
LND_CONF_FILEPATH: /lnd/.lnd/lnd.conf
EXPLORER_PORT: 1234
EXPLORER_HIDDEN_SERVICE: 'mempool.onion'
DEVICE_HOSTNAME: test.local
ports:
- "3006:3006"
lnd:
image: lightninglabs/lnd:v0.16.2-beta@sha256:795d29d94f845bd070832b097ff75cf0f46cf6daf5e55bf62dc1e4e406e0027d
user: 1000:1000
hostname: lnd
command: --listen=0.0.0.0:9735 --rpclisten=0.0.0.0:10009 --restlisten=0.0.0.0:8080 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.rpcuser=umbrel --bitcoind.rpcpass=moneyprintergobrrr --bitcoind.zmqpubrawblock=tcp://bitcoind:28332 --bitcoind.zmqpubrawtx=tcp://bitcoind:28333 --configfile=/data/.lnd/umbrel-lnd.conf
# entrypoint:
# - sh
# - -c
# - |
# if [ ! -f "/data/.lnd/umbrel-lnd.conf" ]; then
# touch "/data/.lnd/umbrel-lnd.conf"
# fi
# lnd --listen=0.0.0.0:9735 --rpclisten=0.0.0.0:10009 --restlisten=0.0.0.0:8080 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.rpcuser=umbrel --bitcoind.rpcpass=moneyprintergobrrr --bitcoind.zmqpubrawblock=tcp://bitcoind:28332 --bitcoind.zmqpubrawtx=tcp://bitcoind:28333 --configfile=/data/.lnd/umbrel-lnd.conf
ports:
- "9735:9735"
volumes:
- ${PWD}/data/lnd:/data/.lnd
restart: unless-stopped
environment:
HOME: /data
bitcoind:
image: lncm/bitcoind:v22.0@sha256:37a1adb29b3abc9f972f0d981f45e41e5fca2e22816a023faa9fdc0084aa4507
command: -regtest -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -rpcauth=umbrel:5071d8b3ba93e53e414446ff9f1b7d7b$$375e9731abd2cd2c2c44d2327ec19f4f2644256fdeaf4fc5229bf98b778aafec -zmqpubrawblock=tcp://0.0.0.0:28332 -zmqpubrawtx=tcp://0.0.0.0:28333
volumes:
- ${PWD}/data/bitcoin:/data/.bitcoin
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${PWD}/data/tor/torrc:/etc/tor/torrc:ro
- ${PWD}/data/tor:/data
environment:
HOME: "/tmp"