version: "3.9" services: yudao-server: image: ${IMAGE_VERSION} restart: always privileged: true container_name: yudao-server environment: TZ: Asia/Shanghai SPRING_PROFILES_ACTIVE: test volumes: - /opt/logs/cmx:/opt/logs ulimits: nproc: 65535 nofile: soft: 20000 hard: 40000 ports: - "3001:3001" deploy: resources: limits: memory: 600MB healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/hound-api/actuator/health"] timeout: 30s interval: 45s retries: 3