aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
-rw-r--r--docker/supervisord.conf4
2 files changed, 5 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d6f8fdd6..dd2bda35 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -64,6 +64,9 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng $REPOS_DIR/releng
RUN cd $REPOS_DIR/qtip && pip install -U .
+# Exposing ports
+EXPOSE 5000
+
#Config supervisor
RUN mkdir -p /var/log/supervisor
RUN locale-gen en_US en_US.UTF-8
diff --git a/docker/supervisord.conf b/docker/supervisord.conf
index a6d457dd..913fbe6f 100644
--- a/docker/supervisord.conf
+++ b/docker/supervisord.conf
@@ -1,8 +1,8 @@
[supervisord]
nodaemon=true
-[program:qtip_server]
-command=bash -c "cd $REPOS_DIR/qtip&&python qtip/api/qtip_server.py"
+[program:qtip_api]
+command=bash -c "cd $REPOS_DIR/qtip&&python qtip/api/__main__.py"
numprocs=1
autostart=true
autorestart=true