2026-02-14 16:56:10 +00:00
|
|
|
# Flask Configuration
|
|
|
|
|
FLASK_ENV=dev
|
|
|
|
|
SECRET_KEY=dev-secret-key-change-in-production
|
|
|
|
|
JWT_SECRET_KEY=dev-jwt-secret-key-change-in-production
|
|
|
|
|
CORS_ORIGINS=*
|
|
|
|
|
|
|
|
|
|
# Database Configuration (for Docker dev services)
|
|
|
|
|
POSTGRES_USER=crafting
|
|
|
|
|
POSTGRES_PASSWORD=devpassword
|
|
|
|
|
POSTGRES_DB=crafting_shop
|
|
|
|
|
|
|
|
|
|
# Grafana Configuration
|
|
|
|
|
GRAFANA_USER=admin
|
|
|
|
|
GRAFANA_PASSWORD=change-this-password-in-production
|
|
|
|
|
|
2026-02-21 18:38:19 +00:00
|
|
|
# Celery Configuration
|
|
|
|
|
CELERY_BROKER_URL=redis://redis:6379/0
|
|
|
|
|
CELERY_RESULT_BACKEND=redis://redis:6379/0
|
|
|
|
|
|
2026-03-20 17:17:01 +00:00
|
|
|
# MinIO Configuration (Object Storage)
|
|
|
|
|
# MinIO server stays hidden - Flask proxies all requests
|
|
|
|
|
# MINIO_ENDPOINT: Internal Docker network address (for server-to-server communication)
|
|
|
|
|
MINIO_ENDPOINT=minio:9000
|
|
|
|
|
MINIO_ACCESS_KEY=minioadmin
|
|
|
|
|
MINIO_SECRET_KEY=minioadmin
|
|
|
|
|
MINIO_USE_SSL=false
|
|
|
|
|
# Note: Thumbnails are served via /api/files/:id/proxy-thumbnail (no auth)
|
|
|
|
|
# Full files require JWT authentication via /api/files/:id/download
|
|
|
|
|
|
2026-02-14 16:56:10 +00:00
|
|
|
# Optional: External Services
|
|
|
|
|
# REDIS_URL=redis://localhost:6379/0
|
|
|
|
|
# SMTP_HOST=smtp.gmail.com
|
|
|
|
|
# SMTP_PORT=587
|
|
|
|
|
# SMTP_USER=your-email@gmail.com
|
2026-02-21 18:38:19 +00:00
|
|
|
# SMTP_PASSWORD=your-smtp-password
|