2177162300
- .gitignore: add coverage/, .vscode/, .idea/ - .env.example files: add header comments clarifying production vs dev, add SMTP vars to server dev template - Validate SavedView filters on load with safeParse fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
1.5 KiB
Bash
31 lines
1.5 KiB
Bash
# Production — used with docker-compose (see server/.env.example for local dev)
|
|
|
|
# ── Registry ──────────────────────────────────────────────────────────────────
|
|
# Hostname of your container registry (no trailing slash)
|
|
REGISTRY=gitea.thewrightserver.net
|
|
|
|
# Image tag to deploy (default: latest)
|
|
TAG=latest
|
|
|
|
# ── PostgreSQL ────────────────────────────────────────────────────────────────
|
|
POSTGRES_PASSWORD=change-this-to-a-strong-password
|
|
|
|
# ── App ───────────────────────────────────────────────────────────────────────
|
|
# Generate with: openssl rand -hex 64
|
|
JWT_SECRET=change-this-to-a-long-random-string
|
|
|
|
# Origin NPM proxies to this app (used for CORS)
|
|
CLIENT_URL=http://tickets.thewrightserver.net
|
|
|
|
# Host port NPM proxies to — change if 3080 is taken
|
|
PORT=3080
|
|
|
|
# ── Email notifications (optional) ────────────────────────────────────────────
|
|
# Leave SMTP_HOST empty to disable outgoing email entirely.
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
SMTP_FROM=tickets@thewrightserver.net
|
|
SMTP_SECURE=false
|