mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-26 17:43:33 +00:00
Merge pull request #48 from 9technologygroup/docker_tweaks
This commit is contained in:
@@ -10,8 +10,8 @@ PatchMon is a containerised application that monitors system patches and updates
|
|||||||
|
|
||||||
## Images
|
## Images
|
||||||
|
|
||||||
- **Backend**: `ghcr.io/9technologygroup/patchmon-backend:latest`
|
- **Backend**: [ghcr.io/9technologygroup/patchmon-backend:latest](https://github.com/9technologygroup/patchmon.net/pkgs/container/patchmon-backend)
|
||||||
- **Frontend**: `ghcr.io/9technologygroup/patchmon-frontend:latest`
|
- **Frontend**: [ghcr.io/9technologygroup/patchmon-frontend:latest](https://github.com/9technologygroup/patchmon.net/pkgs/container/patchmon-frontend)
|
||||||
|
|
||||||
Version tags are also available (e.g. `1.2.3`) for both of these images.
|
Version tags are also available (e.g. `1.2.3`) for both of these images.
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ services:
|
|||||||
- ./compose_dev_data/db:/var/lib/postgresql/data
|
- ./compose_dev_data/db:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"]
|
test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"]
|
||||||
interval: 10s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 7
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: postgres:17-alpine3.22
|
image: postgres:17-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: patchmon_db
|
POSTGRES_DB: patchmon_db
|
||||||
@@ -10,9 +10,9 @@ services:
|
|||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"]
|
test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"]
|
||||||
interval: 10s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 7
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: ghcr.io/9technologygroup/patchmon-backend:latest
|
image: ghcr.io/9technologygroup/patchmon-backend:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user