version: '3.8' services: humio-mcp: build: context: ../ dockerfile: deploy/docker/Dockerfile container_name: humio-mcp restart: unless-stopped environment: - HUMIO_TOKEN=${HUMIO_TOKEN} - LOG_LEVEL=${LOG_LEVEL:-info} - LOG_FORMAT=${LOG_FORMAT:-json} volumes: - ./config:/etc/humio-mcp:ro - humio-mcp-logs:/var/log/humio-mcp ports: - "8080:8080" # Health check port (if HTTP transport enabled) healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/healthz"] interval: 30s timeout: 5s retries: 3 start_period: 5s networks: - humio-mcp-network logging: driver: json-file options: max-size: "10m" max-file: "3" volumes: humio-mcp-logs: networks: humio-mcp-network: driver: bridge