Add dev/prod environments with TrueNAS Docker production deploy.

Split PostgreSQL into gallery_dev and gallery_prod, add Docker/Gitea deploy tooling,
SMB image sync, pgAdmin split script, dev:web on Keenetic :5173, and operator docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila KhodjaefandCursor committed 2026-07-04 15:15:19 +03:00
1 parent 02d238b043
commit 2edf577faf
34 files changed
+1742 -80

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Copy to infra/docker/.env.prod on TrueNAS or build PC (do not commit).
# Used by compose.prod.yaml and npm run db:migrate:prod / db:restore:prod.
DB_HOST=192.168.10.122
DB_PORT=5432
DB_USER=gallery
DB_PASSWORD=YOUR_POSTGRES_PASSWORD
DB_NAME=gallery_prod
PORT=5173
HOST=0.0.0.0
PUBLIC_URL=https://gallery.mysuperlab.netcraze.pro
TRUST_PROXY=true
IMAGE_DIR=/app/data/images