forked from iotexproject/w3bstream
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
106 lines (97 loc) · 2.72 KB
/
docker-compose.yaml
File metadata and controls
106 lines (97 loc) · 2.72 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
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
version: "3.6"
services:
bootnode:
image: huangzhiran/bootnode:v1.0.0
container_name: w3bstream-bootnode
platform: linux/x86_64
restart: always
ports:
- "8000:8000"
sequencer:
image: ghcr.io/machinefi/sequencer:v0.12.1
depends_on:
- "postgres"
- "coordinator"
container_name: w3bstream-sequencer
platform: linux/amd64
restart: always
ports:
- "9000:9000"
command: [ "-coordinatorAddress", "coordinator:9001", "-databaseDSN", "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ]
coordinator:
image: ghcr.io/machinefi/coordinator:v0.12.1
depends_on:
- "postgres"
- "bootnode"
container_name: w3bstream-coordinator
platform: linux/x86_64
restart: always
ports:
- "9001:9001"
environment:
COORDINATOR_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
BOOTNODE_MULTIADDR: "/dns4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
OPERATOR_PRIVATE_KEY: ${PRIVATE_KEY:-}
OPERATOR_PRIVATE_KEY_ED25519: ${PRIVATE_KEY_ED25519:-}
volumes:
- ./test/project:/data
prover:
image: ghcr.io/machinefi/prover:v0.12.1
depends_on:
- "risc0"
- "halo2"
- "zkwasm"
- "wasm"
- "postgres"
- "bootnode"
container_name: w3bstream-prover
platform: linux/x86_64
restart: always
environment:
PROVER_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
BOOTNODE_MULTIADDR: "/dns4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
volumes:
- ./test/project:/data
halo2:
image: wangweixiaohao2944/halo2server:v0.0.8
container_name: halo2-service
platform: linux/x86_64
restart: always
zkwasm:
image: wangweixiaohao2944/zkwasmserver:v0.0.6
container_name: zkwasm-service
platform: linux/x86_64
restart: always
risc0:
image: wangweixiaohao2944/risc0server:v1.0.0
depends_on:
- "postgres"
container_name: risc0-service
platform: linux/x86_64
restart: always
environment:
DATABASE_URL: postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable
BONSAI_URL: https://api.bonsai.xyz
BONSAI_KEY: "${BONSAI_KEY:-}"
wasm:
image: wangweixiaohao2944/wasmserver:v0.1.0
container_name: wasm-service
platform: linux/x86_64
restart: always
postgres:
image: postgres:14
container_name: w3bstream-sprout-postgres
restart: always
command:
[
"postgres",
"-cshared_preload_libraries=pg_stat_statements"
]
environment:
POSTGRES_USER: test_user
POSTGRES_PASSWORD: test_passwd
POSTGRES_DB: test
volumes:
- ./postgres:/var/lib/postgresql/data