From f9de87d97a4089012334e3dd490d73e9ff762e9c Mon Sep 17 00:00:00 2001 From: Yuriy Kirillov Date: Sat, 1 Aug 2026 01:15:25 +0200 Subject: [PATCH] fix: mount postgres-18 volume at /var/lib/postgresql PostgreSQL 18+ images expect the mount at /var/lib/postgresql and create a versioned subdirectory (18/main) inside it. Mounting at /data causes startup failure. Closes #77 Co-Authored-By: Claude Sonnet 4.6 --- apps/postgres-18.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/postgres-18.yml b/apps/postgres-18.yml index 72cc536..dfb8434 100644 --- a/apps/postgres-18.yml +++ b/apps/postgres-18.yml @@ -8,7 +8,7 @@ services: POSTGRES_PASSWORD: ${APPS_DATABASE_PASSWORD} POSTGRES_USER: ${APP_NAME} volumes: - - ../apps-data/${APP_NAME}/postgres:/var/lib/postgresql/data + - ../apps-data/${APP_NAME}/postgres:/var/lib/postgresql healthcheck: test: ["CMD", "pg_isready", "-d", "${APP_NAME}", "-U", "${APP_NAME}"] start_period: 30s