services: clip-service: build: . container_name: clip-service restart: unless-stopped ports: - "5200:5200" deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu] mem_limit: 4G memswap_limit: 4G healthcheck: test: ["CMD-SHELL", "curl -sf http://localhost:5200/health || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 120s logging: driver: "json-file" options: max-size: "50m" max-file: "3"