-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-test.yml
50 lines (47 loc) · 1.15 KB
/
docker-compose-test.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
services:
regtest:
image: "doichain/core:dc0.20.1.15"
container_name: regtest
ports:
- "18332:18332"
- "18443:18443"
- "18445:18445"
# command: ["/usr/local/bin/doichaind"]
volumes:
- ./docker/doichain-regtest.conf:/home/doichain/.doichain/doichain.conf
electrumx:
container_name: electrumx
hostname: electrumx
image: "doichain/electrumx:dc1.2.1"
depends_on:
- regtest
volumes:
# - ./db:/var/lib/electrumx
- ./docker/startElectrumDOIRegTest.sh:/startElectrumDOIRegTest.sh
entrypoint: ["/startElectrumDOIRegTest.sh"]
ports:
- "50001:50001"
- "50002:50002"
- "8443:8443"
stdin_open: true
tty: true
privileged: true
relay-service:
build:
context: .
dockerfile: docker/Dockerfile
volumes:
- ./docker/entrypoint.sh:/usr/src/app/entrypoint.sh
- ./relay/src:/usr/src/app/src
entrypoint: ["/usr/src/app/entrypoint.sh", "generate-key"]
ports:
- "1235:1235"
- "9091:9091"
- "9090:9090"
- "12345:12345"
- "3000:3000"
depends_on:
- regtest
- electrumx
volumes:
doichain-data: