version: "3.7" services: galaxy-micro-service: build: context: . dockerfile: ./Dockerfile image: webflux:latest container_name: webflux healthcheck: test: ["CMD-SHELL","curl --fail http://localhost:8080/actuator/health"] interval: 10s timeout: 5s retries: 3 deploy: resources: limits: memory: 2048M ports: - "8080:8080" restart: always networks: - backend networks: backend: driver: bridge