Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m4s
CI / lint-and-type-check (pull_request) Has been cancelled
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
Add on-demand H.264/AAC web playback (RQ, ffmpeg) with API routes and Next.js proxies; extend admin UI with WebPlaybackVideo and shared hooks. Store transcode cache beside pending-photos (WEB_VIDEO_CACHE_DIR / UPLOAD_DIR) and ignore data/web_videos. Centralize FastAPI URL helpers, optional Vite and Next base paths for subfolder deploy, and fix modal reopen by using router.replace when closing the home photo viewer. Include migration, install scripts, deployment doc updates, and CI admin build env tweak. Made-with: Cursor
27 lines
882 B
Plaintext
27 lines
882 B
Plaintext
# 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
|
|
|
|
|