forked from iotexproject/w3bstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
81 lines (74 loc) · 2.28 KB
/
docker-compose.yaml
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
version: "3.6"
services:
enode:
image: ghcr.io/machinefi/enode:latest
depends_on:
- "postgres"
container_name: w3bstream-enode
platform: linux/x86_64
restart: always
ports:
- "9000:9000"
environment:
BOOTNODE_MULTIADDR: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o"
IOTEX_CHAINID: 2
HTTP_SERVICE_ENDPOINT: ":9000"
DATABASE_DSN: postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable
znode:
image: ghcr.io/machinefi/znode:latest
depends_on:
- "risc0"
- "halo2"
- "zkwasm"
- "postgres"
container_name: w3bstream-znode
platform: linux/x86_64
restart: always
environment:
RISC0_SERVER_ENDPOINT: "risc0:4001"
HALO2_SERVER_ENDPOINT: "halo2:4001"
ZKWASM_SERVER_ENDPOINT: "zkwasm:4001"
PROJECT_FILE_DIRECTORY: "/data/test/project"
CHAIN_ENDPOINT: "https://babel-api.testnet.iotex.io"
PROJECT_CONTRACT_ADDRESS: "0x4F7e678B0203e0444E17512108dba4B08B39512e"
OPERATOR_PRIVATE_KEY: ${PRIVATE_KEY:-}
DATABASE_DSN: postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable
BOOTNODE_MULTIADDR: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o"
IOTEX_CHAINID: 2
volumes:
- .:/data
halo2:
image: iotexdev/halo2-server:0.0.5
container_name: halo2-service
platform: linux/x86_64
restart: always
zkwasm:
image: iotexdev/zkwasmserver:v0.0.2
container_name: zkwasm-service
platform: linux/x86_64
restart: always
risc0:
image: iotexdev/risc0server:v0.8.1.rc4
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_KEY: "${BONSAI_KEY:-}"
postgres:
image: postgres:14
container_name: w3bstream-node-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