From 98a7019e1f775455c7f4e2abddb314d8895e7445 Mon Sep 17 00:00:00 2001 From: Adam Ronald Gray <82571100+agray998@users.noreply.github.com> Date: Wed, 8 Jul 2026 15:51:27 +0100 Subject: [PATCH] Update Postgres image and restart policy in compose.yaml Edited version of postgres image in gitea-postgres - version 18+ fails to start properly. Also changed restart policy for both services in gitea-postgres to unless-stopped to enable easier stopping Signed-off-by: Adam Ronald Gray <82571100+agray998@users.noreply.github.com> --- gitea-postgres/compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitea-postgres/compose.yaml b/gitea-postgres/compose.yaml index 955ca496b..8c66a997c 100644 --- a/gitea-postgres/compose.yaml +++ b/gitea-postgres/compose.yaml @@ -7,18 +7,18 @@ services: - DB_NAME=gitea - DB_USER=gitea - DB_PASSWD=gitea - restart: always + restart: unless-stopped volumes: - git_data:/data ports: - 3000:3000 db: - image: postgres:alpine + image: postgres:17-alpine environment: - POSTGRES_USER=gitea - POSTGRES_PASSWORD=gitea - POSTGRES_DB=gitea - restart: always + restart: unless-stopped volumes: - db_data:/var/lib/postgresql/data expose: