chore: deduplicate env templates into .env.example
CI / skip-ci-check (push) Successful in 18s
CI / docker-ci (push) Successful in 19s
CI / secret-scan (push) Successful in 32s
CI / viewer-unit (push) Successful in 2m42s
CI / admin-unit (push) Successful in 3m22s
CI / e2e (push) Successful in 4m17s
CI / skip-ci-check (pull_request) Successful in 18s
CI / docker-ci (pull_request) Successful in 21s
CI / secret-scan (pull_request) Successful in 31s
CI / viewer-unit (pull_request) Successful in 1m30s
CI / admin-unit (pull_request) Successful in 2m26s
CI / e2e (pull_request) Failing after 7m8s
CI / skip-ci-check (push) Successful in 18s
CI / docker-ci (push) Successful in 19s
CI / secret-scan (push) Successful in 32s
CI / viewer-unit (push) Successful in 2m42s
CI / admin-unit (push) Successful in 3m22s
CI / e2e (push) Successful in 4m17s
CI / skip-ci-check (pull_request) Successful in 18s
CI / docker-ci (pull_request) Successful in 21s
CI / secret-scan (pull_request) Successful in 31s
CI / viewer-unit (pull_request) Successful in 1m30s
CI / admin-unit (pull_request) Successful in 2m26s
CI / e2e (pull_request) Failing after 7m8s
This commit is contained in:
+19
-11
@@ -1,16 +1,24 @@
|
||||
# Database Configuration
|
||||
# PostgreSQL (for network database)
|
||||
DATABASE_URL=postgresql+psycopg2://punimtag:punimtag_password@localhost:5432/punimtag
|
||||
# PunimTag root environment (copy to ".env" and edit values)
|
||||
|
||||
# Or use SQLite for local development (default if DATABASE_URL not set)
|
||||
# DATABASE_URL=sqlite:///data/punimtag.db
|
||||
# PostgreSQL (main application DB)
|
||||
DATABASE_URL=postgresql+psycopg2://punimtag:CHANGE_ME@127.0.0.1:5432/punimtag
|
||||
|
||||
# Photo Storage
|
||||
# PostgreSQL (auth DB)
|
||||
DATABASE_URL_AUTH=postgresql+psycopg2://punimtag_auth:CHANGE_ME@127.0.0.1:5432/punimtag_auth
|
||||
|
||||
# JWT / bootstrap admin (change these!)
|
||||
SECRET_KEY=CHANGE_ME_TO_A_LONG_RANDOM_STRING
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=CHANGE_ME
|
||||
|
||||
# Photo storage (default for local dev: data/uploads)
|
||||
PHOTO_STORAGE_DIR=data/uploads
|
||||
|
||||
# JWT Secrets (change in production!)
|
||||
SECRET_KEY=your-secret-key-here-change-in-production
|
||||
# Pending viewer uploads (same value as viewer UPLOAD_DIR when using that feature).
|
||||
# Web transcode cache defaults to a sibling folder: <parent>/web_videos next to
|
||||
# .../pending-photos (override with WEB_VIDEO_CACHE_DIR if needed).
|
||||
# UPLOAD_DIR=/mnt/db-server-uploads/pending-photos
|
||||
# WEB_VIDEO_CACHE_DIR=/mnt/db-server-uploads/web_videos
|
||||
|
||||
# Single-user credentials (change in production!)
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=admin
|
||||
# Redis (RQ jobs)
|
||||
REDIS_URL=redis://127.0.0.1:6379/0
|
||||
|
||||
Reference in New Issue
Block a user