diff --git a/docker-compose.yml b/docker-compose.yml index 6c58fec..f7c510a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,10 +20,11 @@ services: volumes: - postgres_data:/var/lib/postgresql/data healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres"] + test: ["CMD-SHELL", "PGPASSWORD=1253 pg_isready -U postgres -d docupulse"] interval: 5s timeout: 5s retries: 5 + restart: unless-stopped volumes: postgres_data: