Please check the documentation, and make a backup.
The steps are:
- Turn off all services
- Delete the containers
- Go to
/data/portainer/compose/1
- Pull the new images:
docker compose --env-file stack.env pull
- Run the next:
docker compose --env-file stack.env run --rm inventree-server invoke update