Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and scan server image (pull_request) Canceled after 0s
Heimdall Gitea / Build and scan agent image (pull_request) Canceled after 0s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Canceled after 0s
Heimdall Gitea / Publish versioned release (pull_request) Canceled after 0s
Heimdall Gitea / Build and tests (pull_request) Canceled after 7m33s
Heimdall Gitea / CI policy (pull_request) Failing after 2s
66 lines
2.5 KiB
Bash
66 lines
2.5 KiB
Bash
# ─── Heimdall — Environment Variables ──────────────────────────────
|
|
# Development examples only. Copy to docker/.env for a local deployment.
|
|
# Never commit real values; docker/.env and docker/secrets/ are ignored by Git.
|
|
#
|
|
# The heimdall service serves the Blazor UI, REST API, SignalR hubs,
|
|
# and Hangfire background jobs in a single process on port 5000.
|
|
#
|
|
# Production core is PostgreSQL + Central. Use docker/secrets/db_password for
|
|
# the database and set JWT keys only in the host environment or ignored env file.
|
|
# Install Agents from the digest-pinned Compose supplied by Central's UI.
|
|
|
|
# Development example only: replace all credentials before exposure.
|
|
# Database
|
|
POSTGRES_PASSWORD=heimdall
|
|
DATABASE_URL=Host=postgresql;Port=5432;Database=heimdall;Username=heimdall;Password=heimdall
|
|
# Set SERVER_IMAGE_REFERENCE from docker/server-image.json before production deployment.
|
|
|
|
# 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=*
|
|
|
|
# RustFS (S3-compatible object storage)
|
|
RUSTFS_API_PORT=9000
|
|
RUSTFS_CONSOLE_PORT=9001
|
|
RUSTFS_ACCESS_KEY=heimdall
|
|
RUSTFS_SECRET_KEY=ChangeMeAtLeast32BytesLongKeyInProd!
|
|
RUSTFS_ENDPOINT=http://rustfs:9000
|
|
RUSTFS_BUCKET=heimdall
|
|
|
|
# Sentry / GlitchTip (error tracking, performance, structured logs)
|
|
# Primary: Sentry__Dsn (ASP.NET Core config convention)
|
|
# Fallback: SENTRY_DSN (legacy, for backward compatibility)
|
|
# When unset/empty, the Sentry SDK is not initialized (graceful no-op).
|
|
SENTRY_DSN=
|
|
SENTRY_TRACES_SAMPLE_RATE=0.05
|
|
SENTRY_RELEASE=heimdall@1.0.0
|
|
|
|
# Agent (for local development only; production Compose is supplied by Central)
|
|
HEIMDALL_CENTRAL_URL=http://localhost:5000
|
|
HEIMDALL_SITE_TOKEN=replace-with-actual-token
|
|
HEIMDALL_AGENT_NAME=agent-01
|
|
HEIMDALL_HEARTBEAT_INTERVAL=30
|
|
HEIMDALL_REGISTRATION_RETRIES=5
|
|
|
|
# Coturn (TURN relay for WebRTC)
|
|
COTURN_SECRET=ChangeMeAtLeast32BytesLongCoturnSecret!
|
|
COTURN_REALM=heimdall.local
|
|
|
|
# Ollama (local LLM for daily summaries)
|
|
OLLAMA_PORT=11434
|
|
|
|
# Redis (SignalR backplane, optional — scaling)
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=replace-with-a-long-unique-password
|