-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
46 lines (40 loc) · 1.23 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
version: '3'
services:
cockroach:
image: cockroachdb/cockroach:v19.1.1
container_name: cockroach
command: >-
start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
volumes:
- './testdb/roach1:/cockroach/cockroach-data'
network_mode: host
blocknap-manager-server:
image: blocknap/blocknap-manager-server:0.1.1
container_name: blocknap-manager-server
depends_on:
- cockroach
command: >-
node index.js -f /app/blocknap_config/blocknap_manager_server.json
volumes:
- './config:/app/blocknap_config'
network_mode: host
blocknap-oracle-server:
image: blocknap/blocknap-oracle-server:0.1.1
container_name: blocknap-oracle-server
depends_on:
- cockroach
command: >-
node index.js -f /app/blocknap_config/blocknap_oracle_server.json
volumes:
- './config:/app/blocknap_config'
network_mode: host
blocknap-listener-server:
image: blocknap/blocknap-listener-server:0.1.1
container_name: blocknap-listener-server
depends_on:
- cockroach
network_mode: host
command: >-
node index.js -f /app/blocknap_config/blocknap_listener_server.json
volumes:
- './config:/app/blocknap_config'