-
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Copy to backend/.env and fill in. Never commit the real file.
|
||||
ENVIRONMENT=development
|
||||
|
||||
# Must match the credentials in the root .env (docker-compose PostgreSQL on port 5440)
|
||||
DATABASE_URL=postgresql+asyncpg://saurashakti:change-me@localhost:5440/saurashakti
|
||||
# Used only by the test suite; database name must end in _test
|
||||
TEST_DATABASE_URL=postgresql+asyncpg://saurashakti:change-me@localhost:5440/saurashakti_test
|
||||
|
||||
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(48))"
|
||||
JWT_SECRET_KEY=replace-with-a-long-random-string-at-least-32-chars
|
||||
JWT_EXPIRE_MINUTES=120
|
||||
|
||||
# Frontend dev server origin(s), comma separated
|
||||
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
||||
|
||||
# Public URL prefix for watermarked images / thumbnails (relative: served via the Vite proxy in dev)
|
||||
MEDIA_BASE_URL=/media
|
||||
|
||||
# Optional overrides (defaults shown)
|
||||
# MAX_UPLOAD_SIZE_MB=10
|
||||
# MAX_FILES_PER_UPLOAD=20
|
||||
# WATERMARK_LOGO_PATH=assets/watermark/logo.png
|
||||
# WATERMARK_WIDTH_RATIO=0.18
|
||||
# WATERMARK_OPACITY=0.75
|
||||
# THUMBNAIL_MAX_SIZE=640
|
||||
Reference in New Issue
Block a user