From ff59847397750bfe89cda51dbb18c67fc0ae38f3 Mon Sep 17 00:00:00 2001 From: MaximilianKohler Date: Mon, 28 Oct 2024 03:34:03 -0700 Subject: [PATCH] Update upgrade.md --- docs/docs/content/upgrade.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/content/upgrade.md b/docs/docs/content/upgrade.md index 244500f72..f304785a2 100644 --- a/docs/docs/content/upgrade.md +++ b/docs/docs/content/upgrade.md @@ -16,9 +16,11 @@ If it's not running as a service, `pkill -9 listmonk` will stop the listmonk pro ## Docker > Instructions for versions above v4.x.x using the latest [docker-compose.yml](https://github.com/knadh/listmonk/blob/master/docker-compose.yml) file. -- `docker compose down app` and stop the app container. -- `docker compose pull` to pull the latest version from DockerHub. -- `docker compose up app -d` to automatically run the upgrade and start listmonk. +``` +docker-compose down +docker-compose pull && docker-compose run --rm app ./listmonk --upgrade +docker-compose up -d app db +``` ## Railway - Head to your dashboard, and select your Listmonk project.