Skip to content

Commit

Permalink
enable jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed May 5, 2023
1 parent af80f82 commit fa2a9a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Document Server (distributed as ONLYOFFICE Docs starting from version 6.0) and o
**Please note**: you might need to wait a couple of minutes when all the containers are up and running after the above command.
**Please note**: The default JWT (secret key) is enabled in ONLYOFFICE Document Server. It is recommended to specify your own secret key in the ownCloud administrative configuration and [ONLYOFFICE Docs](https://helpcenter.onlyoffice.com/installation/docs-configure-jwt.aspx).
Now you can enter ownCloud and create a new document. It will be opened in ONLYOFFICE Document Server.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
networks:
- onlyoffice
environment:
- JWT_ENABLED=false
- JWT_SECRET=secret
expose:
- '80'
- '443'
Expand Down
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ occ --no-warnings app:enable onlyoffice
occ --no-warnings config:system:set onlyoffice DocumentServerUrl --value="/ds-vpath/"
occ --no-warnings config:system:set onlyoffice DocumentServerInternalUrl --value="http://onlyoffice-document-server/"
occ --no-warnings config:system:set onlyoffice StorageUrl --value="http://nginx-server/"
occ --no-warnings config:system:set onlyoffice jwt_secret --value="secret"
tail -f /tmp/server.log

0 comments on commit fa2a9a9

Please sign in to comment.