Skip to content

Commit

Permalink
fix: update docker compose to remove coordinator (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav authored Dec 4, 2024
1 parent a3a7a69 commit f62ad06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
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

0 comments on commit f62ad06

Please sign in to comment.