mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1128: Merge Docker support for MySQL and PostgreSQL automatic user creation.
This commit is contained in:
@@ -231,6 +231,10 @@ END
|
|||||||
set_property "mysql-ssl-client-password" "$MYSQL_SSL_CLIENT_PASSWORD"
|
set_property "mysql-ssl-client-password" "$MYSQL_SSL_CLIENT_PASSWORD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set_optional_property \
|
||||||
|
"mysql-auto-create-accounts" \
|
||||||
|
"$MYSQL_AUTO_CREATE_ACCOUNTS"
|
||||||
|
|
||||||
# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
|
# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
|
||||||
ln -s /opt/guacamole/mysql/mysql-connector-*.jar "$GUACAMOLE_LIB"
|
ln -s /opt/guacamole/mysql/mysql-connector-*.jar "$GUACAMOLE_LIB"
|
||||||
ln -s /opt/guacamole/mysql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
|
ln -s /opt/guacamole/mysql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
|
||||||
@@ -389,6 +393,10 @@ END
|
|||||||
set_property "postgresql-ssl-key-password" "$POSTGRES_SSL_KEY_PASSWORD"
|
set_property "postgresql-ssl-key-password" "$POSTGRES_SSL_KEY_PASSWORD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set_optional_property \
|
||||||
|
"postgresql-auto-create-accounts" \
|
||||||
|
"$POSTGRESQL_AUTO_CREATE_ACCOUNTS"
|
||||||
|
|
||||||
# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
|
# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
|
||||||
ln -s /opt/guacamole/postgresql/postgresql-*.jar "$GUACAMOLE_LIB"
|
ln -s /opt/guacamole/postgresql/postgresql-*.jar "$GUACAMOLE_LIB"
|
||||||
ln -s /opt/guacamole/postgresql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
|
ln -s /opt/guacamole/postgresql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
|
||||||
|
Reference in New Issue
Block a user