Self-hosted instances send one anonymous heartbeat per day to
telemetry.kodus.io, with aggregated counters only. Set KODUS_TELEMETRY_DISABLED=true to opt out. See Anonymous Telemetry for what is sent.Docker Compose
Run these steps from thekodus-installer directory.
Before the upgrade, back up PostgreSQL, MongoDB and the .env file. Keep the existing API_CRYPTO_KEY with the backup so encrypted credentials remain readable after restoration.
1
Update the installer
docker-compose.yml, .env.example and the required-variable list in step with the release. Compare .env.example with your .env and add any variable you are missing.2
Set the version
In
.env, set IMAGE_TAG to the release you want, for example IMAGE_TAG=2.2.11. Versions are listed on the kodus-ai releases page as Self-Hosted Release. Without IMAGE_TAG the installer uses latest, which Docker only re-pulls when you ask it to.3
Pull the images and recreate the containers
api container runs the database migrations when it starts.4
Check the result
pgdata (PostgreSQL), mongodbdata (MongoDB), rabbitmq-data-prod (RabbitMQ) and log_volume. Docker prefixes all but rabbitmq-data-prod with the Compose project name; docker volume ls shows them. docker compose down keeps them, and docker compose down -v deletes them. Back up PostgreSQL and MongoDB before an upgrade; migrations do not revert.
If you use the analytics worker, start it again after the upgrade with docker compose --profile analytics up -d worker-analytics.
Kubernetes
Chart versions pin the Kodus release. To move to a new release, upgrade the chart or setimageTag; the migration job runs before the pods roll. See Kubernetes & OpenShift.