diff --git a/fstest/testserver/init.d/TestWebdavOwncloud b/fstest/testserver/init.d/TestWebdavOwncloud index c12cb2259..41c40d947 100755 --- a/fstest/testserver/init.d/TestWebdavOwncloud +++ b/fstest/testserver/init.d/TestWebdavOwncloud @@ -5,6 +5,7 @@ set -e NAME=owncloud USER=rclone PASS=HarperGrayerFewest5 +PORT=38081 . $(dirname "$0")/docker.bash @@ -17,15 +18,16 @@ start() { -e "OWNCLOUD_ADMIN_PASSWORD=$PASS" \ -e "OWNCLOUD_MYSQL_UTF8MB4=true" \ -e "OWNCLOUD_REDIS_ENABLED=false" \ - -e "OWNCLOUD_TRUSTED_DOMAINS=*.*.*.*" \ + -e "OWNCLOUD_TRUSTED_DOMAINS=127.0.0.1" \ + -p 127.0.0.1:${PORT}:8080 \ owncloud/server echo type=webdav - echo url=http://$(docker_ip):8080/remote.php/webdav/ + echo url=http://127.0.0.1:${PORT}/remote.php/webdav/ echo user=$USER echo pass=$(rclone obscure $PASS) echo vendor=owncloud - echo _connect=$(docker_ip):8080 + echo _connect=127.0.0.1:${PORT} } . $(dirname "$0")/run.bash