[GH-ISSUE #817] A question regarding the docker-compose file and "home users" #386

Closed
opened 2026-02-26 10:32:19 +03:00 by kerem · 2 comments
Owner

Originally created by @suckharder on GitHub (Jun 2, 2025).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/817

Hello, I was looking to deploy Onlyoffice Docs, so naturally I searched for "Onlyoffice Docker" on duckduckgo, and landed on this guide from the official docs: https://helpcenter.onlyoffice.com/docs/installation/docs-community-docker-compose.aspx

The guide suggested cloning the repo and just running docker compose up -d.

I did not end up doing that, but I have to say I succesfully managed to deploy.

My question is:

I think a lot of "basic/home" users (like me for example), are not looking to build the image themselves, or modify it in any way, so I just replaced "build:" with "image: onlyoffice/documentserver" (https://hub.docker.com/r/onlyoffice/documentserver/). Do you think you might add a compose file that does not build the image, rather just pulls, in the future - for ease of use reasons?

Also, for such use-cases, I was wondering if "- DB_PORT=5432" (onlyoffice-documentserver) and "expose:" (onlyoffice-rabbitmq and onlyoffice-postgresql) would even be necesarry? - I personally removed this.

I had to pin the rabbitmq version to 4.0.9 as well, but I see there is already an issue opened for that.

Regarding volumes - I did not like that the default configuration just spawns a bunch of anyonymous volumes, so I just did a quick and (very) dirty fix - I inspected the images used (docker inspect image --format '{{ json .Config.Volumes }}') and piped everything from the output inside volumes I specified in my compose file. Is there any documentation on this? I'd like to do it properly :)

My final question is (and this might have been user error - I have not actually double-checked), but the document server did not want to connect to the database when specifying my own postgres password (I set the POSTGRES_PASSWORD and DB_PWD environment variables).

All in all, I have to say I'm satisfied with my set up, and the Nextcloud integration works well too.

Thanks - and whoever is reading this, have a pleasant day :)

Originally created by @suckharder on GitHub (Jun 2, 2025). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/817 Hello, I was looking to deploy Onlyoffice Docs, so naturally I searched for "Onlyoffice Docker" on duckduckgo, and landed on this guide from the official docs: https://helpcenter.onlyoffice.com/docs/installation/docs-community-docker-compose.aspx The guide suggested cloning the repo and just running docker compose up -d. I did not end up doing that, but I have to say I succesfully managed to deploy. My question is: I think a lot of "basic/home" users (like me for example), are not looking to build the image themselves, or modify it in any way, so I just replaced "build:" with "image: onlyoffice/documentserver" (https://hub.docker.com/r/onlyoffice/documentserver/). Do you think you might add a compose file that does not build the image, rather just pulls, in the future - for ease of use reasons? Also, for such use-cases, I was wondering if "- DB_PORT=5432" (onlyoffice-documentserver) and "expose:" (onlyoffice-rabbitmq and onlyoffice-postgresql) would even be necesarry? - I personally removed this. I had to pin the rabbitmq version to 4.0.9 as well, but I see there is already an issue opened for that. Regarding volumes - I did not like that the default configuration just spawns a bunch of anyonymous volumes, so I just did a quick and (very) dirty fix - I inspected the images used (docker inspect image --format '{{ json .Config.Volumes }}') and piped everything from the output inside volumes I specified in my compose file. Is there any documentation on this? I'd like to do it properly :) My final question is (and this might have been user error - I have not actually double-checked), but the document server did not want to connect to the database when specifying my own postgres password (I set the POSTGRES_PASSWORD and DB_PWD environment variables). All in all, I have to say I'm satisfied with my set up, and the Nextcloud integration works well too. Thanks - and whoever is reading this, have a pleasant day :)
kerem 2026-02-26 10:32:19 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@igwyd commented on GitHub (Jun 2, 2025):

Hello @suckharder, we have a guide for installation without docker compose, there are also our recommendations for mounting volumes and available variables. And regarding how to monitor volumes more conveniently, you need to refer to the docker documentation.

<!-- gh-comment-id:2929169390 --> @igwyd commented on GitHub (Jun 2, 2025): Hello @suckharder, we have a [guide](https://helpcenter.onlyoffice.com/docs/installation/docs-community-install-docker.aspx) for installation without docker compose, there are also our recommendations for mounting volumes and available variables. And regarding how to monitor volumes more conveniently, you need to refer to the docker [documentation](https://docs.docker.com/engine/storage/volumes/).
Author
Owner

@Rita-Bubnova commented on GitHub (Jun 3, 2025):

I close this issue. Feel free to comment or reopen it if you got further questions.

<!-- gh-comment-id:2933978153 --> @Rita-Bubnova commented on GitHub (Jun 3, 2025): I close this issue. Feel free to comment or reopen it if you got further questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#386
No description provided.