CB-423 Connection search on local host improvements (docker)

This commit is contained in:
Serge Rider
2020-10-13 17:11:16 +03:00
parent ffcfd1f39b
commit 60baff3f93
9 changed files with 145 additions and 30 deletions
+4
View File
@@ -1,4 +1,8 @@
#!/bin/bash
# Detect host machine IP Address (we need this when run in docker container)
export CB_LOCAL_HOST_ADDR=$(ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1)
launcherJar=( server/plugins/org.eclipse.equinox.launcher*.jar )
echo "Starting Cloudbeaver Server"