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?
Thanks. It will help if we decide how many replica we need in advance. There is no way to scale up or scale down a stateful service in the current Docker Swarm support, right?