Help to create docker-compose file for OCIS/Onlyoffice

Hello,
My goal is to integrate onlyoffice into my OCIS server.
After several attempts on my part, I can’t get the expected result.
I manage to launch onlyoffice but the interconnection with OCIS remains a mystery for me.
I’d also like to avoid having to use treaffik, as the reverse proxy is provided by my NAS, which hosts everything.
Below is my current docker-compose:

volumes:
  ocis-config:
  ocis-data:

networks:
  ocis-net:

services:
  ocis:
    container_name: ocis.app
    image: owncloud/ocis:latest
    restart: always
    volumes:
      - "ocis-config:/etc/ocis"
      - "ocis-data:/var/lib/ocis"
    networks:
      - ocis-net
    ports:
      - 9200:9200
    environment:
      OCIS_INSECURE: "true"
      OCIS_URL: "https://owncloud.debure.eu"
      OCIS_LOG_LEVEL: info

If anyone has any ideas on how to do this, I’d love to hear from you.
Thanks!

Which is? Aside from saying “It’s not working”, you’re not really saying anything about what isn’t working or what you’re trying to achieve

The result I’m looking to achieve is the integration of the onlyoffice suite into owncloud. This enables compatible document viewing and editing.
All the tutorials that explain how to achieve this talk about a WOPI server that’s supposed to link the two.
For the moment I’ve managed to get OCIS and onlyoffice to work separately, but I can’t find any documentation that allows me to achieve the desired result without Traeffik and without adding other modules which in my case are not necessary.
I just want to have ocis and onlyoffice in the simplest and most concise way.

So I’ve managed to set up ocis, onlyoffice and the wopi server, all of which respond to the urls provided.

volumes:
  ocis-config:
  ocis-data:
  onlyoffice-data:

networks:
  ocis-net:

services:
  ocis:
    container_name: owncloud.ocis
    image: owncloud/ocis:latest
    restart: always
    volumes:
      - "ocis-config:/etc/ocis"
      - "ocis-data:/var/lib/ocis"
    networks:
      - ocis-net
    ports:
      - 9200:9200
    environment:
      OCIS_INSECURE: "true"
      OCIS_URL: "https://owncloud.exemple.eu"
      OCIS_LOG_LEVEL: info

  onlyoffice:
    container_name: owncloud.onlyoffice
    image: onlyoffice/documentserver:latest
    restart: always
    volumes:
      - "onlyoffice-data:/onlyoffice"
    networks:
      - ocis-net
    ports:
      - "8080:80"
    environment:
      WOPI_SERVER_ENABLED: "true"
      ONLYOFFICE_DOMAIN: "onlyoffice.exemple.eu"

  wopiserver:
    container_name: owncloud.wopi
    image: cs3org/wopiserver:latest
    networks:
      - ocis-net
    environment:
      WOPISECRET: LALALASECRETLALALA
      WOPISERVER_DOMAIN: wopi.exemple.eu
    ports:
      - "8081:8880"
    restart: always

Now I have to create the ocis app provider service which is in charge of combining everything but I’m totally lost. Here’s the service extracted from a much more complicated docker-compose:

ocis-appdriver-onlyoffice:
    image: owncloud/ocis:5.0.0-rc.3@sha256:af464f0fe73c603825a6d55f641389ab31ce6e30a1b91aa4282285c0040bbc55
    networks:
      ocis-net:
    user: "0" # needed for apk add in entrypoint script
    entrypoint:
      - /bin/sh
      - /entrypoint-override.sh
    #command: app-provider server
    environment:
      # use the internal service name of the gateway
      OCIS_REVA_GATEWAY: com.owncloud.api.gateway
      APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
      # configure the service name to avoid collision with collabora
      APP_PROVIDER_SERVICE_NAME: app-provider-onlyoffice
      # use the internal service name
      APP_PROVIDER_EXTERNAL_ADDR: com.owncloud.api.app-provider-onlyoffice
      APP_PROVIDER_DRIVER: wopi
      APP_PROVIDER_WOPI_APP_NAME: OnlyOffice
      APP_PROVIDER_WOPI_APP_ICON_URI: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
      APP_PROVIDER_WOPI_APP_URL: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
      APP_PROVIDER_WOPI_INSECURE: "${INSECURE:-false}"
      APP_PROVIDER_WOPI_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
      APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
      APP_PROVIDER_WOPI_FOLDER_URL_BASE_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
      # share the registry with the ocis container
      MICRO_REGISTRY_ADDRESS: ocis:9233
    volumes:
      - ./config/ocis-appdriver-onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
      - ocis-config:/etc/ocis
    logging:
      driver: "local"
    restart: always