From 4b8f9ee4d3fda193b16384b374db5a98ab03a366 Mon Sep 17 00:00:00 2001 From: "matej.vukosav" Date: Wed, 4 Dec 2024 18:24:57 +0800 Subject: [PATCH] fix: update docker compose to remove coordinator --- Dockerfile | 1 - docker-compose.yml | 23 ++--------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1993b3c54..ac28daaf1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 9f28d3a08..f3ea7b107 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: > @@ -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: