Skip to content

Commit

Permalink
Fix compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 11, 2024
1 parent 9ac3032 commit 680d9b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 25 deletions.
38 changes: 14 additions & 24 deletions .deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
cn1:
image: ghcr.io/gnosisguild/ciphernode:latest
image: ghcr.io/gnosisguild/ciphernode:${TAG}
volumes:
- ./.deploy/cn1.yaml:/home/ciphernode/.config/enclave/config.yaml:ro
- cn1-data:/home/ciphernode/.local/share/enclave
Expand All @@ -11,11 +11,8 @@ services:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9091
published: 9091
protocol: udp
mode: host
deploy:
- 9091:9091
deploy:
replicas: 1
update_config:
parallelism: 1
Expand All @@ -28,7 +25,7 @@ services:


cn2:
image: ghcr.io/gnosisguild/ciphernode:latest
image: ghcr.io/gnosisguild/ciphernode:${TAG}
depends_on:
- cn1
volumes:
Expand All @@ -41,11 +38,9 @@ services:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9092
published: 9092
protocol: udp
mode: host
deploy:
- 9092:9092

deploy:
replicas: 1
update_config:
parallelism: 1
Expand All @@ -57,7 +52,7 @@ services:
- global-network

cn3:
image: ghcr.io/gnosisguild/ciphernode:latest
image: ghcr.io/gnosisguild/ciphernode:${TAG}
depends_on:
- cn1
volumes:
Expand All @@ -70,11 +65,8 @@ services:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9093
published: 9093
protocol: udp
mode: host
deploy:
- 9093:9093
deploy:
replicas: 1
update_config:
parallelism: 1
Expand All @@ -87,7 +79,7 @@ services:


aggregator:
image: ghcr.io/gnosisguild/ciphernode:latest
image: ghcr.io/gnosisguild/ciphernode:${TAG}
depends_on:
- cn1
volumes:
Expand All @@ -100,11 +92,9 @@ services:
RUST_LOG: "info"
AGGREGATOR: "true"
ports:
- target: 9094
published: 9094
protocol: udp
mode: host
deploy:
- 9094:9094

deploy:
replicas: 1
update_config:
parallelism: 1
Expand Down
2 changes: 1 addition & 1 deletion .deploy/swarm_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Remember to modify any highlighted files before use.
# Run docker swarm

```
docker stack deploy -c .deploy/docker-compose.yml p2p-stack
docker stack deploy -c .deploy/docker-compose.yml enclave-stack
```

0 comments on commit 680d9b1

Please sign in to comment.