hellth-hub/.env.example

30 lines
928 B
Text
Raw Normal View History

# Datenbank
DATABASE_URL=postgresql://hellth:hellth_dev@localhost:5432/hellth_hub
# Better Auth, in Produktion durch starkes Secret ersetzen
BETTER_AUTH_SECRET=change-me-in-production-use-openssl-rand-base64-32
BETTER_AUTH_BASE_URL=http://localhost:3002
PASSKEY_RP_NAME=Hellth Hub
# API
API_PORT=3002
TRUSTED_ORIGINS=http://localhost:3001
NEXT_PUBLIC_API_URL=http://localhost:3002
TRUST_PROXY_FORWARD_HEADERS=false
DATABASE_REQUIRE_SSL=false
ENABLE_DB_MIGRATIONS=false
# Plattform-Admin, kommasepariert
PLATFORM_ADMIN_EMAILS=admin@domain.tld
NEXT_PUBLIC_PLATFORM_ADMIN_EMAILS=admin@domain.tld
# Initialer Admin-User
ADMIN_EMAIL=admin@domain.tld
ADMIN_INITIAL_PASSWORD=please-set-a-strong-password-with-16-plus-chars
# Wearables: Fitbit OAuth, optional
FITBIT_CLIENT_ID=
FITBIT_CLIENT_SECRET=
FITBIT_REDIRECT_URI=http://localhost:3002/api/wearables/fitbit/callback
WEARABLE_TOKEN_ENCRYPTION_KEY=change-me-32-byte-base64-key