diff --git a/.gitignore b/.gitignore index ea0e9bf..216a24a 100644 --- a/.gitignore +++ b/.gitignore @@ -24,8 +24,6 @@ Cargo.lock Scarb.lock .snfoundry_cache/ -stone-prover - bootloader*.json # Python diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..50ab903 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "stone-prover"] + path = stone-prover + url = https://github.com/iosis-tech/stone-prover.git diff --git a/delegator.dockerfile b/delegator.dockerfile index cff9a4d..de39459 100644 --- a/delegator.dockerfile +++ b/delegator.dockerfile @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index acb7dd1..f031a70 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: diff --git a/executor.dockerfile b/executor.dockerfile index d74802c..584d67d 100644 --- a/executor.dockerfile +++ b/executor.dockerfile @@ -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 \ No newline at end of file diff --git a/stone-prover b/stone-prover new file mode 160000 index 0000000..23845de --- /dev/null +++ b/stone-prover @@ -0,0 +1 @@ +Subproject commit 23845de5d87181a499110bc645dcd409b73e10e5