Upgrading
./ontoportal start pulls the images of the tags set in .env before starting the containers. Upgrading is therefore a matter of choosing the tags and starting again.
Pinned versions
When the images are pinned to a release (API_TAG, NCBO_CRON_TAG, UI_TAG in .env, see Configuration), change these tags and run:
./ontoportal start --no-provision
--no-provision skips provisioning (default account and starter ontology), which is only meant for a new portal.
Read the release notes before changing tags: some releases need a migration step on the data.
master images
master moves: each ./ontoportal start gets the latest master images. To pull them without restarting, run ./ontoportal update (or ./ontoportal update api, ./ontoportal update ui for one side only).
Updating ontoportal_docker itself
Pull the repository (git pull) to get changes to the service topology and the nginx configuration, and compare your .env with the new .env.sample for settings that were added.