Zabbix setup swarm

Please reformat your post according How to format your forum posts.

Also, please let me know how you configured mysql to replicate database state between the container replicas.

Adding replicas to a service does not work if the application inside the containers are not configured to use a shared state, have build-in replication or some sort of consensus, except when the application is compeletly stateless and/or stores state only in a database.