12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- # Domain
- # This would be set to the production domain with an env var on deployment
- DOMAIN=localhost
- # Environment: dev, prod
- ENVIRONMENT=dev
- PROJECT_NAME="FastAPI Example For Me"
- PROJECT_DESCRIPTION="XX"
- VERSION="0.2.0"
- DEBUG=True
- STACK_NAME=full-stack-fastapi-project
- # Backend
- BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173"
- SECRET_KEY=vFRGH3u_MIQUcgBpt6XpQtsOiO_NTi0zYq4sGkPZiD0
- FIRST_SUPERUSER=admin@example.com
- FIRST_SUPERUSER_PASSWORD=QQAesJmwJas72U_FVOOylx45VXT8JiP0opELWi_p3_0
- USERS_OPEN_REGISTRATION=False
- # Emails
- SMTP_HOST=smtp.qq.com
- SMTP_USER=xx@qq.com
- SMTP_PASSWORD=xxx
- EMAILS_FROM_EMAIL=info@example.com
- SMTP_TLS=True
- SMTP_SSL=False
- SMTP_PORT=587
- # mysql
- MYSQ_URL=mysql+pymysql://root:123456@mysql:3306/app
- # sqlite
- SQLITE_URL=sqlite:///./app.db
- # redis
- REDIS_URL=redis://:myStrongPassword@redis:6379
- # mongo
- # mongodb://localhost:27017/lms
- MONGO_HOST='127.0.0.1'
- MONGO_PORT='27017'
- # Postgres
- # DATABASE_URL=postgresql+asyncpg://app:app@app_db:5432/app
- # postgresql+psycopg://lyq:123456@localhost:5432/app
- POSTGRES_SERVER=localhost
- POSTGRES_PORT=5432
- POSTGRES_DB=app
- POSTGRES_USER=lyq
- POSTGRES_PASSWORD=123456
- # RABBIT_HOST=
- # RABBIT_LOGIN=
- # RABBIT_PASSWORD=
- SENTRY_DSN=http://localhost
- # Configure these with your own Docker registry images
- DOCKER_IMAGE_BACKEND=backend
- DOCKER_IMAGE_FRONTEND=frontend
|