-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.apps.yml
64 lines (61 loc) · 1.53 KB
/
docker-compose.apps.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
version: "2.4"
services:
demo:
container_name: ${COMPOSE_PROJECT_NAME}_demo
image: bitcoinstack/relay:${RELAY_VERSION}
restart: unless-stopped
command: ['node', 'subscriber.js']
depends_on:
- bitcoin
- alice
environment:
- BITCOIN_HOST
- BITCOIN_RPC_PORT
- BITCOIN_RPC_USER
- BITCOIN_RPC_PASSWORD
- ALICE_HOST
- ALICE_RPC_PORT
volumes:
- ./relay/app:/usr/src/app
- alice_data:/lnd:ro
networks:
- bitcoinstacknet
electrs:
container_name: ${COMPOSE_PROJECT_NAME}_electrs
image: bitcoinstack/electrs:${ELECTRS_VERSION}-alpine
restart: unless-stopped
command: [
'electrs',
'--timestamp',
'--network=regtest',
'--daemon-p2p-addr=bitcoin:${BITCOIN_PORT}',
'--daemon-rpc-addr=bitcoin:${BITCOIN_RPC_PORT}',
'--electrum-rpc-addr=0.0.0.0:${ELECTRS_PORT}',
'--db-dir=/home/electrs/db',
'--log-filters=INFO'
]
ports:
- "127.0.0.1:${ELECTRS_PORT}:${ELECTRS_PORT}"
depends_on:
- bitcoin
networks:
- bitcoinstacknet
rtl:
container_name: ${COMPOSE_PROJECT_NAME}_rtl
image: shahanafarooqui/rtl:${RTL_VERSION}
restart: unless-stopped
ports:
- "127.0.0.1:${RTL_PORT}:${RTL_PORT}"
depends_on:
- alice
- bob
environment:
- PORT=${RTL_PORT}
- HOST=${RTL_HOST}
- RTL_CONFIG_PATH=/RTL/config
volumes:
- ./rtl:/RTL/config
- alice_data:/alice:ro
- bob_data:/bob:ro
networks:
- bitcoinstacknet