Skip to content

Commit

Permalink
Merge pull request #25 from iosis-tech/community_improvements
Browse files Browse the repository at this point in the history
stone-prover submodule
  • Loading branch information
Okm165 authored Aug 12, 2024
2 parents d6d798f + e6f3648 commit 6309072
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ Cargo.lock
Scarb.lock
.snfoundry_cache/

stone-prover

bootloader*.json

# Python
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "stone-prover"]
path = stone-prover
url = https://github.com/iosis-tech/stone-prover.git
2 changes: 1 addition & 1 deletion delegator.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Use the official Rust image from the Docker Hub
# Stage 1: Use the official Rust image from the Docker Hub
FROM rust:latest

# Set the working directory inside the container
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ services:
dockerfile: delegator.dockerfile
image: zetina-delegator
hostname: zetina-delegator
depends_on:
- zetina-runtime
- zetina-executor
deploy:
resources:
limits:
cpus: '10'
memory: '10G'
cpus: '1'
memory: '1G'
environment:
- RUST_LOG=info
networks:
Expand Down
6 changes: 3 additions & 3 deletions executor.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Use the base runtime image
FROM zetina-runtime:latest

# Expose necessary ports
EXPOSE 5678/udp 5679/tcp

# Build
RUN cargo build --release --bin zetina-executor

# Expose necessary ports
EXPOSE 5678/udp 5679/tcp
1 change: 1 addition & 0 deletions stone-prover
Submodule stone-prover added at 23845d

0 comments on commit 6309072

Please sign in to comment.