Compare commits

..

2 commits

Author SHA1 Message Date
Gitouche 80dc6bc895 gitea : fix healthcheck postgresql 2023-08-10 23:34:49 +02:00
Gitouche 56b3d4a03c synapse : fix healthcheck postgresql 2023-08-10 23:33:50 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ services:
volumes: volumes:
- gitea-pgsql:/var/lib/postgresql/data:Z - gitea-pgsql:/var/lib/postgresql/data:Z
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U gitea"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5

View file

@ -6,7 +6,7 @@ services:
volumes: volumes:
- matrixdotorg_synapse-pgsql:/var/lib/postgresql/data/:Z - matrixdotorg_synapse-pgsql:/var/lib/postgresql/data/:Z
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U synapse"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5