2026-07-20 10:30:01 +00:00
|
|
|
# ─── Heimdall — Production Docker Compose ─────────────────────────
|
2026-07-18 11:30:55 +00:00
|
|
|
# Pulls pre-built images from Docker Hub instead of building locally.
|
|
|
|
|
# Usage: docker compose -f docker/docker-compose.prod.yml up -d
|
|
|
|
|
# Prerequisite: cp .env.example .env && edit secrets
|
|
|
|
|
#
|
2026-08-20 18:13:59 +02:00
|
|
|
# Secrets are stored in docker/secrets/ (gitignored). Create them with:
|
|
|
|
|
# mkdir -p docker/secrets
|
|
|
|
|
# openssl rand -base64 32 > docker/secrets/jwt_signing_key
|
|
|
|
|
# openssl rand -base64 32 > docker/secrets/jwt_refresh_key
|
|
|
|
|
# openssl rand -base64 32 > docker/secrets/coturn_secret
|
|
|
|
|
# echo -n "your-db-password" > docker/secrets/db_password
|
|
|
|
|
# echo -n "your-alarik-admin-password" > docker/secrets/alarik_admin_password
|
|
|
|
|
# echo -n "your-alarik-jwt" > docker/secrets/alarik_jwt
|
|
|
|
|
# echo -n "your-smtp-password" > docker/secrets/smtp_password
|
|
|
|
|
#
|
2026-07-18 11:30:55 +00:00
|
|
|
# Images are published by the CI pipeline on main branch pushes:
|
2026-07-20 17:22:56 +00:00
|
|
|
# eltruncho/heimdall:latest
|
2026-07-18 11:30:55 +00:00
|
|
|
# eltruncho/heimdall-agent:latest
|
2026-07-20 10:30:01 +00:00
|
|
|
#
|
2026-07-20 17:22:56 +00:00
|
|
|
# The heimdall service serves the Blazor UI, REST API, SignalR hubs,
|
|
|
|
|
# and Hangfire background jobs (heartbeat monitor, agent failover)
|
|
|
|
|
# in a single process.
|
2026-07-18 11:30:55 +00:00
|
|
|
|
|
|
|
|
x-logging: &default-logging
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
postgresql:
|
|
|
|
|
image: postgres:17-alpine
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_DB: ${POSTGRES_DB:-heimdall}
|
|
|
|
|
POSTGRES_USER: ${POSTGRES_USER:-heimdall}
|
2026-08-20 18:13:59 +02:00
|
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
|
|
|
|
secrets:
|
|
|
|
|
- db_password
|
2026-07-18 11:30:55 +00:00
|
|
|
ports:
|
|
|
|
|
- "${POSTGRES_PORT:-5432}:5432"
|
|
|
|
|
volumes:
|
|
|
|
|
- pgdata:/var/lib/postgresql/data
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-heimdall}"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 30s
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-07-18 11:40:03 +00:00
|
|
|
alarik:
|
|
|
|
|
image: ghcr.io/achtungsoftware/alarik:latest
|
2026-07-18 11:30:55 +00:00
|
|
|
restart: unless-stopped
|
2026-07-18 11:40:03 +00:00
|
|
|
ports:
|
|
|
|
|
- "${ALARIK_API_PORT:-9000}:8080"
|
|
|
|
|
environment:
|
|
|
|
|
API_BASE_URL: ${ALARIK_API_BASE_URL:-http://localhost:9000}
|
|
|
|
|
CONSOLE_BASE_URL: ${ALARIK_CONSOLE_BASE_URL:-http://localhost:9001}
|
|
|
|
|
ADMIN_USERNAME: ${ALARIK_ADMIN_USERNAME:-heimdall}
|
2026-08-20 18:13:59 +02:00
|
|
|
ADMIN_PASSWORD_FILE: /run/secrets/alarik_admin_password
|
|
|
|
|
JWT_FILE: /run/secrets/alarik_jwt
|
2026-07-18 11:40:03 +00:00
|
|
|
ALLOW_ACCOUNT_CREATION: false
|
2026-08-20 18:13:59 +02:00
|
|
|
secrets:
|
|
|
|
|
- alarik_admin_password
|
|
|
|
|
- alarik_jwt
|
2026-07-18 11:40:03 +00:00
|
|
|
volumes:
|
|
|
|
|
- alarik_storage:/app/Storage
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
|
|
|
|
alarik-console:
|
|
|
|
|
image: ghcr.io/achtungsoftware/alarik-console:latest
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${ALARIK_CONSOLE_PORT:-9001}:3000"
|
|
|
|
|
environment:
|
|
|
|
|
NUXT_PUBLIC_API_BASE_URL: ${ALARIK_API_BASE_URL:-http://localhost:9000}
|
|
|
|
|
NUXT_PUBLIC_CONSOLE_BASE_URL: ${ALARIK_CONSOLE_BASE_URL:-http://localhost:9001}
|
|
|
|
|
NUXT_PUBLIC_ALLOW_ACCOUNT_CREATION: false
|
|
|
|
|
depends_on:
|
|
|
|
|
- alarik
|
2026-07-18 11:30:55 +00:00
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-07-20 17:22:56 +00:00
|
|
|
heimdall:
|
|
|
|
|
image: eltruncho/heimdall:latest
|
2026-07-18 11:30:55 +00:00
|
|
|
environment:
|
2026-08-28 01:11:12 +02:00
|
|
|
# MassTransit / RabbitMQ
|
|
|
|
|
RABBITMQ__HOST: rabbitmq
|
|
|
|
|
RABBITMQ__PORT: "5672"
|
|
|
|
|
RABBITMQ__USER: ${RABBITMQ_USER:-heimdall}
|
|
|
|
|
RABBITMQ__PASSWORD_FILE: /run/secrets/rabbitmq_password
|
2026-08-20 18:13:59 +02:00
|
|
|
# Database (password from secret, rest from env)
|
2026-07-19 20:53:48 +00:00
|
|
|
DATABASE_URL: ${DATABASE_URL:?DATABASE_URL is required}
|
2026-08-20 18:13:59 +02:00
|
|
|
# JWT (keys from secrets)
|
2026-10-20 02:27:03 +02:00
|
|
|
JWT__Issuer: ${JWT__ISSUER:-heimdall}
|
|
|
|
|
JWT__Audience: ${JWT__AUDIENCE:-heimdall-api}
|
2026-07-20 10:30:01 +00:00
|
|
|
# ASP.NET
|
2026-07-18 11:30:55 +00:00
|
|
|
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Production}
|
|
|
|
|
ASPNETCORE_URLS: http://+:8080
|
2026-07-20 10:30:01 +00:00
|
|
|
# CORS (for external agents and API clients)
|
|
|
|
|
Cors__AllowedOrigins: ${Cors__AllowedOrigins:-*}
|
2026-08-10 00:09:22 +02:00
|
|
|
# Monolith: internal HTTP calls (circuit-triggered) must target the
|
|
|
|
|
# container's own listener, NOT the host-mapped origin the browser sees.
|
|
|
|
|
API_BASE_URL: ${API_BASE_URL:-http://localhost:8080}
|
2026-08-20 18:13:59 +02:00
|
|
|
# Ollama (optional — daily summaries)
|
|
|
|
|
Ollama__Endpoint: http://ollama:11434
|
|
|
|
|
# Coturn (WebRTC relay)
|
|
|
|
|
Coturn__Url: turns:coturn:3478
|
|
|
|
|
# Redis (SignalR backplane, optional — scaling)
|
|
|
|
|
ConnectionStrings__Redis: redis:6379
|
|
|
|
|
# Sentry / GlitchTip (error tracking)
|
|
|
|
|
Sentry__Dsn: ${SENTRY_DSN:-}
|
|
|
|
|
Sentry__TracesSampleRate: ${SENTRY_TRACES_SAMPLE_RATE:-0.05}
|
|
|
|
|
Sentry__Release: ${SENTRY_RELEASE:-}
|
|
|
|
|
secrets:
|
|
|
|
|
- jwt_signing_key
|
|
|
|
|
- jwt_refresh_key
|
2026-07-18 11:30:55 +00:00
|
|
|
ports:
|
2026-07-20 10:30:01 +00:00
|
|
|
- "${WEB_PORT:-5000}:8080"
|
2026-07-20 14:04:42 +00:00
|
|
|
volumes:
|
|
|
|
|
- heimdall_data:/var/lib/heimdall
|
2026-08-20 18:13:59 +02:00
|
|
|
- dataprotection_keys:/root/.aspnet/DataProtection-Keys
|
2026-07-18 11:30:55 +00:00
|
|
|
depends_on:
|
|
|
|
|
postgresql:
|
|
|
|
|
condition: service_healthy
|
2026-08-20 18:13:59 +02:00
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
2026-07-18 11:30:55 +00:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/healthz"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 60s
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-07-27 04:56:16 +00:00
|
|
|
ntfy:
|
|
|
|
|
image: binwiederhier/ntfy:latest
|
|
|
|
|
container_name: heimdall-ntfy
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
command:
|
|
|
|
|
- "serve"
|
|
|
|
|
environment:
|
|
|
|
|
- TZ=Europe/Paris
|
2026-07-27 05:33:53 +00:00
|
|
|
- NTFY_AUTH_FILE=/var/lib/ntfy/auth
|
2026-07-27 04:56:16 +00:00
|
|
|
volumes:
|
|
|
|
|
- ntfy_data:/var/lib/ntfy
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-07-18 11:30:55 +00:00
|
|
|
heimdall-agent:
|
2026-08-27 18:56:57 +02:00
|
|
|
# Versioned tag via AGENT_IMAGE_TAG env var (ticket #97)
|
|
|
|
|
image: eltruncho/heimdall-agent:${AGENT_IMAGE_TAG:-latest}
|
2026-08-11 20:47:27 +02:00
|
|
|
# Host network: the agent must see the real camera LAN to run discovery.
|
|
|
|
|
# On a bridge network it only sees 172.x → the scanner skips (no local subnet).
|
|
|
|
|
network_mode: host
|
2026-07-18 11:30:55 +00:00
|
|
|
environment:
|
2026-08-11 20:47:27 +02:00
|
|
|
# 8080 is taken by ntfy on the host → listen on 8081
|
|
|
|
|
ASPNETCORE_URLS: http://+:8081
|
|
|
|
|
# Host network: Docker DNS names don't resolve → point HEIMDALL_CENTRAL_URL
|
|
|
|
|
# to the Central's public URL (e.g. https://heimdall.tordais.cc)
|
|
|
|
|
Agent__CentralUrl: ${HEIMDALL_CENTRAL_URL:?HEIMDALL_CENTRAL_URL is required (public URL of the Central, e.g. https://heimdall.tordais.cc)}
|
|
|
|
|
Agent__SiteToken: ${HEIMDALL_SITE_TOKEN:?HEIMDALL_SITE_TOKEN is required}
|
2026-07-19 16:07:32 +00:00
|
|
|
Agent__AgentName: ${HEIMDALL_AGENT_NAME:-agent-01}
|
|
|
|
|
Agent__HeartbeatIntervalSeconds: ${HEIMDALL_HEARTBEAT_INTERVAL:-30}
|
|
|
|
|
Agent__StateDirectory: /var/lib/heimdall
|
2026-08-28 01:11:12 +02:00
|
|
|
# MassTransit / RabbitMQ — host network can't resolve Docker DNS
|
|
|
|
|
RABBITMQ__HOST: ${RABBITMQ_HOST:-localhost}
|
|
|
|
|
RABBITMQ__PORT: ${RABBITMQ_PORT:-5672}
|
|
|
|
|
RABBITMQ__USER: ${RABBITMQ_USER:-heimdall}
|
2026-10-20 02:27:03 +02:00
|
|
|
RABBITMQ__PASSWORD: ${RABBITMQ_PASSWORD:?RABBITMQ_PASSWORD is required}
|
2026-10-11 12:27:20 +02:00
|
|
|
# ONNX Runtime GPU provider selection
|
|
|
|
|
ORT_PROVIDER: ${AGENT_ORT_PROVIDER:-CUDA}
|
|
|
|
|
ORT_CUDA_DEVICE_ID: ${AGENT_CUDA_DEVICE_ID:-0}
|
|
|
|
|
# GPU device exposure (NVIDIA CUDA, AMD ROCm, Intel VAAPI/iGPU)
|
|
|
|
|
# Override in docker-compose.local.yml for specific GPU hardware:
|
|
|
|
|
# deploy:
|
|
|
|
|
# resources:
|
|
|
|
|
# reservations:
|
|
|
|
|
# devices:
|
|
|
|
|
# - driver: nvidia
|
|
|
|
|
# count: 1
|
|
|
|
|
# capabilities: [gpu]
|
|
|
|
|
# Or for AMD ROCm:
|
|
|
|
|
# devices:
|
|
|
|
|
# - /dev/kfd:/dev/kfd
|
|
|
|
|
# - /dev/dri:/dev/dri
|
|
|
|
|
# Or for Intel iGPU/VAAPI:
|
|
|
|
|
# devices:
|
|
|
|
|
# - /dev/dri:/dev/dri
|
|
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
reservations:
|
|
|
|
|
devices:
|
|
|
|
|
- driver: nvidia
|
|
|
|
|
count: 1
|
|
|
|
|
capabilities: [gpu]
|
2026-07-19 16:07:32 +00:00
|
|
|
healthcheck:
|
2026-08-11 20:47:27 +02:00
|
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/healthz"]
|
2026-07-19 16:07:32 +00:00
|
|
|
interval: 30s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 15s
|
|
|
|
|
volumes:
|
|
|
|
|
- agent_state:/var/lib/heimdall
|
2026-07-18 11:30:55 +00:00
|
|
|
depends_on:
|
2026-07-20 17:22:56 +00:00
|
|
|
- heimdall
|
2026-07-18 11:30:55 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
2026-08-11 20:47:27 +02:00
|
|
|
# no networks: host networking
|
2026-07-18 11:30:55 +00:00
|
|
|
|
2026-08-28 01:11:12 +02:00
|
|
|
rabbitmq:
|
|
|
|
|
image: rabbitmq:3-management
|
|
|
|
|
hostname: rabbitmq
|
|
|
|
|
environment:
|
|
|
|
|
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER:-heimdall}
|
|
|
|
|
RABBITMQ_DEFAULT_PASS_FILE: /run/secrets/rabbitmq_password
|
|
|
|
|
secrets:
|
|
|
|
|
- rabbitmq_password
|
|
|
|
|
volumes:
|
|
|
|
|
- rabbitmq_data:/var/lib/rabbitmq
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
|
|
|
|
|
interval: 15s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 30s
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-08-30 10:09:25 +02:00
|
|
|
# ── Backup service (opt-in via --profile backup) ───────────────
|
|
|
|
|
|
|
|
|
|
backup:
|
|
|
|
|
image: postgres:17-alpine
|
|
|
|
|
container_name: heimdall-backup
|
|
|
|
|
profiles:
|
|
|
|
|
- backup
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_HOST: postgresql
|
|
|
|
|
POSTGRES_PORT: "5432"
|
|
|
|
|
POSTGRES_DB: ${POSTGRES_DB:-heimdall}
|
|
|
|
|
POSTGRES_USER: ${POSTGRES_USER:-heimdall}
|
|
|
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
|
|
|
|
# S3/Alarik config (optional — backup works local-only without these)
|
|
|
|
|
ALARIK_ENDPOINT: ${ALARIK_ENDPOINT:-}
|
|
|
|
|
ALARIK_ACCESS_KEY: ${ALARIK_ACCESS_KEY:-}
|
|
|
|
|
ALARIK_SECRET_KEY: ${ALARIK_SECRET_KEY:-}
|
|
|
|
|
ALARIK_BUCKET: ${ALARIK_BUCKET:-heimdall}
|
|
|
|
|
# Backup config
|
|
|
|
|
BACKUP_RETENTION_DAYS: ${BACKUP_RETENTION_DAYS:-30}
|
|
|
|
|
BACKUP_RETENTION_WEEKS: ${BACKUP_RETENTION_WEEKS:-12}
|
|
|
|
|
BACKUP_LOCAL_DIR: /backups
|
|
|
|
|
TZ: Europe/Paris
|
|
|
|
|
secrets:
|
|
|
|
|
- db_password
|
|
|
|
|
volumes:
|
|
|
|
|
- ./scripts:/scripts:ro
|
|
|
|
|
- backup_data:/backups
|
|
|
|
|
depends_on:
|
|
|
|
|
postgresql:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
|
|
|
command:
|
|
|
|
|
- |
|
|
|
|
|
# Read password from Docker secret file
|
|
|
|
|
if [ -f /run/secrets/db_password ]; then
|
|
|
|
|
export POSTGRES_PASSWORD="$(cat /run/secrets/db_password)"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
apk add --no-cache curl bash > /dev/null 2>&1 || true
|
|
|
|
|
curl -sSL https://dl.min.io/client/mc/release/linux-amd64/mc -o /usr/local/bin/mc 2>/dev/null || true
|
|
|
|
|
chmod +x /usr/local/bin/mc 2>/dev/null || true
|
|
|
|
|
chmod +x /scripts/*.sh
|
|
|
|
|
|
|
|
|
|
# Create crontab
|
|
|
|
|
echo "# Daily PostgreSQL backup at 02:00 UTC" > /tmp/crontab.txt
|
|
|
|
|
echo "0 2 * * * /scripts/backup.sh >> /var/log/backup.log 2>&1" >> /tmp/crontab.txt
|
|
|
|
|
echo "# Weekly Alarik mirror on Sundays at 03:00 UTC" >> /tmp/crontab.txt
|
|
|
|
|
echo "0 3 * * 0 /scripts/backup-alarik.sh >> /var/log/backup-alarik.log 2>&1" >> /tmp/crontab.txt
|
|
|
|
|
echo "# Log rotation weekly" >> /tmp/crontab.txt
|
|
|
|
|
echo "0 4 * * 0 if [ -f /var/log/backup.log ]; then mv /var/log/backup.log /var/log/backup.log.\$$(date +\%Y\%W); fi" >> /tmp/crontab.txt
|
|
|
|
|
|
|
|
|
|
crontab /tmp/crontab.txt
|
|
|
|
|
echo "Crontab installed:"
|
|
|
|
|
crontab -l
|
|
|
|
|
|
|
|
|
|
# Run crond in foreground
|
|
|
|
|
exec crond -f -l 2
|
|
|
|
|
|
2026-08-20 18:13:59 +02:00
|
|
|
# ── Optional services ──────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
coturn:
|
|
|
|
|
image: coturn/coturn:4.6
|
|
|
|
|
# TURN relay for WebRTC — network_mode host required for UDP ports.
|
|
|
|
|
command: >
|
|
|
|
|
-n --use-auth-secret
|
|
|
|
|
--static-auth-secret-file=/run/secrets/coturn_secret
|
|
|
|
|
--realm=${COTURN_REALM:-heimdall.local}
|
|
|
|
|
--fingerprint
|
|
|
|
|
--no-tlsv1
|
|
|
|
|
--no-tlsv1_1
|
|
|
|
|
--log-file=stdout
|
|
|
|
|
network_mode: host
|
|
|
|
|
secrets:
|
|
|
|
|
- coturn_secret
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
|
|
|
|
|
ollama:
|
|
|
|
|
image: ollama/ollama:latest
|
|
|
|
|
# Local LLM for daily summaries and event analysis.
|
|
|
|
|
# GPU passthrough: add --gpus all or mount /dev/dri for Intel/AMD.
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${OLLAMA_PORT:-11434}:11434"
|
|
|
|
|
volumes:
|
|
|
|
|
- ollama_data:/root/.ollama
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:11434/api/tags"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 30s
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
# Uncomment for GPU passthrough:
|
|
|
|
|
# deploy:
|
|
|
|
|
# resources:
|
|
|
|
|
# reservations:
|
|
|
|
|
# devices:
|
|
|
|
|
# - driver: nvidia
|
|
|
|
|
# count: all
|
|
|
|
|
# capabilities: [gpu]
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
image: redis:7-alpine
|
|
|
|
|
# SignalR backplane (scaling) + cache.
|
|
|
|
|
command: redis-server --requirepass ${REDIS_PASSWORD:-} --appendonly yes
|
|
|
|
|
ports:
|
|
|
|
|
- "${REDIS_PORT:-6379}:6379"
|
|
|
|
|
volumes:
|
|
|
|
|
- redis_data:/data
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 10s
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
networks:
|
|
|
|
|
- heimdall-net
|
|
|
|
|
|
2026-07-18 11:30:55 +00:00
|
|
|
volumes:
|
|
|
|
|
pgdata:
|
|
|
|
|
driver: local
|
2026-07-18 11:40:03 +00:00
|
|
|
alarik_storage:
|
2026-07-18 11:30:55 +00:00
|
|
|
driver: local
|
2026-07-19 16:07:32 +00:00
|
|
|
agent_state:
|
|
|
|
|
driver: local
|
2026-07-20 14:04:42 +00:00
|
|
|
heimdall_data:
|
|
|
|
|
driver: local
|
2026-07-27 04:56:16 +00:00
|
|
|
ntfy_data:
|
|
|
|
|
driver: local
|
2026-08-20 18:13:59 +02:00
|
|
|
dataprotection_keys:
|
|
|
|
|
driver: local
|
|
|
|
|
ollama_data:
|
|
|
|
|
driver: local
|
|
|
|
|
redis_data:
|
|
|
|
|
driver: local
|
2026-08-28 01:11:12 +02:00
|
|
|
rabbitmq_data:
|
|
|
|
|
driver: local
|
2026-08-30 10:09:25 +02:00
|
|
|
backup_data:
|
|
|
|
|
driver: local
|
2026-08-20 18:13:59 +02:00
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
|
db_password:
|
|
|
|
|
file: ./secrets/db_password
|
|
|
|
|
jwt_signing_key:
|
|
|
|
|
file: ./secrets/jwt_signing_key
|
|
|
|
|
jwt_refresh_key:
|
|
|
|
|
file: ./secrets/jwt_refresh_key
|
|
|
|
|
coturn_secret:
|
|
|
|
|
file: ./secrets/coturn_secret
|
|
|
|
|
alarik_admin_password:
|
|
|
|
|
file: ./secrets/alarik_admin_password
|
|
|
|
|
alarik_jwt:
|
|
|
|
|
file: ./secrets/alarik_jwt
|
|
|
|
|
smtp_password:
|
|
|
|
|
file: ./secrets/smtp_password
|
2026-08-28 01:11:12 +02:00
|
|
|
rabbitmq_password:
|
|
|
|
|
file: ./secrets/rabbitmq_password
|
2026-07-18 11:30:55 +00:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
heimdall-net:
|
|
|
|
|
driver: bridge
|