fix docker

This commit is contained in:
chrislu
2025-08-27 22:29:50 -07:00
parent 0d35195756
commit 110bc2ffe7
5 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
# Debug version of SeaweedFS with role mapping fixes
FROM alpine:latest
FROM alpine:3.18
# Install required packages
RUN apk add --no-cache \

View File

@@ -14,7 +14,7 @@ COPY . .
RUN cd weed && go build -o /usr/local/bin/weed
# Final runtime image
FROM alpine:latest
FROM alpine:3.18
# Install runtime dependencies
RUN apk add --no-cache ca-certificates wget curl

View File

@@ -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; \

View File

@@ -134,7 +134,7 @@ services:
PHPLDAPADMIN_LDAP_HOSTS: "ldap-server"
PHPLDAPADMIN_HTTPS: "false"
ports:
- "8080:80"
- "8081:80"
depends_on:
- ldap-server
networks:

View File

@@ -51,7 +51,7 @@ services:
container_name: weed-volume
hostname: weed-volume
ports:
- "8080:8080"
- "8081:8080"
- "18080:18080"
command: "volume -ip=weed-volume -port=8080 -dir=/data -mserver=weed-master:9333 -dataCenter=dc1 -rack=rack1"
volumes: