Skip to content

Deploy on premises with Docker Compose

This directory is the Docker Compose deployment surface: docker-compose.yml (the cp and caddy services), Caddyfile, .env.example (all configuration), docker-compose.macos.yml (the Mac overlay), backup.sh / restore.sh, load-images.sh and release.sh.

The procedures are in the user guide:

Page What it covers
Deploy with Docker Compose Prerequisites, .env, starting from source or from the release images, the first administrator
Run on an Apple Silicon Mac The macOS overlay on colima, OrbStack or Docker Desktop, and the native package in a Linux VM
When workspaces cannot reach the CP The workspace listener (AF_CP_INTERNAL_LISTEN / AF_CP_INTERNAL_URL)
Back up and restore backup.sh and restore.sh
Upgrade A new VERSION / WS_IMAGE, and moving workspaces to the new image
Install into a closed network A registry mirror, or release.sh --save with load-images.sh
Find the cause from the symptom The three constraints of driving Docker from a container, and troubleshooting
Other operational controls Protecting the compose host and the host’s cloud identity
Self-hosting at a glance What the operator is responsible for, and the disclaimer on autonomous agents

In a release bundle these links point at the release’s tag on GitHub; the same pages are also in the Console’s user guide.

For agents

Send this prompt to your agent to read this page.

Read https://agent-fleet.org/docs/operate/runbooks/compose/index.md