Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docker/run-ncdocker.sh')
-rwxr-xr-xdocker/run-ncdocker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/run-ncdocker.sh b/docker/run-ncdocker.sh
index d30f07c3..f7cb5def 100755
--- a/docker/run-ncdocker.sh
+++ b/docker/run-ncdocker.sh
@@ -2,6 +2,6 @@
# Initial Trusted Domain
IFACE=$( ip r | grep "default via" | awk '{ print $5 }' )
-IP=$( ip a | grep "global $IFACE" | grep -oP '\d{1,3}(.\d{1,3}){3}' | head -1 )
+IP=$( ip a | grep "global $IFACE" | grep -oP '\d{1,3}(\.\d{1,3}){3}' | head -1 )
docker run -d -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi $IP