Mise à jour de la version postgres

This commit is contained in:
Navas 2023-02-28 11:58:42 +01:00
parent b75b13b366
commit ca31766e24

View file

@ -23,13 +23,15 @@ services:
db: db:
image: postgres:13 image: postgres:14
volumes: volumes:
- {{ docker_healthchecks_data_dir }}/{{ docker_healthchecks_service_id }}/postgresql-data:/var/lib/postgresql/data - {{ docker_healthchecks_data_dir }}/{{ docker_healthchecks_service_id }}/postgresql-data:/var/lib/postgresql/data
environment: environment:
POSTGRES_DB: "{{ docker_healthchecks_db }}" POSTGRES_DB: "{{ docker_healthchecks_db }}"
POSTGRES_USER: "{{ docker_healthchecks_db_user }}" POSTGRES_USER: "{{ docker_healthchecks_db_user }}"
POSTGRES_PASSWORD: "{{ docker_healthchecks_db_password }}" POSTGRES_PASSWORD: "{{ docker_healthchecks_db_password }}"
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
networks: networks:
- healthchecks - healthchecks