# Docker Compose deployment The required stack is PostgreSQL and Heimdall Central. The Agent is deployed separately on each camera-network host; the Central UI supplies a digest-pinned Agent Compose file for each site. RustFS, ntfy, Ollama, TURN, Redis and scheduled backups have separate Compose files and can be left out. ## Central and database For a new Linux server, clone this repository and launch the interactive installer from its root: ```sh git clone https://sources.tordais.cc/arnaud.dartois/Heimdall.git cd Heimdall ./install/install-server.sh ``` The installer uses the server image `eltruncho/heimdall:latest` from Docker Hub, creates a minimal Central + PostgreSQL Compose project, generates PostgreSQL and JWT secrets, and writes them to a mode-600 `.env` and secret file in the chosen installation directory. It asks which optional services to prepare and whether to start each one. Integration URLs and credentials remain configured in Central's UI. Review the generated files before starting the stack. The repository's `docker/docker-compose.prod.yml` is a manual alternative for operators who need a custom layout. It does not use files generated by the interactive installer. Keep `docker/.env` private (mode 600) and create a PostgreSQL password file; its value must match the password in `DATABASE_URL`. The `.env.example` file contains development credentials and must not be used unchanged for a production deployment. ```sh umask 077 mkdir -p -m 700 docker/secrets db_password="$(openssl rand -hex 32)" printf '%s' "$db_password" > docker/secrets/db_password cat > docker/.env <