4 ms·
I actually spawn multiple processes thanks to supervisord, which also restarts them if needed. See https://github.com/steeve/docker-lemp https://github.com/ste
by steeve 13y ago
I actually spawn multiple processes thanks to supervisord, which also restarts them if needed.
See https://github.com/steeve/docker-lemp https://github.com/steeve/docker-lemp
- StavrosK 13y agoThat's my preference as well, I just prefer upstart to supervisord. Does anyone know how to start it offhand? It's probably just as easy as running the upstart daemon. EDIT: Well, supervisord looks straightforward, and you only need a single config file for everything. You have swayed me, thank you for that. This will do perfectly, I will try it today.
- windexh8er 13y agoThere's a great example here of a well done Dockerfile and implementation using supervisor.
- windexh8er 13y agoCan't edit on mobile, but here's the example referenced: https://github.com/dotcloud/collectd-graphite?files=1 https://github.com/dotcloud/collectd-graphite?files=1
- StavrosK 13y agoFantastic, thank you. This is the approach I'll follow, and that looks very well structured.