From 39c5ddb55c64997ee755026d6345e774d86aedf4 Mon Sep 17 00:00:00 2001 From: jisangs Date: Thu, 11 Jun 2026 14:10:57 +0900 Subject: [PATCH] =?UTF-8?q?AUTH=5FURL,=20NEXTAUTH=5FURL=EC=97=90=EC=84=9C?= =?UTF-8?q?=20=ED=8F=AC=ED=8A=B8=20=EB=B2=88=ED=98=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 7 +++++-- docker-compose.stage.yml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 63728b2..446986d 100644 --- a/.env.example +++ b/.env.example @@ -2,16 +2,19 @@ DATABASE_URL="mysql://USER:PASSWORD@127.0.0.1:3306/chocomae" AUTH_SECRET="replace-with-local-secret" NEXTAUTH_SECRET="replace-with-local-secret" +AUTH_URL="http://localhost:3000" NEXTAUTH_URL="http://localhost:3000" # Production example (.env.production) # DATABASE_URL="mysql://USER:PASSWORD@AWS_EC2_HOST:3306/chocomae" # AUTH_SECRET="replace-with-production-secret" # NEXTAUTH_SECRET="replace-with-production-secret" -# NEXTAUTH_URL="http://NAS_HOST_OR_DOMAIN:3000" +# AUTH_URL="https://NAS_HOST_OR_DOMAIN" +# NEXTAUTH_URL="https://NAS_HOST_OR_DOMAIN" # Stage example (.env.stage) # DATABASE_URL="mysql://USER:PASSWORD@STAGE_DB_HOST:3306/chocomae" # AUTH_SECRET="replace-with-stage-secret" # NEXTAUTH_SECRET="replace-with-stage-secret" -# NEXTAUTH_URL="http://STAGE_HOST_OR_DOMAIN:3000" +# AUTH_URL="https://STAGE_HOST_OR_DOMAIN" +# NEXTAUTH_URL="https://STAGE_HOST_OR_DOMAIN" diff --git a/docker-compose.stage.yml b/docker-compose.stage.yml index f167f6f..450d386 100644 --- a/docker-compose.stage.yml +++ b/docker-compose.stage.yml @@ -5,8 +5,8 @@ services: dockerfile: Dockerfile image: chocoadmin-stage:latest container_name: stage-chocoadmin - ports: - - "3000:3000" + expose: + - "3000" env_file: - .env.stage environment: