services: app: build: . restart: unless-stopped ports: - "2400:8080" deploy: resources: limits: cpus: "0.5" memory: 256M