# ─── Heimdall — Environment Variables ────────────────────────────── # Copy this file to .env and adjust for your deployment # # The heimdall service serves the Blazor UI, REST API, SignalR hubs, # and Hangfire background jobs in a single process on port 5000. # Database DATABASE_URL=Host=postgresql;Port=5432;Database=heimdall;Username=heimdall;Password=heimdall # JWT (change in production!) # JWT__Key is used for access tokens, JWT__RefreshKey for refresh tokens. # Both must be at least 32 bytes (256 bits) — use different values for security. JWT__KEY=ChangeMeToAtLeast32BytesLongKeyInProd! JWT__REFRESHKEY=ChangeMeToAtLeast32BytesRefreshKeyInProd! JWT__ISSUER=heimdall JWT__AUDIENCE=heimdall-api # ASP.NET ASPNETCORE_ENVIRONMENT=Production ASPNETCORE_URLS=http://+:8080 # CORS (default: allow all origins — restrict in production) Cors__AllowedOrigins=* # Alarik (S3-compatible object storage) ALARIK_API_PORT=9000 ALARIK_CONSOLE_PORT=9001 ALARIK_ADMIN_USERNAME=heimdall ALARIK_ADMIN_PASSWORD=heimdall123 ALARIK_JWT=ChangeMeAtLeast32BytesLongKeyInProd! # Sentry / GlitchTip (error tracking) # SENTRY_DSN=https://key@glitchtip.tordais.cc/6 # Agent (set per agent instance) Agent__CentralUrl=http://heimdall:8080 Agent__SiteToken=replace-with-actual-token Agent__AgentName=agent-01 Agent__HeartbeatIntervalSeconds=30 Agent__RegistrationMaxRetries=5 # Email (SMTP) — notifications EMAIL__SMTP_HOST=smtp.example.com EMAIL__SMTP_PORT=587 EMAIL__USERNAME= EMAIL__PASSWORD= EMAIL__FROM_ADDRESS=noreply@heimdall.local EMAIL__FROM_NAME=Heimdall EMAIL__USE_SSL=true # ntfy push notifications NTFY__BASE_URL=http://ntfy:80 NTFY__TOKEN=