-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiply instances #2796
base: master
Are you sure you want to change the base?
Multiply instances #2796
Conversation
The original pull request, #2755, only dealt with php-fpm and had to be reverted because it resulted in an invalid select statement. Clearly, this pull request needs to be properly tested before merging. |
Yes, we can only merge if it is fully tested. The last PR did not address all problems, just like this does not cover all problems with multiple mailcows on a single host (netfilter for example). Someone needs to pull and test, I will not try it again, as I don't see an advantage anyway. :( |
Good point. I think the first version that supports config format 2.1 was docker-compose 1.9 from three years ago. We need to test whether that already adds the necessary attributes to the containers.
I expect we‘ll get there eventually. If @gmarke really wants to do this, he‘ll need to find and fix the other problems too. But I think it‘s fine if he posts small pull requests like this one that fix issues as he finds them. As long as they don‘t change behavior on regular mailcows. |
Yes, that's true. When I find more time, I will try to contribute and fix netfilter-mailcow. |
This is working perfectly fine for me; Hope it will get merged soon and also the ipv6 problem will get solved. I may setup a test system with 10 installations to see if there will be any problems. |
Cool ProJaCore ;) |
i am interessted, but more in a solution to create an mailcow cluster on different hosts, because i want to have an active/backup situation without re-creating all accesses/domains on the backup-mx |
@djdomi, high availability is a completely different thing. There is a separate issue for that. |
yup i agree :) but still a feature i look for
Am Donnerstag, August 22, 2019 09:07 CEST, schrieb Michael Kuron <[email protected]>:
@djdomi, high availability is a completely different thing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Not planned in the open source mailcow. If you want to provide a PR, go ahead. |
Hm, maybe theres an idea: You can create a site for export all domains for an import of backup-mx i t hink that would be the easiest way at all? |
In general issue #241 might be more related for this kind of feature request.
There's a way to retrieve all domains from a mailcow instance using the API: mailcow-dockerized/data/web/json_api.php Lines 228 to 242 in 7483f2e
So you might be able to script that part yourself. |
As I already mentioned before in issue created some time ago => with this solution it's possible to run multiply instances of mailcow on one host.
All is about to consider COMPOSE_PROJECT_NAME when selecting data from docker api.
in this commit I made some review and change it in all files where CONTENER_D is assigned.
Please merge this in to project ==> this is not impacting any security or performance part it's just extended select.