mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-08 13:07:45 +01:00
fix docker
This commit is contained in:
1 parent
0d35195756
commit
110bc2ffe7
5 files changed
+5
-5
No files matched your search
@@ -152,7 +152,7 @@ docker-wait-healthy: ## Wait for all services to be healthy
|
||||
while true; do \
|
||||
all_healthy=true; \
|
||||
for service in $$required_services; do \
|
||||
if ! docker-compose -p $(PROJECT_NAME) -f $(COMPOSE_FILE) ps $$service | grep -q "healthy"; then \
|
||||
if [ "$$(docker inspect -f '{{.State.Health.Status}}' $(PROJECT_NAME)-$${service}-1)" != "healthy" ]; then \
|
||||
echo "Waiting for $$service to be healthy..."; \
|
||||
all_healthy=false; \
|
||||
break; \
|
||||
|
||||
Reference in new issue
Block a user