feat: add example environment configuration file and update .gitignore

This commit is contained in:
2026-04-13 13:27:53 +08:00
parent efecb5bf5e
commit 3f6f5c280c
2 changed files with 46 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
# Domain
# This would be set to the production domain with an env var on deployment
# used by Traefik to transmit traffic and aqcuire TLS certificates
DOMAIN=furyhawk.lol
# To test the local Traefik config
# DOMAIN=localhost.dev.lan
# Used by the backend to generate links in emails to the frontend
FRONTEND_HOST=https://dev.furyhawk.lol
# In staging and production, set this env var to the frontend host, e.g.
# FRONTEND_HOST=https://dashboard.dev.lan
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME="Home Stack FastAPI Project"
STACK_NAME=home-stack-fastapi-project
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,http://localhost:5175,https://localhost,https://localhost:5173,http://dev.lan,http://dev.lan:5173,https://dev.furyhawk.lol"
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@dev.lan
FIRST_SUPERUSER_PASSWORD=changethis
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=info@dev.lan
SMTP_TLS=True
SMTP_SSL=False
SMTP_PORT=587
# Postgres
POSTGRES_SERVER=db
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=docker.io/furyhawk/home-stack-fastapi-project-backend
DOCKER_IMAGE_FRONTEND=docker.io/furyhawk/home-stack-fastapi-project-frontend
+1
View File
@@ -16,3 +16,4 @@ notebooks/chroma_db/
notebooks/llama-2-7b-chat.Q4_K_M.gguf
esphome/config/
ai_stack/llamacpp.server/models/
.env