♻️ Simplify environment configuration (#2413)

This commit is contained in:
Sebastián Ramírez
2026-08-09 22:26:19 +02:00
committed by GitHub
parent 2d04828d6a
commit 9c8983e2a5
6 changed files with 47 additions and 68 deletions
+3 -7
View File
@@ -6,10 +6,8 @@ DOMAIN=localhost
# DOMAIN=localhost.tiangolo.com
# Public frontend URL, used by the backend to generate links in emails.
# Keep the Vite URL for local development; deployments use the application URL.
# Deployments derive this from DOMAIN in compose.deploy.yml.
FRONTEND_HOST=http://localhost:5173
# In staging and production, set this env var to the frontend host, e.g.
# FRONTEND_HOST=https://example.com
# Environment: local, staging, production
ENVIRONMENT=local
@@ -17,7 +15,8 @@ ENVIRONMENT=local
PROJECT_NAME="Full Stack FastAPI Project"
# Backend
BACKEND_CORS_ORIGINS="http://localhost,https://localhost,http://localhost.tiangolo.com"
# Additional allowed CORS origins, separated by commas
BACKEND_CORS_ORIGINS=
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=changethis
@@ -39,6 +38,3 @@ POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend