Files
immich-redaktions-plugin/.env.example
T
Leon TonhäuserandClaude 2c495ab32a fix(env): correct DATABASE_URL host in .env.example to portal-db
The compose database service is named portal-db, but .env.example
shipped DATABASE_URL pointing at host 'postgres'. Copying the example
and changing only the password left deployments resolving an
unreachable host (EAI_AGAIN postgres), while the spinner hid the
failed migrate and a stale portal-db-data volume made it look applied.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-10 23:31:19 +02:00

23 lines
822 B
Bash

# Portal database (separate from Immich)
DATABASE_URL=postgres://portal:change-me@portal-db:5432/portal
# Better Auth — production public URL. For local dev, set http://localhost:3000 in .env
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
BETTER_AUTH_URL=https://redaktionen.leon-tonhaeuser.de
# Internal Immich API access; never expose these values to browsers
IMMICH_BASE_URL=http://immich-server:2283
IMMICH_API_KEY=replace-with-a-restricted-immich-api-key
# SMTP
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=portal@example.com
SMTP_PASSWORD=replace-with-an-smtp-password
SMTP_FROM=portal@example.com
# Legal pages managed outside the application
LEGAL_IMPRINT_URL=https://example.com/impressum
LEGAL_PRIVACY_URL=https://example.com/datenschutz
LEGAL_TERMS_URL=https://example.com/nutzungsbedingungen