Files
Heimdall/.env.example
T
Arnaud Dartois 6d5ec0c201 feat(mvp): cameras API, Docker production, tests, security, Makefile
- Cameras API: CRUD with service/controller/DTOs + Blazor page
- Docker: production-grade compose with healthchecks, .env, Makefile, networks
- Healthchecks: /healthz (liveness) and /readyz (readiness) endpoints
- Testing: 13 integration tests (Auth, Sites, Users, Cameras controllers)
  - Users: create, list, lock, reset-password
  - Cameras: create with site, list by site
- Environment: .env.example, docker-compose.override.yml for dev
- Infrastructure: ICameraService registered in DI
2026-07-17 06:18:56 +00:00

27 lines
800 B
Bash

# ─── Heimdall — Environment Variables ──────────────────────────────
# Copy this file to .env and adjust for your deployment
# Database
DATABASE_URL=Host=postgresql;Port=5432;Database=heimdall;Username=heimdall;Password=heimdall
# JWT (change in production!)
JWT__KEY=ChangeMeToAtLeast32BytesLongKeyInProd!
JWT__ISSUER=heimdall
JWT__AUDIENCE=heimdall-api
# ASP.NET
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=http://+:8080
# CORS
Cors__AllowedOrigins=https://localhost:5001,http://localhost:5000
# MinIO
MINIO_ROOT_USER=heimdall
MINIO_ROOT_PASSWORD=heimdall123
# Agent (set per agent instance)
HEIMDALL_CENTRAL_URL=http://heimdall-central:8080
HEIMDALL_SITE_TOKEN=replace-with-actual-token
HEIMDALL_AGENT_NAME=agent-01