magma
magma copied to clipboard
Is there any docker compose environment for mail server
Hi I was looking to setup this mail server in docker. Do we have any plan to document it.
Thanks
@vinkal I started the robox
project to create VMs / containers for just that purpose. And while I've gotten the VMs working (mostly), they are currently designed to spin up a sandbox/dev/test environment, and not a production install. And while I've been building the docker images for awhile, I haven't tested/finished them. There are a couple of tweaks that are missing to get it working, like detecting/starting the dependent services. And most importantly either a Q/A install script (see #132) for configuration and/or sample Dockerfiles showing how to do the same.
If you took on the task, I'd welcome a pull request.
There is another unoffical magma container besides the lavabit
one, which might work better for you.
There is another unoffical magma container besides the
lavabit
one, which might work better for you.
Can you report on which one that is, please?
Is it this one? https://github.com/ba0f3/docker-magma/
Hi @robrecord @vinkal ... I'd always intended to go back and improve the images pushed to Docker Hub and Quay for Magma. But I don't use containers all that much (I prefer VMs for what I typically need) so I never acquired the skills to make the obvious improvements.
With that, those images are generated from scratch (install media), every 1 to 3 weeks as part of the Roboxes project. Which means if you have the skills, please submit a pull request that repo with the changes need to make the container images more useful.
Notable things I haven't looked into, are how to launch the MySQL, memcached, and Postfix daemons automatically, whenver a container image is launched/resumed.
I also figured I'd follow the pattern used by the Robox VM images for magma, automatically build magma, and run the unit tests a starting point. But I wanted, long term, if it was possible to create a simple setup script that queries the user for info, so they can easily get it setup for their own domain, etc. But again, I don't know to do that, and have never found the time to learn.
When you say "queries the user for info", do you mean something like Mailu's interactive setup webpage?
Like I said, I don;t have experience with what users expect in the world of Docker. Having to access a web page seems tricky. I was actually thinking it would create a shell connection, and run a Bash or Python script to ask the user some basic questions, like their domain name, password etc.
The way Mailu does is definitely a novelty way of doing it. The conventional way is to set environmental variables directly in the docker-compose.yml, for projects with few settings. And in more customizable projects (as this one) it is preferred to declare it in a separate .env-file.