-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose-etcd.yml
77 lines (70 loc) · 1.93 KB
/
docker-compose-etcd.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
version: '3.4'
services:
bitcoind:
image: kylemanna/bitcoind
volumes:
- ./bitcoin.conf:/bitcoin/.bitcoin/bitcoin.conf
etcd-alice:
restart: unless-stopped
image: 'bitnami/etcd:3.3.10'
environment:
- ALLOW_NONE_AUTHENTICATION=yes
- ETCD_LISTEN_CLIENT_URLS=https://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=https://0.0.0.0:2379
- ETCD_MAX_TXN_OPS=16384
- ETCD_MAX_REQUEST_BYTES=104857600
- ETCD_AUTO_TLS=true
etcd-bob:
restart: unless-stopped
image: 'bitnami/etcd:3.3.10'
environment:
- ALLOW_NONE_AUTHENTICATION=yes
- ETCD_LISTEN_CLIENT_URLS=https://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=https://0.0.0.0:2379
- ETCD_MAX_TXN_OPS=16384
- ETCD_MAX_REQUEST_BYTES=104857600
- ETCD_AUTO_TLS=true
lnd-alice:
restart: unless-stopped
build:
context: lnd
args:
checkout: v0.12.1-beta
tags: signrpc walletrpc chainrpc invoicesrpc monitoring kvdb_etcd
depends_on:
- bitcoind
- etcd-alice
volumes:
- ./lnd.conf:/root/.lnd/lnd.conf
- lnd-alice:/cfg
ports:
- 5000:5000
command: --tlsextradomain=lnd-alice --db.backend=etcd --db.etcd.host=etcd-alice:2379 --db.etcd.insecure_skip_verify
lnd-bob:
restart: unless-stopped
build:
context: lnd
args:
checkout: v0.12.1-beta
tags: signrpc walletrpc chainrpc invoicesrpc monitoring kvdb_etcd
depends_on:
- bitcoind
- etcd-bob
volumes:
- ./lnd.conf:/root/.lnd/lnd.conf
- lnd-bob:/cfg
ports:
- 5001:5000
command: --tlsextradomain=lnd-bob --db.backend=etcd --db.etcd.host=etcd-bob:2379 --db.etcd.insecure_skip_verify
loadtest:
build: loadtest
depends_on:
- lnd-alice
- lnd-bob
volumes:
- lnd-alice:/lnd-alice
- lnd-bob:/lnd-bob
- ./${LOADTEST_CONFIG_FILE}:/loadtest.yml
volumes:
lnd-alice:
lnd-bob: