diff --git a/dockerfiles/swh-web/entrypoint.sh b/dockerfiles/swh-web/entrypoint.sh index b086ab1..a2122dc 100755 --- a/dockerfiles/swh-web/entrypoint.sh +++ b/dockerfiles/swh-web/entrypoint.sh @@ -1,19 +1,18 @@ #!/bin/bash set -e if [[ -d /src ]] ; then for srcrepo in /src/swh-* ; do echo installing $srcrepo pip install -e . popd done fi if [ "$1" = 'shell' ] ; then exec bash -i else echo "starting the swh-web server" - exec python3 -m swh.web.manage runserver --nostatic 0.0.0.0:5004 - #exec gunicorn3 -b 0.0.0.0:5004 swh.web.wsgi + exec python3 -m swh.web.manage runserver --verbosity 3 --insecure 0.0.0.0:5004 fi diff --git a/dockerfiles/swh-web/web.yml b/dockerfiles/swh-web/web.yml index 11bc295..1aa2945 100644 --- a/dockerfiles/swh-web/web.yml +++ b/dockerfiles/swh-web/web.yml @@ -1,14 +1,19 @@ storage: cls: remote args: url: http://localhost:5002/ timeout: 1 objstorage: cls: remote args: url: http://localhost:5003/ indexer_storage: cls: memory args: {} + +allowed_hosts: + - "*" + +debug: yes