lib.itmens/docs/upgrade.md

22 lines
483 B
Markdown
Raw Normal View History

2024-06-05 21:53:02 -04:00
Upgrade
-------
Check the [release notes](https://github.com/neodb-social/neodb/releases), update `compose.yml` and `.env` as instructed.
If there is `compose.override.yml`, make sure it's compatible with the updated `compose.yml`.
Pull the latest container image
```bash
docker compose --profile production pull
```
Restart the entire cluster:
```bash
docker compose --profile production up -d
```
Optionally, clean up old images:
```bash
docker system prune -af --volumes
```