-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (54 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
55 lines (54 loc) · 1.42 KB
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
version: '3'
networks:
app_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.32.0.0/24
services:
elementsd:
container_name: 'elements'
build:
context: ./elements.0.17.0
dockerfile: Dockerfile
networks:
app_net:
ipv4_address: 172.32.0.2
ports:
- "127.0.0.1:18444:18444"
- "127.0.0.1:7040:7040"
command: >
elementsd
-chain=liquidregtest
-debug
-listenonion=0
-server=1
-rpcallowip=172.32.0.3
-rpcallowip=172.32.0.2
-rpcallowip=172.0.0.1
-rpcbind=0.0.0.0
-rpcuser=elements
-rpcpassword=elements
-validatepegin=0
electrs:
container_name: 'electrs'
build:
context: ./electrs
dockerfile: Dockerfile
networks:
app_net:
ipv4_address: 172.32.0.3
ports:
- "127.0.0.1:3002:3002"
tty: true
stdin_open: true
command: >
/opt/electrs/target/release/electrs
-vvvv
--timestamp
--jsonrpc-import
--network liquidregtest
--cookie elements:elements
--daemon-rpc-addr 172.32.0.2:7040
--http-addr 0.0.0.0:3002