Hello,
I start the docker container for collabora code in its latest version using the following docker-compose file but nothing is displayed when I connect it using my web browser:
http://dockerhostsrvip:9980 or https://office.xxxx.xx with Traefik as reverse proxy.
from my workstation : telnet dockerhostsrv:9980 is OK
I don’t know what happens!
Thanks in advance pour your help
# version: "3.3"
services:
nextcloud-collabora:
image: collabora/code
container_name: collabora
restart: unless-stopped
networks:
- traefik_default
ports:
- 9980:9980
expose:
- "9980"
environment:
#should work as "domain=cloud1\.nextcloud\.com|cloud2\.nextcloud\.com"
- domain=nc.xxxx.xx
- 'dictionaries=en_US,de_DE'
- VIRTUAL_PROTO=http
- VIRTUAL_PORT=9980
- VIRTUAL_HOST=office.xxxx.xx
- "extra_params=--o:ssl.enable=false --o:ssl.termination=true"
cap_add:
- MKNOD
tty: true
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_default"
- "traefik.http.routers.collabora.entrypoints=websecure"
- "traefik.http.routers.collabora.rule=Host(`office.xxxx.xx`)"
- "traefik.http.routers.collabora.tls=true"
- "traefik.http.routers.collabora.tls.certresolver=ovh"
- "traefik.passHostHeader=true"
- "traefik.http.routers.collabora.middlewares=collabora-header"
# - 'traefik.http.services.collabora.loadbalancer.server.port=9980'
- 'traefik.http.middlewares.collabora-header.headers.referrerPolicy=no-referrer'
- 'traefik.http.middlewares.collabora-header.headers.stsSeconds=15552000'
- 'traefik.http.middlewares.collabora-header.headers.forceSTSHeader=true'
- 'traefik.http.middlewares.collabora-header.headers.stsPreload=true'
- 'traefik.http.middlewares.collabora-header.headers.stsIncludeSubdomains=true'
- 'traefik.http.middlewares.collabora-header.headers.browserXssFilter=true'
- 'traefik.http.middlewares.collabora-header.headers.customRequestHeaders.X-Forwarded-Proto=https'
networks:
traefik_default:
driver: bridge
external: true