-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
123 lines (123 loc) · 3.43 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
version: '3.7'
volumes:
ganache_data:
driver: local
flextesa_data:
driver: local
services:
postgres-str:
container_name: postgres-str
image: 'postgres:11'
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=oracle
ports:
- '5434:5432'
volumes:
- './charts/forge-platform/init-data/defaults/default-str-postgres-init.sql:/docker-entrypoint-initdb.d/init.sql'
fro:
container_name: fro
image: 'node:16.9.1-alpine3.14'
working_dir: /home/node/packages/cast/oracles
command: npm run start
env_file:
- ./packages/cast/oracles/env/dc.fro.env
environment:
- TZ_BLOCKCHAIN_PROVIDE_LOCATION=http://flextesa:20000
- ETH_BLOCKCHAIN_PROVIDE_LOCATION=ws://ganache:8545
ports:
- '6661:6660'
volumes:
- './networks:/networks'
- './packages:/home/node/packages/'
- './node_modules:/home/node/node_modules'
fio1:
container_name: fio1
image: 'node:16.9.1-alpine3.14'
working_dir: /home/node/packages/cast/oracles
command: npm run start
env_file:
- ./packages/cast/oracles/env/dc.fio.env
environment:
- TZ_BLOCKCHAIN_PROVIDE_LOCATION=http://flextesa:20000
- ETH_BLOCKCHAIN_PROVIDE_LOCATION=ws://ganache:8545
ports:
- '6664:6660'
volumes:
- './networks:/networks'
- './packages:/home/node/packages/'
- './node_modules:/home/node/node_modules'
fso:
container_name: fso
image: 'node:16.9.1-alpine3.14'
working_dir: /home/node/packages/cast/oracles
command: npm run start
env_file:
- ./packages/cast/oracles/env/dc.fso.env
environment:
- TZ_BLOCKCHAIN_PROVIDE_LOCATION=http://flextesa:20000
- ETH_BLOCKCHAIN_PROVIDE_LOCATION=ws://ganache:8545
ports:
- '6663:6660'
volumes:
- './networks:/networks'
- './packages:/home/node/packages/'
- './node_modules:/home/node/node_modules'
str:
container_name: str
image: 'node:16.9.1-alpine3.14'
working_dir: /home/node/packages/cast/oracles
command: npm run start
env_file:
- ./packages/cast/oracles/env/dc.str.env
environment:
- TZ_BLOCKCHAIN_PROVIDE_LOCATION=http://flextesa:20000
- ETH_BLOCKCHAIN_PROVIDE_LOCATION=ws://ganache:8545
ports:
- '6662:6660'
volumes:
- './networks:/networks'
- './packages:/home/node/packages/'
- './node_modules:/home/node/node_modules'
ganache:
container_name: ganache
image: trufflesuite/ganache-cli:latest
ports:
- "8545:8545"
volumes:
- 'ganache_data:/ganache_data'
entrypoint:
- node
- /app/ganache-core.docker.cli.js
- --deterministic
- --db=/ganache_data
- --account="${GANACHE_PRIV},10000000000000000000000000"
- --networkId
- '5777'
- --hostname
- '0.0.0.0'
- --debug
flextesa:
container_name: flextesa
image: oxheadalpha/flextesa:20220321
ports:
- "20000:20000"
volumes:
- 'flextesa_data:/tmp'
command: hangzbox start --keep-root --add-bootstrap-account "${TZ_KEY}@2_000_000_000_000" --no-daemons-for=forge
environment:
- block_time=3
mkdocs:
container_name: mkdocs
image: polinux/mkdocs:1.1.2
restart: always
ports:
- "8000:8000"
environment:
LIVE_RELOAD_SUPPORT: 'true'
UPDATE_INTERVAL: 15
AUTO_UPDATE: 'true'
volumes:
- ./mkdocs:/mkdocs/