-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs-only] [5.0] Refactor the 'ocis_wopi' deployment example #9412
Conversation
2a38192
to
11ca24a
Compare
11ca24a
to
6446f51
Compare
@micbar nice improvements 😃 |
Ok. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me skimming over it. (I trust that this works as others already tried it out)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor things in comments. I will make another PR for this little stuff, because this one was merged just as I was reviewing.
|
||
# Infinite Scale WOPI Deployment Example | ||
Note: This deployment setup is highly configurable. At minimum, it starts traefik`, ocis`, tika`, the wopiserver` and collabora`. Additional services can be started by removing the respective comment in the `.env` file. Depending on the service added, related variables need to be configured. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This deployment setup is highly configurable. At minimum, it starts traefik`, ocis`, tika`, the wopiserver` and collabora`. Additional services can be started by removing the respective comment in the `.env` file. Depending on the service added, related variables need to be configured. | |
Note: This deployment setup is highly configurable. At minimum, it starts `traefik`, `ocis`, `tika`, the `wopiserver` and `collabora`. Additional services can be started by removing the respective comment in the `.env` file. Depending on the service added, related variables need to be configured. |
Did you want to surround the service names with back-tick on both sides?
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info} | ||
# use the internal service name of the gateway | ||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164 | ||
# configure the service name to avoid collision with like with onlyoffice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# configure the service name to avoid collision with like with onlyoffice | |
# configure the service name to avoid collision with onlyoffice |
MICRO_REGISTRY_ADDRESS: 127.0.0.1:9233 | ||
NATS_NATS_HOST: 0.0.0.0 | ||
NATS_NATS_PORT: 9233 | ||
# enable to allow using the banned passwords |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# enable to allow using the banned passwords | |
# enable to allow using the banned passwords list |
This doesn't enable "using the banned passwords", it enables "using the banned passwords list to disallow bad passwords.
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info} | ||
# use the internal service name of the gateway | ||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164 | ||
# configure the service name to avoid collision like with with collabora |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# configure the service name to avoid collision like with with collabora | |
# configure the service name to avoid collision with collabora |
- "traefik.http.routers.wopiserver.entrypoints=https" | ||
- "traefik.http.routers.wopiserver.rule=Host(`${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}`)" | ||
- "traefik.http.routers.wopiserver.tls.certresolver=http" | ||
#- "traefik.http.routers.wopiserver.service=wopiserver" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a comment about why this is commented out?
WOPISERVER_DOMAIN= | ||
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "LoremIpsum567" | ||
|
||
# JWT secret which is used for the documents to be request by the WOPI client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# JWT secret which is used for the documents to be request by the WOPI client | |
# JWT secret which is used for the documents to be requested by the WOPI client |
# Domain for Inbucket. Defaults to "mail.owncloud.test" | ||
INBUCKET_DOMAIN= | ||
|
||
# Mutual exclusive with ocis settings, only uncomment when the ocis settings are NOT set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Mutual exclusive with ocis settings, only uncomment when the ocis settings are NOT set | |
# Mutually exclusive with ocis settings, only uncomment when the ocis settings are NOT set |
|
||
### IMPORTANT ### | ||
# This MUST be the last line as it assembles the supplemental compose files to be used. | ||
# ALL supplemental configs must be added here, independent if commented or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# ALL supplemental configs must be added here, independent if commented or not. | |
# ALL supplemental configs must be added here, whether commented or not. |
[docs-only] [5.0] Refactor the 'ocis_wopi' deployment example
References: #9388 (New community ready deployment example using WOPI necessary)
Supersedes: #9394 ([docs-only] Create new 'ocis_wopi_community' deployment example)
Because there are many structural changes, I created a new PR instead of overwriting #9394.
Adapted FORWARD port to master necessary.
Changes:
This eases testing a lot !
.env
file.ocis
,wopiserver
,tika
andcollabora
are enabled by in the .env file but can be commentedcollaboration
andwopiserver
gets retired, we can easily do that now without messing up one singe compose file.Note that the latest version 24.x is not working as it cant update a file but you need to create a copy.
One open issue:
I was not able to start the traefik dashboard despite setting the corresponding var in the .env file. Note that I was also not able to run a dasboard deployment example. Also see traefik/operations/dashboard/.
Suggested checks:
@ScharfViktor pls retest and use 5.0.5 as ocis tag in the .env file (not latest!!).
@tbsbdr @dragotin FYI