lib.itmens/docs/upgrade.md
2024-06-06 16:28:25 -04:00

21 lines
483 B
Markdown

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