Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update docker compose to remove coordinator #1001

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ COPY crates ./crates
COPY contracts ./contracts
COPY apps ./apps
COPY node-ui ./node-ui
COPY packages ./packages

# Build the node UI
WORKDIR /app/node-ui
Expand Down
23 changes: 2 additions & 21 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
version: '3.8'

services:
coordinator_init:
image: merod:latest
command: >
--node-name coordinator --home /data init --server-host 0.0.0.0 --server-port 2427 --swarm-port 2527
volumes:
- ./data:/data

coordinator_run:
image: merod:latest
ports:
- "2427:2427"
- "2527:2527"
command: >
--node-name coordinator --home /data run --node-type coordinator
volumes:
- ./data:/data
depends_on:
- coordinator_init

app_node_init:
image: merod:latest
command: >
Expand All @@ -30,8 +11,8 @@ services:
app_node_run:
image: merod:latest
ports:
- "2428:2428"
- "2528:2528"
- '2428:2428'
- '2528:2528'
command: >
--node-name node1 --home /data run
volumes:
Expand Down
Loading