chore: Upgrade PostgreSQL to 12.7

https://www.postgresql.org/docs/release/12.7/
This commit is contained in:
Simon 2021-05-17 14:18:10 +02:00
parent 2442fd891b
commit cee207e504
7 changed files with 11 additions and 13 deletions

View File

@ -70,6 +70,7 @@ Services :
- [ ] [Traefik] Mettre en place les _metrics_ - [ ] [Traefik] Mettre en place les _metrics_
- [ ] [Traefik] Mettre en place l'_accesslog_ - [ ] [Traefik] Mettre en place l'_accesslog_
- [ ] [WireGuard] Ajouter le service pour la création de tunnel VPN - [ ] [WireGuard] Ajouter le service pour la création de tunnel VPN
- [ ] [PostgreSQL] Faire la mise à jour à la [version 13](https://www.postgresql.org/docs/release/13.0/)
Réalisées : Réalisées :

View File

@ -17,7 +17,7 @@ CMD_PROTOCOL_USESSL=true
# DATABASE # DATABASE
# Voir la description ../postgres/README.md # Voir la description ../postgres/README.md
POSTGRES_IMAGE=postgres:12.5-alpine POSTGRES_IMAGE=postgres:12.7-alpine
POSTGRES_USER=user-example POSTGRES_USER=user-example
POSTGRES_PASSWORD=password-example POSTGRES_PASSWORD=password-example
POSTGRES_DB=postgres-database-name-example POSTGRES_DB=postgres-database-name-example

View File

@ -24,7 +24,7 @@ DOMAIN=${GITEA_DOMAIN}
# DATABASE # DATABASE
POSTGRES_IMAGE=postgres:12.5-alpine POSTGRES_IMAGE=postgres:12.7-alpine
POSTGRES_USER=aetig POSTGRES_USER=aetig
POSTGRES_PASSWORD=$not$safe$password! POSTGRES_PASSWORD=$not$safe$password!
POSTGRES_DB=aetig POSTGRES_DB=aetig

View File

@ -19,7 +19,7 @@ DISABLE_GRAVATAR=true
# DATABASE # DATABASE
# Voir la description ../postgres/README.md # Voir la description ../postgres/README.md
POSTGRES_IMAGE=postgres:12.5-alpine POSTGRES_IMAGE=postgres:12.7-alpine
POSTGRES_USER=user-example POSTGRES_USER=user-example
POSTGRES_PASSWORD=password-example POSTGRES_PASSWORD=password-example
POSTGRES_DB=postgres-database-name-example POSTGRES_DB=postgres-database-name-example

View File

@ -17,7 +17,7 @@ NEXTCLOUD_ADMIN_PASSWORD: password
# DATABASE # DATABASE
# Voir la description ../postgres/README.md # Voir la description ../postgres/README.md
POSTGRES_IMAGE=postgres:12.5-alpine POSTGRES_IMAGE=postgres:12.7-alpine
POSTGRES_USER=user-example POSTGRES_USER=user-example
POSTGRES_PASSWORD=password-example POSTGRES_PASSWORD=password-example
POSTGRES_DB=postgres-database-name-example POSTGRES_DB=postgres-database-name-example

View File

@ -1,6 +1,3 @@
POSTGRES_IMAGE=postgres:12.5-alpine
POSTGRES_USER=user-example POSTGRES_USER=user-example
POSTGRES_PASSWORD=password-example POSTGRES_PASSWORD=password-example
POSTGRES_DB=postgres-database-name-example POSTGRES_DB=postgres-database-name-example
POSTGRES_CONTAINER_NAME=postgres
POSTGRES_VOLUME_NAME=postgres

View File

@ -2,17 +2,17 @@ version: "3.8"
volumes: volumes:
postgres: postgres:
name: ${POSTGRES_VOLUME_NAME} name: ${POSTGRES_VOLUME_NAME:-postgres}
services: services:
postgres: postgres:
container_name: ${POSTGRES_CONTAINER_NAME} container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
image: ${POSTGRES_IMAGE} image: ${POSTGRES_IMAGE:-postgres:12.7-alpine}
restart: always restart: always
environment: environment:
POSTGRES_USER: ${POSTGRES_USER} POSTGRES_USER: ${POSTGRES_USER:?err}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?err}
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB:?err}
volumes: volumes:
- postgres:/var/lib/postgresql/data - postgres:/var/lib/postgresql/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro