diff --git a/docker-compose.yml b/docker-compose.yml index 5aa247b..af4c9fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -136,6 +136,13 @@ services: target: /docker-entrypoint-initdb.d/02-setup-context-db.sh volumes: - db:/var/lib/postgresql/data + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 10s + timeout: 5s + retries: 3 + start_period: 10s + broker: image: "iegomez/mosquitto-go-auth:latest-mosquitto_2.0.15" networks: