summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/supervisor.conf
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/docker/supervisor.conf')
-rw-r--r--utils/test/reporting/docker/supervisor.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/test/reporting/docker/supervisor.conf b/utils/test/reporting/docker/supervisor.conf
new file mode 100644
index 000000000..0c2207793
--- /dev/null
+++ b/utils/test/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