toughIQ / docker-mariadb-cluster

Dockerized MariaDB Galera Cluster
GNU General Public License v2.0
97 stars 69 forks source link

Using in production. #10

Closed arthurkhlghatyan closed 6 years ago

arthurkhlghatyan commented 6 years ago

Hi,

I'm trying to find reliable solution to run SQL cluster in docker swarm. So it turns out that this project provides probably the easiest way to do that. But as mentioned in README file, it's not ready for production. So I would like to know, if there are any other projects like this you will recommend and what issues will I face if I use this project in production?

toughIQ commented 6 years ago

I created this project as a POC some time ago. I cannot guarantee proper functionality in a production environment nor will I take any responsibility for any data loss, which might happen due to an error in this image. One major issue with this image in a swarm environment is data persistence. This image does not use any volumes or mounts. So the data resides within the running instances. And as long as the cluster is running and has enough nodes to keep on working, everything is fine. If you shutdown the service and didnt backup your data, it will be gone with the next service init. Please feel free to play around with this image. Enhance it for your needs and purposes and use it on your own discretion.

arthurkhlghatyan commented 6 years ago

Thanks @toughIQ. I think I will prefer cloud storage solution.