I have a question related to best practices for deploying a docker-based production application.
To simplify the discussion related to this question / question, consider the following scenario:

Our swarm contains:
- 6 servers (different hosts)
- on each of these servers, we will have one service
- Each service will have only one dock / replica job.
- Memcached1 and Memcached2 use public images from the docker hub
- "Recycle data 1" and "Recycle data 2" use a custom image from a private repository
- "Client 1" and "Client 2" use a custom image from a private repository
, , , 6 , 6 . 2 memcached, 4 - , memcached.
" 1" " 2" memcached - . "Recycle data 1" "Recycle data 2" memcached - . .
, memcached, , . github ( ). :
, , 1. , , , , 99 % , , , . , , ( , ).
№ 2. . , ? :
- , , ?
- , , (, ), ? ( 4 , )
- , docker-compose.yml?