version: '3.1' # Run using docker-compose --compatibility up -d # Otherwise it's going to ignore the deploy options. services: katocafe: container_name: kato_cafe build: . restart: unless-stopped ports: - 6921:5386 # volumes: # - hostLocation:/location/in/container deploy: resources: limits: memory: 1G