2024-03-11 16:34:18 +01:00
|
|
|
# Domain
|
|
|
|
# This would be set to the production domain with an env var on deployment
|
2023-11-15 21:20:29 +01:00
|
|
|
DOMAIN=localhost
|
|
|
|
|
2024-03-11 16:34:18 +01:00
|
|
|
# Environment: local, staging, production
|
|
|
|
ENVIRONMENT=local
|
2024-02-29 02:09:24 +01:00
|
|
|
|
2024-03-12 20:23:20 +01:00
|
|
|
PROJECT_NAME="Full Stack FastAPI Project"
|
|
|
|
STACK_NAME=full-stack-fastapi-project
|
2023-11-15 21:20:29 +01:00
|
|
|
|
|
|
|
# Backend
|
2024-02-29 02:03:23 +01:00
|
|
|
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
|
2023-11-15 21:20:29 +01:00
|
|
|
SECRET_KEY=changethis
|
|
|
|
FIRST_SUPERUSER=admin@example.com
|
|
|
|
FIRST_SUPERUSER_PASSWORD=changethis
|
2024-07-22 19:40:56 -05:00
|
|
|
USERS_OPEN_REGISTRATION=True
|
2024-03-11 16:34:18 +01:00
|
|
|
|
|
|
|
# Emails
|
2023-11-15 21:20:29 +01:00
|
|
|
SMTP_HOST=
|
|
|
|
SMTP_USER=
|
|
|
|
SMTP_PASSWORD=
|
2023-11-15 21:57:55 +01:00
|
|
|
EMAILS_FROM_EMAIL=info@example.com
|
2024-02-25 21:20:20 +01:00
|
|
|
SMTP_TLS=True
|
2024-03-12 08:03:04 -05:00
|
|
|
SMTP_SSL=False
|
2024-02-25 21:20:20 +01:00
|
|
|
SMTP_PORT=587
|
2023-11-15 21:20:29 +01:00
|
|
|
|
|
|
|
# Postgres
|
2024-03-11 16:34:18 +01:00
|
|
|
POSTGRES_SERVER=localhost
|
2024-03-12 14:39:53 +01:00
|
|
|
POSTGRES_PORT=5432
|
2023-11-15 21:20:29 +01:00
|
|
|
POSTGRES_DB=app
|
2024-03-11 16:34:18 +01:00
|
|
|
POSTGRES_USER=postgres
|
2024-02-25 21:20:20 +01:00
|
|
|
POSTGRES_PASSWORD=changethis
|
2023-11-15 21:20:29 +01:00
|
|
|
|
2024-02-25 21:20:20 +01:00
|
|
|
SENTRY_DSN=
|
|
|
|
|
|
|
|
# Configure these with your own Docker registry images
|
|
|
|
DOCKER_IMAGE_BACKEND=backend
|
|
|
|
DOCKER_IMAGE_FRONTEND=frontend
|