# 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
PHOTO_STORAGE_DIR=/opt/punimtag/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


