-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yaml
98 lines (94 loc) · 2.68 KB
/
docker-compose.yaml
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
version: '3.4'
networks:
chainpoint-gateway:
driver: bridge
services:
chainpoint-gateway:
restart: on-failure
volumes:
- ./ip-blacklist.txt:/home/node/app/ip-blacklist.txt:ro
- ~/.chainpoint/gateway/data/rocksdb:/root/.chainpoint/gateway/data/rocksdb
- ~/.chainpoint/gateway/.lnd:/root/.lnd:ro
build: .
container_name: chainpoint-gateway
ports:
# - '${PORT}:${CHAINPOINT_NODE_PORT}'
- '80:8080'
networks:
- chainpoint-gateway
environment:
HOME: /root
HOT_WALLET_PASS: ${HOT_WALLET_PASS}
HOT_WALLET_ADDRESS: ${HOT_WALLET_ADDRESS}
LND_SOCKET: ${LND_SOCKET}
LND_MACAROON: ${LND_MACAROON}
LND_TLS_CERT: ${LND_TLS_CERT}
CHAINPOINT_CORE_CONNECT_IP_LIST: '${CHAINPOINT_CORE_CONNECT_IP_LIST}'
PORT: '${PORT:-80}'
AGGREGATION_INTERVAL_SECONDS: '${AGGREGATION_INTERVAL_SECONDS}'
PROOF_EXPIRE_MINUTES: '${PROOF_EXPIRE_MINUTES}'
CHAINPOINT_NODE_PORT: '${CHAINPOINT_NODE_PORT:-9090}'
POST_HASHES_MAX: '${POST_HASHES_MAX}'
POST_VERIFY_PROOFS_MAX: '${POST_VERIFY_PROOFS_MAX}'
GET_PROOFS_MAX: '${GET_PROOFS_MAX}'
MAX_SATOSHI_PER_HASH: '${MAX_SATOSHI_PER_HASH}'
NETWORK: ${NETWORK}
NODE_ENV: ${NODE_ENV}
CHANNEL_AMOUNT: ${CHANNEL_AMOUNT}
FUND_AMOUNT: ${FUND_AMOUNT}
NO_LSAT_CORE_WHITELIST: ${NO_LSAT_CORE_WHITELIST}
GOOGLE_UA_ID: ''
PUBLIC_IP: ${LND_PUBLIC_IP}
tty: true
# Lightning node
lnd:
image: tierion/lnd:${NETWORK:-testnet}-0.9.2
user: ${USERID}:${GROUPID}
entrypoint: './start-lnd.sh'
container_name: lnd-node
ports:
- target: 8080
published: 8080
protocol: tcp
mode: host
- target: 9735
published: 9735
protocol: tcp
mode: host
- target: 10009
published: 10009
protocol: tcp
mode: host
restart: always
environment:
- PUBLICIP=${LND_PUBLIC_IP}
- RPCUSER
- RPCPASS
- NETWORK=${NETWORK:-testnet}
- CHAIN
- DEBUG=info
- BACKEND=neutrino
- NEUTRINO=faucet.lightning.community:18333
- LND_REST_PORT
- LND_RPC_PORT
- TLSPATH
- TLSEXTRADOMAIN=lnd
volumes:
- ~/.chainpoint/gateway/.lnd:/root/.lnd:z
networks:
- chainpoint-gateway
# ln-accounting
# Returns accounting reports in harmony format for lnd node
ln-accounting:
image: tierion/ln-accounting
ports:
- '9000'
environment:
NETWORK: ${NETWORK}
LND_DIR: /root/.lnd
LND_SOCKET: ${LND_SOCKET}
ACCOUNTING_PORT: ${ACCOUNTING_PORT:-9000}
volumes:
- ~/.chainpoint/gateway/.lnd:/root/.lnd:ro
networks:
- chainpoint-gateway