summaryrefslogtreecommitdiffstats
path: root/docker/files/supervisord.conf
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-11-06 23:21:30 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-11-06 23:21:30 +0100
commitaf46939af5dbe914e07c9b1ec0af2560b38ffbc6 (patch)
treee3614dddfd2dff0a027c59345f70343f76619eb5 /docker/files/supervisord.conf
parent60bde01b7ffc861a7bfba352af015b2b154e6f1e (diff)
downloadbugzilla-af46939af5dbe914e07c9b1ec0af2560b38ffbc6.tar.gz
bugzilla-af46939af5dbe914e07c9b1ec0af2560b38ffbc6.tar.xz
Bug 1222497 - Refactor the BMO docker image with new file and script structure while minimizing final image size
Diffstat (limited to 'docker/files/supervisord.conf')
-rw-r--r--docker/files/supervisord.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker/files/supervisord.conf b/docker/files/supervisord.conf
new file mode 100644
index 000000000..4a3d49fcd
--- /dev/null
+++ b/docker/files/supervisord.conf
@@ -0,0 +1,25 @@
+[supervisord]
+nodaemon=true
+logfile=/var/log/supervisor/supervisord.log
+logfile_maxbytes=50MB
+logfile_backups=10
+loglevel=debug
+pidfile=/var/run/supervisord.pid
+minfds=1024
+minprocs=200
+
+[program:httpd]
+command=/usr/sbin/httpd -DFOREGROUND
+
+[program:mysqld]
+command=/usr/bin/mysqld_safe
+
+[program:postfix]
+command = /usr/sbin/postfix start
+startsecs = 0
+autorestart = false
+
+[program:memcached]
+command=/usr/bin/memcached -u memcached
+stderr_logfile=/var/log/supervisor/memcached.log
+stdout_logfile=/var/log/supervisor/memcached.log