-
Notifications
You must be signed in to change notification settings - Fork 508
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
K8S, Need a bare-bones Dockerfile for ONLYOFFICE - no bundled services, just the core, any help? #773
Comments
Hello @gowy222, i think you looking for this repository https://github.com/ONLYOFFICE/Kubernetes-Docs and the images form here https://github.com/ONLYOFFICE/Docker-Docs. |
First of all, thank you very much.
the end: Then the second independent image is used as a gateway entry and launcher to start and configure the onlyoffice service and document conversion service, how to start, how to connect to the corresponding database, etc. This has an advantage, no matter how the onlyoffice version is updated, this is independent and deployed separately. Therefore, there is no need to come back to study whether the sh script is adapted every time a cross-version update is made. |
yes, you can ignore it because it was added for other k8s distribution - https://github.com/ONLYOFFICE/Kubernetes-Docs-Shards
nginx is separated container, builds as proxy
For adding your fonts - guide is here https://github.com/ONLYOFFICE/Docker-Docs?tab=readme-ov-file#building-onlyoffice-docs
It's because we use RPM here About the rest - i have forwarded your comments to the developers. |
HI, I have retained the key stages:
I have removed the non-essential stages:
After these changes, I have a few questions:
Any insights or assistance on these points would be greatly appreciated. |
You don't need the libs we install for Python for utils image and redis-lib for docservice. It do not need to be installed in other places either, because all the necessary libraries for connecting to dependencies are in the documentserver.
They are not required for the documentserver. These are used to build the docs-utils image, which is used in Helm Docs in Jobs and helm test. You can get docs-utils in the docker hub if you need, so you can just delete the steps with redis-lib, builder и utils |
Hey ONLYOFFICE team,
I'm trying to deploy ONLYOFFICE in a Kubernetes environment, and current Dockerfile is overkill. It's packing a bunch of services I don't need.
Potential improvement to consider:
A Dockerfile that builds ONLY the ONLYOFFICE core
No bundled database services (PostgreSQL, MySQL)
No bundled message queue (RabbitMQ)
No bundled cache (Redis)
No bundled web server (Nginx)
Why?
using external cloud services for all of the above
K8S handles load balancing, so no need for Nginx
Current Dockerfile is too heavy and inflexible for K8S deployments
The ideal Dockerfile would:
Build core ONLYOFFICE components
Include only necessary DB client libs (for PostgreSQL/MySQL)
Skip all other service installations
This would make ONLYOFFICE way more flexible for cloud-native deployments.
Simplified maintenance and updates
easily connect it to any external services.
Thanks for considering this! It would be a huge help for K8S users.
The text was updated successfully, but these errors were encountered: