mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.58k stars 1.15k forks source link

Working Docker-Swarm.yml #3424

Closed bf8392 closed 4 years ago

bf8392 commented 4 years ago

Hi =)

Would it be possible to provide a working/safe swarm example? I really want to deploy Mailcow as it is the most feature-rich and experienced Mailserver I've heard about =). I use Swarmpit.io for easy server managing...so I really want to use it in swarmmode =)

Thanks for all the effort in this cool Docker-Set =)

MAGICCC commented 4 years ago

Not so easy to do as you may think You need to edit a lot of things before it may work e.g. netfilter, IPv6-NAT, SQL and other things. Also you would need to sync your data or do you want a shared storage which needs to be redundant too otherwise your SPOF is your storage.

This topic has been discussed in other issues and in our telegram group, which you can always join. If you have a big setup where you need a cluster solution, then you may ask @andryyy for a commercial setup.

bf8392 commented 4 years ago

The data is not the problem...also mysql is already solved as I have a running instance...I only have problems with netfilter and Ipv6 nat, because it uses the privileged mode which is not supported in swarm...are they used to manipulate the iptables only? Because I use iptables on the docker-user chain manually...I never used mailcow before...I also would combine it with a reverseproxy (traefik) and a certdumper solution...is this possible? can you link me to the conversation please? =) thanks for all the help =)

mkuron commented 4 years ago

It‘s spread around between multiple issues, including #1956 #1806 #1004 #669 #479. The dockerapi container will also have problems (it doesn‘t use iptables, but the Docker socket).

bf8392 commented 4 years ago

Ok thank you :-)

sebastiansterk commented 4 years ago

I would also really like to see a Docker Swarm compatible version of Mailcow.

neben commented 3 years ago

Now that Docker Swarm supports IPv6Nat, do you think it would make sense to reevaluate docker swarm support?

https://github.com/robbertkl/docker-ipv6nat/issues/65#issuecomment-819802613

drsect0r commented 2 years ago

It would be great if mailcow could work towards Docker Swarm and even Kubernetes support. It is a wonderful product but without it, it will be a limitation. I'd love to have this running on a bigger scale with multiple hosts and provide this service to clients.

spammads commented 1 year ago

+1 Same here.

ahmedali991 commented 11 months ago

+1 this feature will be great if you impalement it