summaryrefslogtreecommitdiffstats
path: root/contrib/docker/supervisord.conf
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-01-06 22:55:28 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-01-06 22:55:28 +0100
commit7bbb2425c7d3da7dc58e1bde64aed3e61fe79b5b (patch)
treeea075aa8f58f1d832d9720fd2b156ed56d18d2d5 /contrib/docker/supervisord.conf
parentee940fdf167ff364794d6127bcdebfe89d931462 (diff)
downloadbugzilla-7bbb2425c7d3da7dc58e1bde64aed3e61fe79b5b.tar.gz
bugzilla-7bbb2425c7d3da7dc58e1bde64aed3e61fe79b5b.tar.xz
Bug 1077510: Check a Vagrant/Docker project file (excl DB content) into the Bugzilla repo
Diffstat (limited to 'contrib/docker/supervisord.conf')
-rw-r--r--contrib/docker/supervisord.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/docker/supervisord.conf b/contrib/docker/supervisord.conf
new file mode 100644
index 000000000..4d6131c7d
--- /dev/null
+++ b/contrib/docker/supervisord.conf
@@ -0,0 +1,25 @@
+[supervisord]
+nodaemon=true
+http_port=/var/tmp/supervisor.sock
+logfile=/var/log/supervisor/supervisord.log
+logfile_maxbytes=50MB
+logfile_backups=10
+loglevel=debug
+pidfile=/var/run/supervisord.pid
+minfds=1024
+minprocs=200
+
+[supervisorctl]
+serverurl=unix:///var/tmp/supervisor.sock
+
+[program:sshd]
+command=/usr/sbin/sshd -D
+
+[program:httpd]
+command=/usr/sbin/httpd -DFOREGROUND
+
+[program:mysqld]
+command=/usr/bin/mysqld_safe
+
+[program:postfix]
+command = /usr/sbin/postfix start