Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/9.0' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/9.0
  • Loading branch information
metaventis-build committed Nov 14, 2024
2 parents e166167 + 76b79aa commit 6124f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/src/main/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ memory_limit="${MEMORY_LIMIT:-1024M}"

only_office_document_server="${ONLYOFFICE_DOCUMENT_SERVER:-}"
only_office_plugin_url="${ONLYOFFICE_PLUGIN_URL:-}"
only_office_edusharing_plugin="${ONLYOFFICE_EDUSHARING_PLUGIN:-}"
only_office_edusharing_plugin="${ONLYOFFICE_EDUSHARING_PLUGIN:-false}"
only_office_edusharing_plugin_label="${ONLYOFFICE_EDUSHARING_PLUGIN_LABEL:-}"
only_office_edusharing_plugin_icon="${ONLYOFFICE_EDUSHARING_PLUGIN_ICON:-}"
only_office_jwt_secret="${ONLYOFFICE_JWT_SECRET:-}"
Expand Down Expand Up @@ -60,7 +60,7 @@ sed -i -r "s|memory_limit.*|memory_limit = ${memory_limit}|" "${php_ini}"

sed -i "s|define('ONLYOFFICE_DOCUMENT_SERVER', '.*')|define('ONLYOFFICE_DOCUMENT_SERVER', '${only_office_document_server}')|g" "${conf}"
sed -i "s|define('ONLYOFFICE_PLUGIN_URL', '.*')|define('ONLYOFFICE_PLUGIN_URL', '${only_office_plugin_url}')|g" "${conf}"
sed -i "s|define('ONLYOFFICE_EDUSHARING_PLUGIN', '.*')|define('ONLYOFFICE_EDUSHARING_PLUGIN', '${only_office_edusharing_plugin}')|g" "${conf}"
sed -i "s|define('ONLYOFFICE_EDUSHARING_PLUGIN', .*)|define('ONLYOFFICE_EDUSHARING_PLUGIN', ${only_office_edusharing_plugin})|g" "${conf}"
sed -i "s|define('ONLYOFFICE_EDUSHARING_PLUGIN_LABEL', '.*')|define('ONLYOFFICE_EDUSHARING_PLUGIN_LABEL', '${only_office_edusharing_plugin_label}')|g" "${conf}"
sed -i "s|define('ONLYOFFICE_EDUSHARING_PLUGIN_ICON', '.*')|define('ONLYOFFICE_EDUSHARING_PLUGIN_ICON', '${only_office_edusharing_plugin_icon}')|g" "${conf}"
sed -i "s|define('ONLYOFFICE_JWT_SECRET', '.*')|define('ONLYOFFICE_JWT_SECRET', '${only_office_jwt_secret}')|g" "${conf}"
Expand Down

0 comments on commit 6124f6f

Please sign in to comment.