App-template
38 строк · 886.0 Байт
1# Domain
2# This would be set to the production domain with an env var on deployment
3DOMAIN=localhost
4
5# Environment: local, staging, production
6ENVIRONMENT=local
7
8PROJECT_NAME="Full Stack FastAPI Project"
9STACK_NAME=full-stack-fastapi-project
10
11# Backend
12BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
13SECRET_KEY=changethis
14FIRST_SUPERUSER=admin@example.com
15FIRST_SUPERUSER_PASSWORD=changethis
16USERS_OPEN_REGISTRATION=True
17
18# Emails
19SMTP_HOST=
20SMTP_USER=
21SMTP_PASSWORD=
22EMAILS_FROM_EMAIL=info@example.com
23SMTP_TLS=True
24SMTP_SSL=False
25SMTP_PORT=587
26
27# Postgres
28POSTGRES_SERVER=localhost
29POSTGRES_PORT=5432
30POSTGRES_DB=app
31POSTGRES_USER=postgres
32POSTGRES_PASSWORD=changethis
33
34SENTRY_DSN=
35
36# Configure these with your own Docker registry images
37DOCKER_IMAGE_BACKEND=backend
38DOCKER_IMAGE_FRONTEND=frontend