nextcloud_on_docker
nextcloud_on_docker copied to clipboard
Is this correct "docker_compose_collabora.yml" ?
Hi!
With default setup nextcloud can't connect to collabora online - please correct if I'm wrong here, may be I did something wrong. Necessary ports opened in ufw. Collabora docker is running.
docker ps -a
0ddd9a40a641 collabora/code:latest "/bin/sh -c 'bash st…" 24 hours ago Up 5 hours 9980/tcp
Looks like need to add treafik rules. Is this correct "docker_compose_collabora.yml"? Thanks in advance.
version: '3'
networks:
traefik:
external: true
services:
collabora:
image: traefik/collabora
networks:
- traefik
labels:
- traefik.enable=true
- traefik.port=9980
- traefik.http.routers.collabora.rule=Host(`cloud.mycompany.com`)
- traefik.http.routers.collabora.entrypoints=websecure
- traefik.http.routers.collabora.tls.certresolver=myhttpchallenge
- traefik.docker.network=traefik
what about:
- traefik.enable: "true"
- traefik.http.routers.collabora.entrypoints: "web-secure"
- traefik.http.routers.collabora.rule: "Host(`cloud.mycompany.com`)"
- traefik.http.routers.collabora.service: "collabora"
- traefik.http.services.collabora.loadbalancer.server.port: "9980"
i didn't try since I would use my palaybook to setup collabora and not docker-compose.
@LinuksGuru Hey there. I confirm that it is working fine with Docker 20.10.1, but as soon you try to upgrade to a version > 20.10.1, the connection cannot be established any more. Versions from 20.10.2 to 20.10.4 are still having regressions wrt. networking.
On my side I'm impacted by this one: https://github.com/moby/libnetwork/issues/2607 and had to downgrade to 20.10.1.
I recommend you to do the same until all the Docker related regressions are fixed. Note: this playbook has roles to ensure the latest version of Docker is installed, you'll need to turn them off ( temporarily).