mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-01-06 04:59:35 -06:00
docs(docker): add update info
This commit is contained in:
@@ -37,6 +37,42 @@ Version tags are also available (e.g. `1.2.3`) for both of these images.
|
||||
```
|
||||
6. Access the application at `http://localhost:3000`
|
||||
|
||||
## Updating
|
||||
|
||||
To update PatchMon to the latest version:
|
||||
|
||||
```bash
|
||||
docker compose up -d --pull
|
||||
```
|
||||
|
||||
This command will:
|
||||
- Pull the latest images from the registry
|
||||
- Recreate containers with updated images
|
||||
- Maintain your data and configuration
|
||||
|
||||
### Version-Specific Updates
|
||||
|
||||
If you're using specific version tags instead of `latest` in your compose file:
|
||||
|
||||
1. Update the image tags in your `docker-compose.yml`. For example:
|
||||
```yaml
|
||||
services:
|
||||
backend:
|
||||
image: ghcr.io/9technologygroup/patchmon-backend:1.2.7 # Update version here
|
||||
...
|
||||
frontend:
|
||||
image: ghcr.io/9technologygroup/patchmon-frontend:1.2.7 # Update version here
|
||||
...
|
||||
```
|
||||
|
||||
2. Then run the update command:
|
||||
```bash
|
||||
docker compose up -d --pull
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> Check the [releases page](https://github.com/9technologygroup/patchmon.net/releases) for version-specific changes and migration notes.
|
||||
|
||||
## Configuration
|
||||
|
||||
### Environment Variables
|
||||
|
||||
Reference in New Issue
Block a user