Services and ports
This page describes every service defined in docker-compose.all-in-one.yml. Images come from ${OPENFLARE_REGISTRY} (default ghcr.io/becoolme) at tag ${OPENFLARE_IMAGE_TAG} unless noted. For the variables mentioned here, see Configuration.
Published ports
Section titled “Published ports”Only these services publish ports to the host. Everything else is reachable only inside Docker networks.
| Service | Host binding | Container port | Purpose | Default exposure |
|---|---|---|---|---|
traefik (profile tls) |
${VRT_TLS_BIND}:80 and :443 |
80, 443 | Public HTTPS and certificate challenge handling | 0.0.0.0 (all interfaces) |
console |
${CONSOLE_BIND}:8788 |
8788 | Management console | 127.0.0.1 |
plane |
${PLANE_BIND}:8787 |
8787 | Control plane API | 127.0.0.1 |
vrt-host |
${VRT_BIND}:${VRT_PORT} |
8080 | Edge HTTP listener | 127.0.0.1, port 8080 |
worker-dns |
127.0.0.1:${WORKERS_DNS_PORT} (UDP and TCP) |
5353 | Local DNS for *.<workers-domain> |
loopback, port 15353 |
Not published: postgres, redis, silo, cell-controller, vrt-provider, vrt-sql, updater and git-runner.
In public TLS mode, outside traffic reaches the stack only through Traefik on 80 and 443. The installer’s firewall check expects those two ports to be open. Keep the plane, console and edge ports on loopback.
Core services
Section titled “Core services”postgres
Section titled “postgres”| Image | postgres:16 |
| Purpose | The plane’s database (vrt_plane, user vrt). |
| Networks | backend (internal) |
| Volumes | plane-db at /var/lib/postgresql/data |
| Health check | pg_isready -U vrt -d vrt_plane every 2 seconds, up to 30 retries |
| Image | openflare-plane |
| Purpose | Control plane: stores workers, bundles and configuration, runs migrations, serves the management API. |
| Networks | default, backend, gitdeploy |
| Volumes | plane-bundles at /data/bundles, plane-assets at /data/assets |
| Ports | ${PLANE_BIND}:8787 |
| Depends on | postgres (healthy) |
| Health check | HTTP request to /healthz on port 8787 every 5 seconds, up to 12 retries |
console
Section titled “console”| Image | openflare-console |
| Purpose | Web console for managing workers. Sign in as admin. It calls the plane over the internal network and, when enabled, the updater. |
| Networks | default, backend, updatectl |
| Ports | ${CONSOLE_BIND}:8788 |
| Depends on | plane (started) |
| Health check | none defined |
Cell services
Section titled “Cell services”The “cell” is the edge: the processes that actually run workers.
cell-init
Section titled “cell-init”| Image | the plane image, run with node /init/init-cell.mjs as root |
| Purpose | One-shot job that runs on every up. Creates the cell in the plane, issues its pull token, renders the four cell service configurations and seeds shared secrets. It never overwrites existing files. |
| Networks | backend |
| Volumes | cell-run at /run/vrt, cell-config at /etc/vrt, the repository’s deploy/docker/all-in-one directory (read-only) |
| Depends on | plane (healthy) |
| Restart | never (it exits when finished) |
vrt-host
Section titled “vrt-host”| Image | openflare-host |
| Purpose | The edge: serves requests for workers on port 8080 and runs the worker runtime. |
| Networks | default |
| Volumes | cell-run, cell-config (read-only), cell-data at /data |
| Ports | ${VRT_BIND}:${VRT_PORT} to 8080 |
| Depends on | cell-init (completed successfully), vrt-sql (started) |
| Health check | Confirms that the listener and the worker runtime process are up (every 5 seconds, 20 second start period, 24 retries) |
| Runs as | ${VRT_UID}:${VRT_GID} (default 10001), restarts unless stopped |
cell-controller, vrt-provider and plane-loopback
Section titled “cell-controller, vrt-provider and plane-loopback”These three share the network namespace of vrt-host (network_mode: service:vrt-host). They talk to the host over 127.0.0.1, so they have no networks or published ports of their own.
| Service | Image | Purpose | Volumes | Depends on |
|---|---|---|---|---|
cell-controller |
openflare-cell-controller |
Cell controller; syncs configuration and storage mounts from the plane. | cell-run, cell-config (read-only), cell-cc-data |
vrt-host (healthy), plane-loopback (started) |
vrt-provider |
openflare-provider |
Provides object-storage mounts to workers. | cell-run, cell-config (read-only), cell-data (read-only) |
vrt-host (healthy) |
plane-loopback |
alpine/socat:1.8.0.3 |
Forwards 127.0.0.1:8787 inside the shared namespace to plane:8787. |
none | vrt-host (healthy) |
cell-controller and vrt-provider have health checks; plane-loopback has none.
vrt-sql
Section titled “vrt-sql”| Image | openflare-sql |
| Purpose | SQL service for workers’ SQL bindings. Reachable on the default network as vrt-sql.openflare.svc. |
| Volumes | cell-run (read-only), cell-config (read-only), cell-sql-data at /data |
| Depends on | cell-init (completed) |
| Health check | TCP listener check |
| Image | redis:7-alpine |
| Purpose | Key-value store for workers, protected by REDIS_PASSWORD. Append-only persistence is on and periodic snapshots are off. |
| Volumes | kv-data at /data |
| Health check | redis-cli ping |
silo and silo-init
Section titled “silo and silo-init”| Image | ${S3_IMAGE} (default pgsty/silo:RELEASE.2026-11-12T00-00-00Z) |
| Purpose | S3-compatible object storage for workers’ object bindings. Reachable as silo.openflare.svc on the default network. |
| Volumes | r2-data at /data |
| Health check | HTTP request to /minio/health/live on port 9000 |
silo-init uses the same image, starts after silo is healthy, creates the bucket (VRT_R2_BUCKET, default vrt-r2) and a restricted identity from the VRT_R2_BINDING_* keys, then exits.
worker-dns
Section titled “worker-dns”| Image | coredns/coredns:1.12.2 |
| Purpose | Answers *.<WORKERS_DOMAIN> with 127.0.0.1 for local use. See Local hostnames. |
| Config | OPENFLARE_DNS_COREFILE (default ./contrib/worker-dns/Corefile), mounted read-only |
| Ports | 127.0.0.1:${WORKERS_DNS_PORT} (UDP and TCP) |
Optional services
Section titled “Optional services”traefik (profile tls)
Section titled “traefik (profile tls)”| Image | ${TRAEFIK_IMAGE} (default traefik:v3.7.20) |
| Purpose | Public HTTPS entry point. Terminates TLS using certificates obtained over Cloudflare DNS challenge, and routes to the console, the optional API host, the webhook host (when enabled) and the edge. See TLS certificates. |
| Networks | default, fixed address ${VRT_TRAEFIK_IP} (default 172.31.42.250) |
| Volumes | Rendered static config (read-only), rendered dynamic directory (read-only), ${OPENFLARE_CONFIG_ROOT}/acme-ca (read-only), traefik-acme at /acme |
| Ports | ${VRT_TLS_BIND}:80 and :443 |
| Depends on | console (started), vrt-host (started) |
| Health check | none defined |
Traefik only reads configuration files (no Docker provider) and does not have the Docker socket. The host-path mounts are not auto-created; if a rendered file is missing, up fails rather than starting without TLS.
updater (profile update)
Section titled “updater (profile update)”| Image | openflare-updater |
| Purpose | Performs upgrades requested from the console: checks the release requirements, rewrites OPENFLARE_IMAGE_TAG, and restarts the stack. See Upgrades. |
| Networks | updatectl (shared only with the console) |
| Volumes | Docker socket, the compose directory at /openflare (read-write), the config root at the same absolute path, updater-state at /state |
| Ports | none |
| Health check | HTTP request to /healthz on port 8790 |
The Docker socket gives this container control over the host’s Docker. Enable it only if you want in-console upgrades.
git-runner (profile gitdeploy)
Section titled “git-runner (profile gitdeploy)”| Image | openflare-git-runner |
| Purpose | Receives build jobs from the plane, clones repositories using the GitHub App, builds them in short-lived containers started through the Docker socket, and reports results. See Git push deploy. |
| Networks | gitdeploy (shared only with the plane) |
| Volumes | Docker socket, the workspace directory (host path OPENFLARE_GIT_RUNNER_WORKSPACE_SOURCE, mounted at the same path) |
| Limits | 1 CPU, 512 MB memory, 256 processes |
| Depends on | plane (healthy) |
| Ports | none |
The build image (openflare-git-builder) is not a Compose service; the runner starts it on demand with the limits from GIT_BUILDER_*.
vrt-sql-follower (profile failover)
Section titled “vrt-sql-follower (profile failover)”A second SQL instance used by the project’s own failover tests. It is not for self-hosting and is not enabled by the installer.
Networks and isolation
Section titled “Networks and isolation”| Network | Type | Members | Purpose |
|---|---|---|---|
default |
bridge, subnet ${VRT_NET_SUBNET} (default 172.31.42.0/24) |
plane, console, cell services, traefik, silo, redis, worker-dns | Application traffic and the edge |
backend |
internal (no outside access) | postgres, plane, console, cell-init | Reaching the database |
updatectl |
bridge | console, updater | Upgrade requests, only when update is on |
gitdeploy |
bridge | plane, git-runner | Build jobs, only when gitdeploy is on |
What this gives you:
- The database is unreachable from the cell. Postgres is only on the internal
backendnetwork, which the edge services do not join. - Traefik has no Docker access. It reads static files and nothing else.
- The Docker socket is mounted in exactly two optional containers, the updater and the git runner, each on a private network shared with only one other service.
- Master secrets are files, not environment variables, in the containers that use them. See Secrets as files.
- Redis requires a password.
- Only
/api/internal/*is meant to be exposed on the optional API hostname; the management API is never published.
See Security for hardening advice.
Named volumes
Section titled “Named volumes”Deleting a volume deletes its data. docker compose down keeps them; down -v removes them. See Backups.
| Volume | Mounted by | Contents |
|---|---|---|
plane-db |
postgres | The plane database: teams, workers, publications, settings. |
plane-bundles |
plane | Uploaded worker bundles. |
plane-assets |
plane | Static assets of workers. |
cell-run |
cell-init, edge services | Runtime sockets and state under /run/vrt. |
cell-config |
cell-init (writes), edge services (read-only) | Rendered cell configuration and shared secrets under /etc/vrt. |
cell-data |
vrt-host, vrt-provider (read-only) | Edge runtime data and cached assets. |
cell-cc-data |
cell-controller | Cell controller state. |
cell-sql-data |
vrt-sql | Data of workers’ SQL databases. |
kv-data |
redis | Data of workers’ key-value storage. |
r2-data |
silo | Object storage contents. |
traefik-acme |
traefik | Certificate storage (/acme). |
updater-state |
updater | Updater state. |
Data you must keep consistent when restoring: plane-db together with the PLANE_SECRETS_KEY that encrypted its secrets, and the cell-config volume together with cell-sql-data, kv-data and r2-data.