Check out the Changelog before upgrading!
Pull the new images and restart the stack:
docker-compose pull
docker-compose up
-
Pull the new changes from the git repository, checkout the new version and then build the new release:
git pull git checkout $(git describe --tags) mix deps.get --only prod npm install --prefix ./assets && npm run deploy --prefix ./assets mix phx.digest MIX_ENV=prod mix release
-
Most upgrades requires to run new database migrations. If so continue with the following command:
_build/prod/rel/teslamate/bin/teslamate eval "TeslaMate.Release.migrate"
-
Finally, re-import the dashboards.