Skip to content

Commit

Permalink
fix(onlyoffice): Fix auto provisioning script to have a proper storag…
Browse files Browse the repository at this point in the history
…e url

Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Nov 13, 2024
1 parent cecb01c commit ca58146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/enable-onlyoffice
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ occ app:enable onlyoffice --force
occ config:app:set onlyoffice DocumentServerUrl --value="$PROTOCOL://onlyoffice$DOMAIN_SUFFIX"
occ config:app:set onlyoffice jwt_secret --value="secret"
occ config:app:set onlyoffice DocumentServerInternalUrl --value="http://onlyoffice/"
occ config:app:set onlyoffice StorageUrl --value="http://nextcloud/"
occ config:app:set onlyoffice StorageUrl --value="http://${CONTAINER}${DOMAIN_SUFFIX}/"
occ onlyoffice:documentserver --check


docker_compose exec onlyoffice /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'
docker_compose exec onlyoffice /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'

0 comments on commit ca58146

Please sign in to comment.