Compare commits

..

3 commits

Author SHA1 Message Date
Gitouche c47deeeb6b synapse : pas de rapport entre le nom du container et les parametres de la DB 2023-08-10 23:37:49 +02:00
Gitouche fa245404e6 hedgedoc : fix healthcheck postgresql 2023-08-10 23:36:39 +02:00
Gitouche 17be38591e vaultwarden : fix healthcheck postgresql 2023-08-10 23:35:55 +02:00
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -22,8 +22,8 @@ fi
cat <<EOT >> .env cat <<EOT >> .env
POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD} POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD}
POSTGRES_USER=${container_name} POSTGRES_USER=synapse
POSTGRES_DB=${container_name} POSTGRES_DB=synapse
POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
EOT EOT

View file

@ -6,7 +6,7 @@ services:
volumes: volumes:
- database:${database_path}:Z - database:${database_path}:Z
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U vaultwarden"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5