Which docker-compose.yml file to use for install

There seem to be multiple instructions on how to install Onlyoffice Docs (documentserver).
There is the following guide: Running ONLYOFFICE Docs using Docker Compose
which instructs you to download the Docker-DocumentServer repo and do docker compose up which uses the docker-compose.yml file in the repo: Docker-DocumentServer/docker-compose.yml at master · ONLYOFFICE/Docker-DocumentServer · GitHub
That compose file builds the docker container locally and also includes rabbitmq and postgresql.

The readme on dockerhub and in the github repo however ask you to download this docker-compose.groups.yml file: https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.groups.yml

that file uses the prebuild docker image from dockerhub and icludes mysql and elasticsearch in addition to onlyoffice.

I am confused. Which one is the recommended way to install onlyoffice using dokcer compose?
Why are there different database providers included and why rabbitmq or elasticsearch? Are the databases or rabbitmq/elasticsearch even needed? There is also this guide that just asks you to run only the docker container without db or rabbitmq/elasticsearch

sudo docker run -i -t -d -p 80:80 --restart=always -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver-de

Sorry for 2 posts but otherwise I could only post 2 links

Hello @besen

As I can see you are trying to install Document Server.

You should follow this guide. The second post contains links for Community Server, which is a part of Workspace, and guide for installation of Document Server Developer edition.

thanks, so I confused 2 projects. But are there no prebuild docker images for Document Server? Also what are rabbitmq and postgresql needed for?

Sorry, but I am not quite following the question. onlyoffice/documentserver that is pulled with Compose is a prebuilt image. Please elaborate.

These are dependencies of Document Server. In regular Docker installation, i.e. docker run method, these dependencies are included into onlyoffice/documentserver image, in Docker Compose sample they are started as separate containers.