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: