From 84f7186bc6013fbf914f38dc65631819baa3c9bd Mon Sep 17 00:00:00 2001 From: Henit Chobisa Date: Mon, 21 Aug 2023 06:42:02 +0000 Subject: [PATCH] fix: Updated docker-compose files --- docker-compose-hub.yml | 16 ++++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docker-compose-hub.yml b/docker-compose-hub.yml index c0466e09c..9a3af755b 100644 --- a/docker-compose-hub.yml +++ b/docker-compose-hub.yml @@ -54,6 +54,22 @@ services: depends_on: - plane-api - plane-worker + + public-deploy: + container_name: plane_public_deploy + build: + context: . + dockerfile: ./apps/space/Dockerfile.space + restart: always + command: node apps/space/server.js + env_file: + - .env + environment: + NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL} + depends_on: + - plane-api + - plane-worker + - plane-web plane-api: container_name: planebackend diff --git a/docker-compose.yml b/docker-compose.yml index 696204614..247924508 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -68,7 +68,7 @@ services: env_file: - .env environment: - NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_DEPLOY_URL} + NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL} depends_on: - plane-api - plane-worker