Self-host and operate

Releases

Three container images are published to GitHub Container Registry on every release. Every release is published to :beta first and reaches :1 only after it has been tested.

Image tags

ImagePurposeUsed by
ghcr.io/ju-li/automata-mcp-webManagement UI and MCP endpointDocker Compose, Railway
ghcr.io/ju-li/automata-mcp-telegram-bridgeTelegram bridgeDocker Compose, Railway
ghcr.io/ju-li/automata-mcp-aioEverything in one containerSingle container

The all-in-one image builds the web app and the bridge from the same commit as the other two, on top of Evolution's pinned image, so one version names the same code in all three.

Every image is built for linux/amd64. Evolution API is not an Automata image. The deployment's own Evolution server runs our fork, evolution-api-reforged 3.2.0; pin it by digest to ghcr.io/operational-intelligence-inc/evolution-api-reforged:3.2.0@sha256:ff7e1c89392c9e0ab21c503216ab9948b553c2778d6bc52f925e1c0dc2da796f. A server a user brings may still run stock evoapicloud/evolution-api 2.3.7, and the app works with both.

A release reaches its tags in two steps:

TagsWhen
X.Y.Z, beta, sha-<commit>As soon as the release is merged into the prod branch. Only after the images are pushed are the vX.Y.Z git tag and a GitHub prerelease created, so a tag always means its images exist
X.Y, X, latestOnce the release has been tested and promoted. The GitHub Release is then marked latest, and the MCP Registry listing is updated

Promotion retags the images that were tested rather than rebuilding them, so :1 runs exactly the digest that ran as :beta. When two releases are waiting as betas, beta follows the newer one.

Pick a tag

Use X.Y.Z when you need an exact, reproducible version, and sha-<commit> to run a specific commit. Use :beta to run each release as soon as it is published, before it reaches :1. To run code that has not been released, build from the repository with the root directory at / and the Dockerfile at apps/web/Dockerfile, apps/telegram-bridge/Dockerfile, or docker/aio/Dockerfile.

Upgrading and rollback

  1. Back up Postgres, or the whole /data volume for the single container.
  2. Pull the new image and restart the service.
  3. Confirm the web logs include [app-db] applied migrations.

Because migrations only move forward, never roll back by running an older image against an upgraded database. Restore Postgres from the backup taken before the upgrade instead. The same applies to a beta: a deployment that ran one cannot simply go back to the previous image, so try betas on a deployment whose database you can restore, or that you are willing to fix forward.

View source