Files
Art-gallery/.env.example
T
Danila KhodjaefandCursor a2263ca186 Document gallery loading markers, WebGL recovery, and movement filtering.
Update basics.md for the new loading indicators, 3D WebGL context-loss recovery, and the corrected movement-visibility rule (span overlap plus any catalogued artist). Refresh remaining docs and config for the current dev-first workflow and npm script names.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 12:36:34 +03:00

31 lines
1023 B
Bash

# Development only — copy to .env (not committed). All day-to-day work uses gallery_dev.
# Promote to prod on a scheduled release (~weekly); see Documentation/environments.md
DB_HOST=192.168.10.122
DB_PORT=5432
DB_USER=gallery
DB_PASSWORD=YOUR_POSTGRES_PASSWORD
DB_NAME=gallery_dev
# Public dev URL (Keenetic → 192.168.10.70:5173)
# Local-only coding: npm run dev:server + dev:client on 3520 / 5173 instead
PORT=3451
HOST=0.0.0.0
PUBLIC_URL=https://devgallery.mysuperlab.netcraze.pro
TRUST_PROXY=true
IMAGE_DIR=./data/images
# Curator auth (run npm run dev:migrate after setting CURATOR_PASSWORD)
SESSION_SECRET=change-me-to-a-long-random-string
SESSION_COOKIE_SECURE=false
CURATOR_USERNAME=curator
CURATOR_PASSWORD=
# Production uses infra/docker/.env.prod → gallery_prod at gallery.mysuperlab.netcraze.pro:5173
# See Documentation/environments.md
# Optional — enable extra museum search in fetch-missing-images / search-missing-paintings
# SMITHSONIAN_API_KEY=
# HARVARD_ART_API_KEY=
# FETCH_MAX_WAIT_SEC=10