Skip to content

Commit

Permalink
more compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Aug 10, 2024
1 parent 142a840 commit 2998a19
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ bootloader*.json

# Docker
*.dockerfile
*docker-compose*.yaml

# Miscellaneous
*.log
Expand Down
20 changes: 20 additions & 0 deletions docker-compose.delegator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
services:
zetina-delegator-1:
build:
dockerfile: delegator.dockerfile
deploy:
resources:
limits:
cpus: '1'
memory: '1G'
environment:
- RUST_LOG=info
image: registry.internal.iosis.tech/zetina-delegator
hostname: zetina-delegator-1
ports:
- "3000:3000"
- "5679:5679"
command:
- "bash"
- "-ci"
- "cargo run --release --bin zetina-delegator -- -l /ip4/0.0.0.0/tcp/5679 -p 01051702270300e09b88e43a64e5145d3de01241d5d271e99144192fe326de7b -a /ip4/10.5.5.10/tcp/5679/p2p/QmW9NwzLo9JiECyQs4FjVHt9q6hZeqNoRhDgw8B6v95dMb -d /ip4/10.4.4.154/tcp/5683/p2p/QmXu6d3vcTfCHsyfwqSzfo4n11NK5cMS9FX35GafDJx3z7"
15 changes: 15 additions & 0 deletions docker-compose.registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
zetina-stone-prover:
image: registry.internal.iosis.tech/zetina-stone-prover

zetina-runtime:
image: registry.internal.iosis.tech/zetina-runtime

zetina-delegator-1:
image: registry.internal.iosis.tech/zetina-delegator

zetina-executor-1:
image: registry.internal.iosis.tech/zetina-executor

zetina-executor-2:
image: registry.internal.iosis.tech/zetina-executor
10 changes: 5 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ services:
build:
context: stone-prover
dockerfile: Dockerfile
image: registry.internal.iosis.tech/zetina-stone-prover
image: zetina-stone-prover

zetina-runtime:
build:
dockerfile: runtime.dockerfile
image: registry.internal.iosis.tech/zetina-runtime
image: zetina-runtime
depends_on:
- zetina-stone-prover

Expand All @@ -22,7 +22,7 @@ services:
memory: '1G'
environment:
- RUST_LOG=info
image: registry.internal.iosis.tech/zetina-delegator
image: zetina-delegator
hostname: zetina-delegator-1
networks:
zetina-network:
Expand All @@ -47,7 +47,7 @@ services:
memory: '15G'
environment:
- RUST_LOG=info
image: registry.internal.iosis.tech/zetina-executor
image: zetina-executor
hostname: zetina-executor-1
networks:
zetina-network:
Expand All @@ -70,7 +70,7 @@ services:
memory: '15G'
environment:
- RUST_LOG=info
image: registry.internal.iosis.tech/zetina-executor
image: zetina-executor
hostname: zetina-executor-2
networks:
zetina-network:
Expand Down

0 comments on commit 2998a19

Please sign in to comment.