forked from iotexproject/w3bstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yaml
50 lines (45 loc) · 1.06 KB
/
docker-compose-dev.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
version: "3.6"
services:
halo2:
image: iotexdev/halo2-server:0.0.5
container_name: halo2-service
platform: linux/x86_64
restart: always
ports:
- 4002:4001
zkwasm:
image: iotexdev/zkwasmserver:v0.0.2
container_name: zkwasm-service
platform: linux/x86_64
restart: always
ports:
- 4003:4001
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:-}"
ports:
- "4001:4001"
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
ports:
- "5432:5432"