dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

[ubuntu-dev] allow using `supervisorctl`

Open jankeromnes opened this issue 8 years ago • 0 comments

All Janitor containers use supervisor to run multiple programs in the background (e.g. an SSH daemon, the Cloud9 SDK, noVNC server, etc) and automatically restart them if they encounter a problem.

Our current configuration file is quite basic, and is missing a few fields that would enable using supervisorctl from inside the containers directly. See improvement suggestions here and here.

Additionally we could also move the configuration file from /etc/supervisord.conf to /etc/supervisor/supervisord.conf and include any files from /etc/supervisor/conf.d/*.conf (this would allow dockerfiles like the one for Discourse to simply import a new file like /etc/supervisor/conf.d/discourse.conf instead of appending rules to /etc/supervisord.conf.

jankeromnes avatar Nov 15 '17 13:11 jankeromnes