|
| 1 | +# Domain |
| 2 | +# This would be set to the production domain with an env var on deployment |
| 3 | +# used by Traefik to transmit traffic and acquire TLS certificates |
| 4 | +DOMAIN=localhost |
| 5 | +# To test the local Traefik config |
| 6 | +# DOMAIN=localhost.tiangolo.com |
| 7 | + |
| 8 | +# Used by the backend to generate links in emails to the frontend |
| 9 | +FRONTEND_HOST=http://localhost:5173 |
| 10 | +# In staging and production, set this env var to the frontend host, e.g. |
| 11 | +# FRONTEND_HOST=https://dashboard.example.com |
| 12 | + |
| 13 | +# Environment: local, staging, production |
| 14 | +ENVIRONMENT=local |
| 15 | + |
| 16 | +PROJECT_NAME="TreadEd" |
| 17 | +STACK_NAME=treaded |
| 18 | + |
| 19 | +# Backend |
| 20 | +BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com" |
| 21 | +SECRET_KEY=your-secret-key-here |
| 22 | + |
| 23 | +FIRST_SUPERUSER_PASSWORD=change-this-password |
| 24 | + |
| 25 | +# Emails |
| 26 | +SMTP_HOST=smtp.example.com |
| 27 | +SMTP_USER=your-smtp-user |
| 28 | +SMTP_PASSWORD=your-smtp-password |
| 29 | +EMAILS_FROM_EMAIL=[email protected] |
| 30 | +SMTP_TLS=True |
| 31 | +SMTP_SSL=False |
| 32 | +SMTP_PORT=465 |
| 33 | + |
| 34 | +# Postgres |
| 35 | +POSTGRES_SERVER=localhost |
| 36 | +POSTGRES_PORT=5432 |
| 37 | +POSTGRES_DB=treaded_app |
| 38 | +POSTGRES_USER=postgres |
| 39 | +POSTGRES_PASSWORD=change-this-password |
| 40 | + |
| 41 | +SENTRY_DSN= |
| 42 | + |
| 43 | +# Configure these with your own Docker registry images |
| 44 | +DOCKER_IMAGE_BACKEND=backend |
| 45 | +DOCKER_IMAGE_FRONTEND=frontend |
| 46 | + |
| 47 | +# LLM API-Authentication |
| 48 | +ANTHROPIC_API_KEY=your-anthropic-api-key |
| 49 | +OPENAI_API_KEY=your-openai-api-key |
0 commit comments