Skip to content

Commit

Permalink
minor adj
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Aug 4, 2024
1 parent 209045d commit e6f3648
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
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

0 comments on commit e6f3648

Please sign in to comment.