# Portal database (separate from Immich) DATABASE_URL=postgres://portal:change-me@postgres:5432/portal # Better Auth BETTER_AUTH_SECRET=replace-with-a-long-random-secret BETTER_AUTH_URL=http://localhost:3000 # 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