Skip to content
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

Multi-container #2

Open
so0k opened this issue Oct 23, 2015 · 2 comments
Open

Multi-container #2

so0k opened this issue Oct 23, 2015 · 2 comments

Comments

@so0k
Copy link

so0k commented Oct 23, 2015

Hi, wouldn't it make more sense to create a docker-compose.yml file pointing to separate mysql/apache/dovecot/ftpd/... services?

@so0k
Copy link
Author

so0k commented Oct 23, 2015

right now you're dockerfile isn't actually doing the installation, you run the container, then commit it to an image...

you're not running a supervisor or other process to ensure the services keep running.

You're not mounting any volumes for the persistent data (apache sites / mysql / mailboxes / ..)

Did you say you use this in production?

@yofreke
Copy link
Owner

yofreke commented Nov 1, 2015

Correct, because of the early sentora install scripts, it was much easier to just run the installation script inside of the built container and then commit it.

Not sure about supervisor - I think sentora maybe now includes something for that in its install scripts?

Persistent data is handled by the backup.py script and the start-sentora-container.sh script. See the readme for how that works.

This started as a side project and never really got finished. After talking with one of the dudes over at sentora it seems like they have another option for running this stuff: https://github.com/trojanspike/sentora-dockerized which may be more up to date.

I have been meaning to get back to this and clean it up some, if you're looking to make use of it perhaps we could chat sometime and get things in a more usable state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants