diff --git a/docker-compose.yml.j2 b/docker-compose.yml.j2 index d534706..0701852 100644 --- a/docker-compose.yml.j2 +++ b/docker-compose.yml.j2 @@ -65,6 +65,7 @@ services: {% endfor %} {% endif %} {% endif %} + healthcheck: test: ["CMD-SHELL", "pg_isready -U {{ template.env.db_user }}"] interval: 5s