aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2018-01-17 13:10:02 +0000
committerBen Copeland <ben.copeland@linaro.org>2018-01-17 13:10:02 +0000
commit0e17ebb10988fca38e9c67810bc9d0207478cb1a (patch)
treeeb5dd277fdc2070e15011a7f628a075d100dbf57
parentf6f6b7f2dfc96f0bd4f39bfe2bb8f25a81306dd6 (diff)
LLP: Expose runserver outside the container
Since we are running, runserver inside a docker container we need it to listen on 0.0.0.0 and not 127.0.0.1 otherwise we won't be able to access it. Change-Id: I8063468fedb6eb82d7c45b0c4018f9fe01e6ec97
-rwxr-xr-xci-amd64-llp-alpine/docker_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-amd64-llp-alpine/docker_run.sh b/ci-amd64-llp-alpine/docker_run.sh
index 43ab62d6..3d9fb6ca 100755
--- a/ci-amd64-llp-alpine/docker_run.sh
+++ b/ci-amd64-llp-alpine/docker_run.sh
@@ -22,4 +22,4 @@ if [ -z "$DJANGO_DEBUG" ] ; then
exec /usr/bin/gunicorn -w4 -b 0.0.0.0:$PORT $LLP_APP
fi
-exec python $APPDIR/manage.py runserver
+exec python $APPDIR/manage.py runserver 0.0.0.0:8080