Merge pull request 'Mise à jour de Postgres + configuration' (#8) from postgres into main
Reviewed-on: https://git.weko.io/resilien/services/pulls/8
This commit is contained in:
commit
23c1af409a
|
@ -7,12 +7,14 @@ volumes:
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
|
container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
|
||||||
image: ${POSTGRES_IMAGE:-postgres:13.4-alpine}
|
image: ${POSTGRES_IMAGE:-postgres:14.1-alpine}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${POSTGRES_USER:?err}
|
POSTGRES_USER: ${POSTGRES_USER:?err}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?err}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?err}
|
||||||
POSTGRES_DB: ${POSTGRES_DB:?err}
|
POSTGRES_DB: ${POSTGRES_DB:?err}
|
||||||
|
PUID: ${POSTGRES_PUID:-1000}
|
||||||
|
PGID: ${POSTGRES_PGID:-1000}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
|
Loading…
Reference in New Issue