-
Notifications
You must be signed in to change notification settings - Fork 189
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
fix the docker-compose wopi #8483
Conversation
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.
I would rather try to find a solution wihout the curl workaround in the entrypoint override.
This example is used by community for production deployments.
Can we use the compose depends_on logic here?
@micbar services:
ocis-appprovider-collabora:
image: ocis
depends_on:
collabora:
condition: service_healthy
collabora:
image: collabora
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 1s
timeout: 3s
retries: 30 upd: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html#troubleshooting |
So in both cases, we must add a curl in the app provider or in the office client container. I would prefer not to change the office client containers. |
Is this a duplicate of #8144 ? Instead of working around it, we should properly fix it: #3832 (comment) |
Looks like it is a duplicate of #8144 |
how do we move forward? |
@kulmann I already reviewed it:
|
Quality Gate passedIssues Measures |
tested again after rebase - collabora is shown in the file action menu right away. let's merge this ... |
The same workaround has already been applied to OnlyOffice as well.
No! You put user:0 on the container which is a total no go. Please revert. |
but then you need to revert onlyoffice as well and the whole example is useless. introduced 3 years ago - https://github.com/owncloud/ocis/blame/76f97ba0c430f1fd5f0465bf78149149d27c468d/deployments/examples/ocis_wopi/docker-compose.yml#L148 |
Which brings us back to #3832 But there is also another workaround:
It similar to the workaround in the oCIS Helm Chart: https://github.com/owncloud/ocis-charts/blob/ca7f57a448adfd2aed3c28e1b0c0146d226547ae/charts/ocis/templates/appprovider/deployment.yaml#L88-L93 This actually also "works" for the case that you're restarting the appregistry. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: