forked from bottlepay/lightning-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-eclair-postgres.yml
51 lines (46 loc) · 1.33 KB
/
docker-compose-eclair-postgres.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
version: '3.4'
services:
bitcoind:
image: kylemanna/bitcoind
volumes:
- ./bitcoin.conf:/bitcoin/.bitcoin/bitcoin.conf
postgres-alice:
restart: unless-stopped
image: postgres:13
environment:
POSTGRES_DB: eclair
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpassword
postgres-bob:
restart: unless-stopped
image: postgres:13
environment:
POSTGRES_DB: eclair
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpassword
eclair-alice:
restart: unless-stopped
image: acinq/eclair:release-0.6.1
depends_on:
- bitcoind
- postgres-alice
volumes:
- ./eclair/eclair.conf:/data/eclair.conf
- ./eclair/logback.xml:/data/logback.xml
environment:
JAVA_OPTS: -Dlogback.configurationFile=/data/logback.xml -Declair.db.driver=postgres -Declair.db.postgres.host=postgres-alice
eclair-bob:
restart: unless-stopped
image: acinq/eclair:release-0.6.1
depends_on:
- bitcoind
- postgres-bob
volumes:
- ./eclair/eclair.conf:/data/eclair.conf
- ./eclair/logback.xml:/data/logback.xml
environment:
JAVA_OPTS: -Dlogback.configurationFile=/data/logback.xml -Declair.db.driver=postgres -Declair.db.postgres.host=postgres-bob
loadtest:
build: loadtest
volumes:
- ./${LOADTEST_CONFIG_FILE}:/loadtest.yml