Nextcloud Docker integrate Collabora

Hey Guys,

I am struggling with my Nextcloud Docker, I have it up an running for almost a Year now. I now like to add Collabora to it, but I can only find resources on how to setup a Container already containing both.

How can I integrate Collabora to my Nextcould Docker? I am using it with this docker-compose:

  nextcloud:
    image: nextcloud:latest
    links:
      - nextcloud_postgresql
    volumes:
      - /opt/docker/nextcloud/html:/var/www/html
    restart: always
    env_file:
      - env/nextcloud.env
    depends_on:
      - lets-encrypt
      - nginx-proxy
      - nextcloud_postgresql

Is there any way to add it to this existing container? I also want to do this only one time without worrying on updates that it is lost

Thanks a lot!

I would think you have to insert the red code to your gateway.conf of the nginx-proxy container (web page below). And make port 9980 of the collabora container available to it.

NGINX acting as reverse proxy:

https://www.c-rieger.de/nextcloud-and-collabora-nginx/

Ok, thank you. It is at least loading now… But it constantly says File is corrupted or not supported.
Can it be that this is because I use letsencrypt?

Found out it is a known Bug