Skip to content

Commit

Permalink
Add explicit instructions for older docker-compose files.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 28, 2024
1 parent 319053d commit f6ed13a
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions docs/docs/content/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,22 @@ If you installed listmonk as a service, you will need to stop it before overwrit
If it's not running as a service, `pkill -9 listmonk` will stop the listmonk process.

## 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.
**Important:** The following instructions are for the new [docker-compose.yml](https://github.com/knadh/listmonk/blob/master/docker-compose.yml) file for v4.x.x onwards.

```shell
docker compose down app
docker compose pull
docker compose up app -d
```

If you are using an older docker-compose.yml file (versions older than v4.x.x), you have to run the `--upgrade` step manually.

```shell
docker-compose down
docker-compose pull && docker-compose run --rm app ./listmonk --upgrade
docker-compose up -d app db
```

- `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.

## Railway
- Head to your dashboard, and select your Listmonk project.
Expand Down

0 comments on commit f6ed13a

Please sign in to comment.