diff --git a/environment/infra/docker-compose/yogastic/.env.example b/environment/infra/docker-compose/yogastic/.env.example deleted file mode 100644 index 4e8ab89..0000000 --- a/environment/infra/docker-compose/yogastic/.env.example +++ /dev/null @@ -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 diff --git a/environment/infra/docker-compose/yogastic/.example.env b/environment/infra/docker-compose/yogastic/.example.env new file mode 100644 index 0000000..d5cf937 --- /dev/null +++ b/environment/infra/docker-compose/yogastic/.example.env @@ -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