diff --git a/docker-compose-traefik.yml b/docker-compose-traefik.yml index 468314f..da7ad43 100644 --- a/docker-compose-traefik.yml +++ b/docker-compose-traefik.yml @@ -8,7 +8,7 @@ services: volumes: - pgdata:/var/lib/postgresql healthcheck: - test: ["CMD-SHELL", "pg_isready -U imap"] + test: ["CMD-SHELL", "pg_isready -U imap -d imapcopier"] interval: 5s timeout: 3s retries: 5 diff --git a/docker-compose.yml b/docker-compose.yml index dbd63e0..cda996b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - pgdata:/var/lib/postgresql healthcheck: - test: ["CMD-SHELL", "pg_isready -U imap imapcopier"] + test: ["CMD-SHELL", "pg_isready -U imap -d imapcopier"] interval: 5s timeout: 3s retries: 5