diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index 94a046373fb59..fa5ed880e9935 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -5,7 +5,7 @@ services: POSTGRES_USER: &pguser odoo POSTGRES_PASSWORD: &pgpassword odoo healthcheck: - test: ["CMD-SHELL", "pg_isready"] + test: ["CMD-SHELL", "pg_isready -h postgres"] interval: 5s timeout: 5s retries: 5