AUTH_URL, NEXTAUTH_URL에서 포트 번호 제거
This commit is contained in:
+5
-2
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user