# Docker

> The engine's image and the compose file with MinIO and Postgres.

Applies to: the Sypnia engine (open source, self-hosted).  
Source: https://files.docs.sypnia.com/self-hosting/docker/

For agents: Files Docker: ghcr.io/sespinosav/sypnia-files (amd64/arm64, non-root) runs sypnia-files serve on :7500, install on first start; compose adds Postgres 16, MinIO, ClamAV when SYPNIA_FILES_SCAN=clamav; put a CDN/proxy in front; private until release.

```bash
docker run -p 7500:7500 --env-file .env ghcr.io/sespinosav/sypnia-files:latest
```

The image (amd64 and arm64, non-root) runs `sypnia-files serve`; on first start with an empty database it runs `install`. The compose file in the repository adds Postgres 16 and MinIO, and ClamAV when `SYPNIA_FILES_SCAN=clamav`. Put a CDN or a reverse proxy in front for public files and HTTPS. The image is private until the first release.
