Mise à jour de la version postgres
This commit is contained in:
parent
b75b13b366
commit
ca31766e24
1 changed files with 3 additions and 1 deletions
|
@ -23,13 +23,15 @@ services:
|
|||
|
||||
|
||||
db:
|
||||
image: postgres:13
|
||||
image: postgres:14
|
||||
volumes:
|
||||
- {{ docker_healthchecks_data_dir }}/{{ docker_healthchecks_service_id }}/postgresql-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: "{{ docker_healthchecks_db }}"
|
||||
POSTGRES_USER: "{{ docker_healthchecks_db_user }}"
|
||||
POSTGRES_PASSWORD: "{{ docker_healthchecks_db_password }}"
|
||||
healthcheck:
|
||||
test: ['CMD', 'pg_isready', '-U', 'postgres']
|
||||
networks:
|
||||
- healthchecks
|
||||
|
||||
|
|
Loading…
Reference in a new issue