services: app: build: . restart: unless-stopped ports: - "8080:80" # Maps port 8080 on the host to port 80 in the container deploy: resources: limits: memory: 128M