Docker compose file for owncloud/wopi/collabora/onlyoffice on synology NAS, without traefik

Hi!

I’ve already managed to set up OCIS on my synology without Traefik using the nas server provided reverse proxy.
But now I want to add collabora/onlyoffice with WOPI, but the documentation is based on traefik.

How can I make this work in a simple way?

Here is my actual docker-compose.yml:

volumes:
  owncloud_ocis-config:
    driver: local
  owncloud_ocis-data:
    driver: local

services:
  owncloud:
    image: owncloud/ocis:latest
    container_name: owncloud.app
    restart: always
    network_mode: bridge
    ports:
      - 9200:9200
    volumes:
      - owncloud_ocis-config:/etc/ocis
      - owncloud_ocis-data:/var/lib/ocis
    entrypoint:
      - /bin/sh
    command: ["-c", "ocis init || true; ocis server"]
    environment:
      OCIS_URL: "https://owncloud.redacted.eu"
      OCIS_INSECURE: "true"
  
  collabora:
    image: collabora/code:latest
    container_name: collabora.app
    restart: always
    network_mode: bridge
    ports:
      - 9980:9980
    command: "/start-collabora-online.sh"
    environment:
      admin: "admin" #redacted
      password: "admin" #redacted
      aliasgroup1: "collabora.redacted.eu"
      DONT_GEN_SSL_CERT: "1"
      extra_params: "--o:security.seccomp=false --o:security.capabilities=false --o:ssl.enable=false --o:ssl.termination=true"

I also managed to set up collabora office and get the “ok” page.