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:
- database:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
test: ["CMD-SHELL", "pg_isready -U hedgedoc"]
interval: 5s
timeout: 5s
retries: 5

View file

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

View file

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