replace .env.example with .example.env and update environment variables

This commit is contained in:
Schneider Roland 2025-03-02 15:10:24 +01:00
parent a860e0b163
commit a735471eb1
2 changed files with 35 additions and 15 deletions

View File

@ -1,15 +0,0 @@
# Copy from .env.local on the Vercel dashboard
# https://nextjs.org/learn/dashboard-app/setting-up-your-database#create-a-postgres-database
POSTGRES_URL="postgres://nextjs:nextjs@nextjs-db:5432/nextjs"
POSTGRES_URL_NON_POOLING="postgres://nextjs:nextjs@nextjs-db:5432/nextjs"
POSTGRES_USER="nextjs"
POSTGRES_HOST="nextjs-db"
POSTGRES_PORT="5432"
POSTGRES_PASSWORD="nextjs"
POSTGRES_DATABASE="nextjs"
# `openssl rand -base64 32`
AUTH_SECRET=
AUTH_URL=http://localhost:3000/api/auth
COMPOSE_PROJECT_NAME=yoga-infra

View File

@ -0,0 +1,35 @@
COMPOSE_PROJECT_NAME=yoga-infra
APP_POSTGRES_URL="postgres://scrambled_user:scrambled_pass@nextjs-db:5432/nextjs"
APP_POSTGRES_URL_NON_POOLING="postgres://scrambled_user:scrambled_pass@nextjs-db:5432/nextjs"
APP_POSTGRES_USER="scrambled_user"
APP_POSTGRES_HOST="nextjs-db"
APP_POSTGRES_PORT="5432"
APP_POSTGRES_PASSWORD="scrambled_pass"
APP_POSTGRES_DATABASE="nextjs"
# `openssl rand -base64 32`
APP_AUTH_SECRET=
APP_AUTH_URL=http://localhost:3000/api/auth
APP_STRAPI_URL=http://cms:1337
APP_STRAPI_KEY=
APP_SMTP_SERVER_USERNAME=scrambled_user
APP_SMTP_SERVER_PASSWORD=scrambled_pass
APP_SMTP_SERVER_HOST=localhost
APP_SMTP_SERVER_PORT=4014
APP_SMTP_SERVER_SECURE=false
APP_SITE_MAIL_RECIEVER=scrambled_email@example.com
CMS_DATABASE_CLIENT=mysql
CMS_DATABASE_HOST=localhost
CMS_DATABASE_PORT=4011
CMS_DATABASE_NAME=strapi
CMS_DATABASE_USERNAME=scrambled_user
CMS_DATABASE_PASSWORD=scrambled_pass
CMS_HOST=0.0.0.0
CMS_PORT=1337
CMS_APP_KEYS="scrambled_key1,scrambled_key2"
CMS_API_TOKEN_SALT=scrambled_salt
CMS_ADMIN_JWT_SECRET=scrambled_jwt_secret
CMS_TRANSFER_TOKEN_SALT=scrambled_salt
CMS_JWT_SECRET=scrambled_jwt_secret