Keycloak: Update postgres

This commit is contained in:
Tobias Manske 2023-08-12 03:17:32 +02:00
parent c173962d19
commit 00a96cee48
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -3,20 +3,18 @@ version: '3.9'
services:
postgres:
image: postgres:14
image: postgres:15
restart: always
environment:
- "POSTGRES_DB={{ auth.db.name }}"
- "POSTGRES_USER={{ auth.db.user }}"
- "POSTGRES_PASSWORD={{ auth.db.password }}"
labels:
- "com.centurylinklabs.watchtower.scope=update"
volumes:
- pg_data:/var/lib/postgresql/data
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: ["CMD-SHELL", "pg_isready", "-U", "keycloak"]
interval: 10s
timeout: 5s
retries: 5