# Try it locally with Docker

> Run the engine on your machine to try the API, the CLI and builds, deploying to a local target.

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

For agents: Run locally with Docker: clone sypnia-run, docker compose up (engine, Postgres, LocalStack, local edge proxy), run use http://localhost:7400, run deploy --target local serves at http://<app>.localhost:7480; for trying and developing, not production.

The engine's real target is AWS, but you can try the API, the CLI and builds on your machine:

```bash
git clone https://github.com/sespinosav/sypnia-run && cd sypnia-run
docker compose up
npx @sypnia/run use http://localhost:7400
npx @sypnia/run deploy --target local
```

The compose file starts the engine, Postgres and **LocalStack** (an AWS emulator) and a local edge proxy. Deploys with `--target local` run static sites and functions on `http://<app>.localhost:7480`, and containers with Docker. It is for trying Run and developing the engine, not for production.

> **Note**
>
> The repository lives in Sypnia Git, like all of Sypnia's code, with a read-only mirror on GitHub at the address above.
