Merge pull request #48 from 9technologygroup/docker_tweaks

This commit is contained in:
9 Technology Group LTD
2025-09-25 08:40:35 +01:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

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

View File

@@ -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:

View File

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