forked from ActorForth/bch-devsuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
150 lines (140 loc) · 4.12 KB
/
docker-compose.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
version: "3"
services:
bitcoind-regtest:
image: zquestz/bitcoin-unlimited
container_name: bitcoind-regtest
ports:
- "18443:18443"
- "28332:28332"
- "50001:50001"
volumes:
- ./data/bitcoind:/data
- ./configs/bitcoin-unlimited.conf:/data/bitcoin.conf
- ./configs/bitcoin-unlimited.conf:/root/.bitcoin/bitcoin.conf
#entrypoint: "/entrypoint.sh"
command: bitcoind
networks:
- bitcoin-bridging
# bitcoind-regtest:
# image: zquestz/bitcoin-cash-node
# container_name: bitcoind-regtest
# ports:
# - "18443:18443"
# - "28332:28332"
# volumes:
# - ./data/bitcoind:/data
# - ./configs/bitcoin.conf:/data/bitcoin.conf
# - ./configs/bitcoin.conf:/root/.bitcoin/bitcoin.conf
# entrypoint: "/entrypoint.sh"
# command: bitcoind
# networks:
# - bitcoin-bridging
# fulcrum:
# image: cculianu/fulcrum
# container_name: fulcrum
# depends_on:
# - bitcoind-regtest
# ports:
# - "50001:50001"
# volumes:
# - ./data/fulcrum:/data
# - ./configs/fulcrum-config.conf:/config.conf
# command: ["Fulcrum", "/config.conf"]
# networks:
# - bitcoin-bridging
nginx-regtest:
image: nginx:latest
container_name: nginx-regtest
ports:
- "50002:50002"
volumes:
- ./configs/nginx.conf:/etc/nginx/nginx.conf
- ./configs/cert/cert.key:/etc/nginx/cert.key
- ./configs/cert/cert.crt:/etc/nginx/cert.crt
networks:
- bitcoin-bridging
opensight:
image: actorforth/opensight:latest
container_name: opensight
ports:
- "3001:3001"
environment:
- ELECTRUM_HOST=bitcoind-regtest
- ELECTRUM_PORT=50001
- NODE_RPC_PORT=18443
networks:
- bitcoin-bridging
bitcoin-restapi:
image: actorforth/rest.bitcoin.com:latest
container_name: bitcoin-restapi
ports:
- "12500:3000"
volumes:
- ./configs/restapi-config.sh:/home/safeuser/rest.bitcoin.com/start.sh
networks:
- bitcoin-bridging
bch-api-regtest:
image: actorforth/bch-api
container_name: bch-api-regtest
command: "node ./src/app.js"
ports:
- "3000:3000"
# volumes:
# - ./:/home/safeuser/bch-api/
restart: always
environment:
- RPC_BASEURL=http://bitcoind-regtest:18443/
- RPC_USERNAME=regtest
- RPC_PASSWORD=regtest
- NETWORK=regtest
- SLPDB_URL=http://slpserve:4000/
# - BLOCKBOOK_URL=https://<Blockbook IP>:9131/
- NODE_TLS_REJECT_UNAUTHORIZED=0
- FULCRUM_URL=nginx-regtest
- FULCRUM_PORT=50002
- SECURITY=false
- TOKENSECRET=somelongpassword
# - REDIS_HOST=6379
# - REDIS_PORT=127.0.0.1
networks:
- bitcoin-bridging
mongodb:
image: mongo:4.2-bionic
container_name: mongo-slpdb
ports:
- "27017:27017"
volumes:
- ./data/mongodb:/data/db
command: mongod
networks:
- bitcoin-bridging
slpdb:
image: actorforth/slpdb:latest
container_name: slpdb
links:
- mongodb
volumes:
- ./configs/slpdb-config.sh:/home/safeuser/SLPDB-src/start.sh
restart: always
depends_on:
- mongodb
networks:
- bitcoin-bridging
slpserve:
image: actorforth/slpserve:latest
container_name: slpserve
volumes:
# - ./configs/slpserve:/home/safeuser/config
- ./configs/slpserve-config.sh:/home/safeuser/slpserve/start.sh
links:
- mongodb
ports:
- "12300:4000"
restart: always
depends_on:
- mongodb
networks:
- bitcoin-bridging
networks:
bitcoin-bridging:
external: true