Update 'GauntDocker.sh'
This commit is contained in:
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#ldap-hostname: gauntdc01.home.johnhgaunt.com
|
|
||||||
#ldap-port: 389
|
|
||||||
#ldap-user-base-dn: CN=Users,DC=home,DC=johnhgaunt,DC=com
|
|
||||||
#ldap-search-bind-dn: CN=Service_Guacamole,CN=Users,DC=home,DC=johnhgaunt,DC=com
|
|
||||||
#ldap-search-bind-password:
|
|
||||||
#ldap-username-attribute: sAMAccountName
|
|
||||||
|
|
||||||
# need to be root
|
# need to be root
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo "Please run as root"
|
echo "Please run as root"
|
||||||
@@ -41,6 +34,7 @@ guacamole () {
|
|||||||
--name guacamole \
|
--name guacamole \
|
||||||
--link guacd:guacd \
|
--link guacd:guacd \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
|
--restart=always \
|
||||||
-e MYSQL_HOSTNAME=gauntsql.home.johnhgaunt.com \
|
-e MYSQL_HOSTNAME=gauntsql.home.johnhgaunt.com \
|
||||||
-e MYSQL_DATABASE=guacamole_db \
|
-e MYSQL_DATABASE=guacamole_db \
|
||||||
-e MYSQL_USER=guacamole \
|
-e MYSQL_USER=guacamole \
|
||||||
|
|||||||
Reference in New Issue
Block a user