From 517a8c076263d26eeb7343e8db9331c87f3d2571 Mon Sep 17 00:00:00 2001 From: Geonhyuk Seo Date: Fri, 29 Nov 2024 07:56:25 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix(docker-composes):=20?= =?UTF-8?q?=EB=8F=84=EC=BB=A4=20=EC=BB=B4=ED=8F=AC=EC=A6=88=20=EB=B0=B1?= =?UTF-8?q?=EC=97=94=EB=93=9C=20=EC=84=9C=EB=B2=84=20=EC=8B=A4=ED=96=89=20?= =?UTF-8?q?=EC=95=88=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-composes/cloud-canvas-back.yml | 2 +- docker-composes/cloud-canvas-front-hub.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-composes/cloud-canvas-back.yml b/docker-composes/cloud-canvas-back.yml index 13dce152..95535f4c 100644 --- a/docker-composes/cloud-canvas-back.yml +++ b/docker-composes/cloud-canvas-back.yml @@ -11,7 +11,7 @@ services: REDIS_PORT: ${REDIS_PORT} ports: - '3000:3000' - entrypoint: sh -c "npx prisma generate && npx prisma migrate reset --force && node ./dist/src/main.js" + entrypoint: sh -c "cd apps/server && npx prisma migrate reset --force && node ./dist/src/main.js" networks: - cloud-canvas-network restart: unless-stopped diff --git a/docker-composes/cloud-canvas-front-hub.yml b/docker-composes/cloud-canvas-front-hub.yml index f7bf6d7c..818f5398 100644 --- a/docker-composes/cloud-canvas-front-hub.yml +++ b/docker-composes/cloud-canvas-front-hub.yml @@ -2,6 +2,8 @@ services: front-hub: image: cloud-canvas.kr.ncr.ntruss.com/front-hub:dev container_name: front-hub + environment: + NEXT_PUBLIC_BACK_URL: ${NEXT_PUBLIC_BACK_URL} ports: - '3000:3000' networks: