I need to deploy a nginx service with 4 replica using the compose file like the following.
Is is possible that it create a volume for each replica automatically? If it is possible, what is the format to specify
in the compose file?
deploy: replicas: 4 restart_policy: condition: on-failure