GUACAMOLE-1128: Merge Docker support for MySQL and PostgreSQL automatic user creation.

This commit is contained in:
Mike Jumper
2020-12-29 12:03:14 -08:00
committed by GitHub

View File

@@ -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"