name: cmvr-model-access services: gateway: image: ${MODEL_GATEWAY_IMAGE:-nginx:1.30.6-alpine} container_name: cmvr-model-api-gateway restart: unless-stopped user: "101:101" entrypoint: ["nginx"] command: ["-g", "daemon off;"] read_only: true cap_drop: ["ALL"] security_opt: ["no-new-privileges:true"] tmpfs: - /tmp:size=16m,mode=1777 mem_limit: 128m cpus: 0.5 pids_limit: 64 volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - "${MODEL_GATEWAY_BIND_IP:-192.168.28.10}:18190:18190" - "${MODEL_GATEWAY_BIND_IP:-192.168.28.10}:18192:18192" networks: [models] healthcheck: test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:18089/live"] interval: 30s timeout: 3s retries: 3 start_period: 3s logging: driver: json-file options: max-size: "10m" max-file: "3" networks: models: external: true name: cmvr-visual-net