21 lines
796 B
Bash
21 lines
796 B
Bash
# Local development
|
|
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"
|
|
# 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"
|
|
# AUTH_URL="https://STAGE_HOST_OR_DOMAIN"
|
|
# NEXTAUTH_URL="https://STAGE_HOST_OR_DOMAIN"
|