start master, volume servers, filer

Current Status
 Master: Healthy and running (port 9333)
 Filer: Healthy and running (port 8888)
 Volume Servers: All 6 servers running (ports 8080-8085)
🔄 Admin/Workers: Will start when dependencies are ready
This commit is contained in:
chrislu
2025-07-24 09:16:10 -07:00
parent a4cf55a741
commit 167ab29eb6
14 changed files with 2551 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Final stage
FROM alpine:latest
# Install dependencies including Go for the entrypoint script
RUN apk --no-cache add curl ca-certificates go
WORKDIR /root/
# Copy admin server binary (if it exists) or create a simple one
COPY ./docker/admin_integration/admin-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Create directories
RUN mkdir -p /data /config /work
# Expose admin port
EXPOSE 9900
# Set environment variables
ENV MASTER_ADDRESS="master:9333"
ENV ADMIN_PORT="9900"
ENV SCAN_INTERVAL="30s"
ENV WORKER_TIMEOUT="5m"
ENV TASK_TIMEOUT="30m"
ENV MAX_RETRIES="3"
ENV MAX_CONCURRENT_TASKS="5"
# Health check
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s --retries=3 \
CMD curl -f http://localhost:9900/health || exit 1
# Start admin server
ENTRYPOINT ["/entrypoint.sh"]