summaryrefslogtreecommitdiffstats
path: root/reporting/docker/supervisor.conf
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/docker/supervisor.conf')
-rw-r--r--reporting/docker/supervisor.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/reporting/docker/supervisor.conf b/reporting/docker/supervisor.conf
new file mode 100644
index 0000000..0c22077
--- /dev/null
+++ b/reporting/docker/supervisor.conf
@@ -0,0 +1,16 @@
+[supervisord]
+nodaemon = true
+
+[program:reporting_tornado]
+user = root
+directory = /home/opnfv/utils/test/reporting/api
+command = python server.py --port=800%(process_num)d
+process_name=%(program_name)s%(process_num)d
+numprocs=4
+numprocs_start=1
+autorestart = true
+
+[program:reporting_nginx]
+user = root
+command = service nginx restart
+autorestart = true