gendesign/.env.example
lekss361 a79ee833f7 feat(infra): add GlitchTip self-hosted error tracking (#204)
Adds glitchtip-web + glitchtip-worker to docker-compose.prod.yml using
the shared postgres/redis services. Caddy proxies errors.gendsgn.ru to
glitchtip-web:8080 with auto-TLS. Bootstrap script handles DB creation
and first-run setup idempotently.

Env contract: GLITCHTIP_DB_PASS, GLITCHTIP_SECRET in .env;
GLITCHTIP_DSN and NEXT_PUBLIC_GLITCHTIP_DSN populated after UI setup.
2026-05-16 13:38:04 +03:00

19 lines
622 B
Text

# Variables read by docker-compose.yml at the project root.
# Copy to .env (chmod 600) and fill with real values.
# Generate a strong password with: openssl rand -base64 24 | tr -d '/+' | head -c 24
POSTGRES_DB=gendesign
POSTGRES_USER=gendesign
POSTGRES_PASSWORD=changeme
# For docker-compose.prod.yml only:
# YC_REGISTRY_ID=
# IMAGE_TAG=latest
# NEXT_PUBLIC_API_BASE_URL=https://your-domain.example.ru
# GlitchTip (errors.gendsgn.ru)
GLITCHTIP_DB_PASS=
GLITCHTIP_SECRET=
# DSN-ы из GlitchTip UI после первого старта (→ .env.runtime или backend/.env)
GLITCHTIP_DSN=
NEXT_PUBLIC_GLITCHTIP_DSN=