Skip to content

Commit 314f3d3

Browse files
committed
feat(raiko): Containerized deployment for sp1
1 parent 590726c commit 314f3d3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docker/docker-compose-zk.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
services:
2+
raiko:
3+
build:
4+
context: ..
5+
dockerfile: Dockerfile
6+
#image: raiko:sp1
7+
container_name: raiko
8+
network_mode: host
9+
runtime: nvidia
10+
privileged: true
11+
volumes:
12+
- /var/run/docker.sock:/var/run/docker.sock
13+
- ./config:/etc/raiko
14+
entrypoint: /opt/raiko/bin/raiko-host
15+
command: >
16+
--chain-spec-path=/etc/raiko/chain_spec_list_devnet.json
17+
--config-path=/etc/raiko/config.json
18+
--image-ids-path=/etc/raiko/image_ids.json
19+
ports:
20+
- "8080:8080"
21+
redis:
22+
image: redis
23+
container_name: redis
24+
ports:
25+
- "6379:6379"

0 commit comments

Comments
 (0)