diff --git a/docker-compose.yml b/docker-compose.yml index f4dfa4c..0587c92 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,11 @@ services: - "5432:5432" volumes: - postgres-data:/var/lib/postgresql/data + healthcheck: + test: ["CMD-SHELL", "pg_isready"] + interval: 10s + timeout: 5s + retries: 5 memcached: image: memcached:latest