# Docker

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

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

For agents: Design Docker: docker run -p 7700:7700 with DATABASE_URL, STORAGE_URL, PUBLIC_URL, GIT_PROVIDER + GIT_TOKEN, optional SYPNIA_DESIGN_AI_URL/KEY; image includes headless Chromium (about 1 GB memory per concurrent render; RENDER_CONCURRENCY). Compose file adds Postgres 16 and MinIO. Point the CLI with design use http://localhost:7700.

```bash
docker run -p 7700:7700 \
  -e DATABASE_URL=postgres://… -e STORAGE_URL=s3://design?endpoint=http://minio:9000 \
  -e PUBLIC_URL=https://design.example.com \
  -e GIT_PROVIDER=github -e GIT_TOKEN=… \
  ghcr.io/sespinosav/sypnia-design:latest
```

The image includes headless Chromium for renders and the PDF. Give it about 1 GB of memory per render running at the same time (`RENDER_CONCURRENCY`, default 2).

The compose file in the repository adds Postgres 16 and MinIO:

```bash
git clone https://github.com/sespinosav/sypnia-design && cd sypnia-design/deploy
docker compose up -d
npx @sypnia/design use http://localhost:7700
```

**You should see:**`design whoami` answers with your engine's address.

Without `SYPNIA_DESIGN_AI_URL`, AI help is off and proposals come from people or from agents using the skills.
