Upgrading ImagineAPI
🏎️
If this looks like a lot of work, we do all this for you and more on our Cloud Plans (opens in a new tab).
Get the latest code from Github
To get the latest version of ImagineAPI.dev run:
git pull
💡
git pull
most often will not contain any changes. Continue with the rest of the update steps either way.
Get Docker image updates
To get the latest docker-compose.yml
and related files.
Then pull the new Docker image(s):
docker compose pull
You'll see the Docker images that have updates get downloaded:
$ docker compose pull
Pulling database ... done
Pulling rabbitmq ... done
Pulling api ... done
Pulling bot ... done
Pulling autoheal ... done
Re-create Docker containers using new images
Then start the containers that got updates:
docker compose up -d