version: "3.9" services: load-optimizer: build: context: . dockerfile: Dockerfile # platform optional, only if needed for M1/M2 # platform: linux/amd64 container_name: load-optimizer ports: - "8080:8080" restart: unless-stopped healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:8080/actuator/health || exit 1"] interval: 15s timeout: 5s retries: 5 start_period: 10s