refactor(docker): separate core and optional compose services
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 13m35s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 6m28s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 8m24s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 3s

This commit is contained in:
Arnaud Dartois committed 2026-10-26 05:59:55 +01:00
1 parent 25dc4869d2
commit 88033e8e26
25 files changed
+507 -714

No files matched your search

+12 -9
View File
@@ -1,17 +1,19 @@
# ─── Heimdall — Environment Variables ──────────────────────────────
# Copy this file to .env and adjust for your deployment
# 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: Use Docker secrets (docker/secrets/) for sensitive values.
# See docker-compose.prod.yml header for instructions.
# 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
SERVER_IMAGE_REFERENCE=eltruncho/heimdall:latest
# Set SERVER_IMAGE_REFERENCE from docker/server-image.json before production deployment.
UPDATES_RELEASE_API_URL=https://sources.tordais.cc/api/v1/repos/arnaud.dartois/Heimdall/releases/latest
# JWT (change in production!)
@@ -41,11 +43,11 @@ RUSTFS_BUCKET=heimdall
# 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=https://db94b9...dc73@glitchtip.tordais.cc/6
Sentry__TracesSampleRate=0.05
Sentry__Release=heimdall@1.0.0
SENTRY_DSN=
SENTRY_TRACES_SAMPLE_RATE=0.05
SENTRY_RELEASE=heimdall@1.0.0
# Agent (set per agent instance)
# 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
@@ -71,7 +73,8 @@ COTURN_REALM=heimdall.local
# Ollama (local LLM for daily summaries)
OLLAMA_PORT=11434
OLLAMA_URL=
# Redis (SignalR backplane, optional — scaling)
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_PASSWORD=replace-with-a-long-unique-password