-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (76 loc) · 1.97 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (76 loc) · 1.97 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
services:
ethrex-zisk:
image: ghcr.io/eth-act/ere/ere-server-zisk:0.9.1-cuda
command:
- "--port"
- "3000"
- "--elf-url"
- "https://github.com/eth-act/ere-guests/releases/download/v0.10.0/stateless-validator-ethrex-zisk.elf"
- "gpu"
shm_size: 32G
ulimits:
memlock:
soft: -1
hard: -1
networks:
- zkboost
environment:
- RUST_LOG=info,asm_runner=warn,executor=warn,mem_planner_cpp=warn,proofman=warn,rom_setup=warn,sm_rom=warn,zisk=warn
- ERE_ZISK_SETUP_ON_INIT=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
start_period: 300s
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0', '1', '2', '3']
capabilities: [gpu]
reth-zisk:
extends: ethrex-zisk
command:
- "--port"
- "3000"
- "--elf-url"
- "https://github.com/eth-act/ere-guests/releases/download/v0.10.0/stateless-validator-reth-zisk.elf"
- "gpu"
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['4', '5', '6', '7']
capabilities: [gpu]
zkboost:
image: zkboost:local
build:
context: ../../..
dockerfile: ./docker/Dockerfile
command: ["--config", "/app/config.toml"]
ports:
- "3000:3000"
depends_on:
ethrex-zisk:
condition: service_healthy
reth-zisk:
condition: service_healthy
volumes:
- ./zkboost/config.toml:/app/config.toml:ro
networks:
- zkboost
- kurtosis
environment:
- RUST_LOG=info,zkboost=debug
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
start_period: 1s
start_interval: 1s
networks:
zkboost:
name: zkboost-local-testnet
kurtosis:
external: true
name: kt-local-testnet