From d81ac555d11aa5ca0c0a8b8923af4f779ab147b6 Mon Sep 17 00:00:00 2001 From: Robert Oleynik Date: Wed, 27 Nov 2024 17:28:10 +0100 Subject: [PATCH 1/2] update pg_isready args to database configuration --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a1f0e549c0..879f777e4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -222,7 +222,7 @@ services: POSTGRES_USER: webknossos_user POSTGRES_PASSWORD: secret_password healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -h 127.0.0.1 -p 5432"] + test: ["CMD-SHELL", "pg_isready -d webknossos -U webknossos_user -h 127.0.0.1 -p 5432"] interval: 2s timeout: 5s retries: 30 From 763003e5b78e393289c5d095b6f0e6ec4fa8faf7 Mon Sep 17 00:00:00 2001 From: Robert Oleynik Date: Tue, 3 Dec 2024 15:47:24 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.unreleased.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 8a3c9a0f3d..752cda3287 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -36,6 +36,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released - Fixed a bug where trying to delete a non-existing node (via the API, for example) would delete the whole active tree. [#8176](https://github.com/scalableminds/webknossos/pull/8176) - Fixed a bug where dataset uploads would fail if the organization directory on disk is missing. [#8230](https://github.com/scalableminds/webknossos/pull/8230) - Fixed some layout issues in the upload view. [#8231](https://github.com/scalableminds/webknossos/pull/8231) +- Fixed `FATAL: role "postgres" does not exist` error message in Docker compose. [#8240](https://github.com/scalableminds/webknossos/pull/8240) ### Removed - Removed support for HTTP API versions 3 and 4. [#8075](https://github.com/scalableminds/webknossos/pull/8075)