Keycloak: Update postgres
This commit is contained in:
parent
c173962d19
commit
00a96cee48
@ -3,20 +3,18 @@ version: '3.9'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14
|
image: postgres:15
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- "POSTGRES_DB={{ auth.db.name }}"
|
- "POSTGRES_DB={{ auth.db.name }}"
|
||||||
- "POSTGRES_USER={{ auth.db.user }}"
|
- "POSTGRES_USER={{ auth.db.user }}"
|
||||||
- "POSTGRES_PASSWORD={{ auth.db.password }}"
|
- "POSTGRES_PASSWORD={{ auth.db.password }}"
|
||||||
labels:
|
|
||||||
- "com.centurylinklabs.watchtower.scope=update"
|
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready"]
|
test: ["CMD-SHELL", "pg_isready", "-U", "keycloak"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
Loading…
Reference in New Issue
Block a user