version: "3.2" services: nginx: image: nginx deploy: replicas: 2 redis: image: redis:alpine deploy: replicas: 5