Files
punimtag/.env.example
T
ilia d6b546c95e
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
chore: deduplicate env templates into .env.example
2026-07-26 15:30:17 -04:00

25 lines
904 B
Bash

# PunimTag root environment (copy to ".env" and edit values)
# PostgreSQL (main application DB)
DATABASE_URL=postgresql+psycopg2://punimtag:CHANGE_ME@127.0.0.1:5432/punimtag
# 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
# 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
# Redis (RQ jobs)
REDIS_URL=redis://127.0.0.1:6379/0