cross-posted from: https://lemmy.ca/post/41737442

I run Caddy as my reverse proxy. I find it generally easier to configure than NGINX. I’ve never tried Traefik. I’m having a hell of a time getting Collabora office working with my NextCloud instance (both via docker) though. Has anyone else successfully done this? I’m not sure if its because I haven’t translated the config correctly from the NGINX example, or that it just doesn’t work.

I would love to see somebody’s config if they have it working.

  • SteveDinnOP
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    Hrm…I must have had something else wrong because I’m experiencing the same thing. I try to load a document that I created with the menu and it seems to time out. I thought that it was because of my Caddy config, but perhaps it wasn’t.

    I only get: Document loading failed Failed to load Nextcloud Office - please try again later

    • BioMyth@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      What does your compose file for CODE look like? It took me a while to get those environment variables set so it would work correctly.

      • SteveDinnOP
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        The docker config is nothing special:

        collabora:
            hostname: collabora
            image: collabora/code
            restart: "no"
            privileged: true
            cap_add:
              - MKNOD
            networks:
              - default
            env_file: collabora.env
            ports:
              - 8054:9980
        

        Env: Besides username, password, and this line:

        extra_params=--o:ssl.enable=true
        

        I have 2 other variables set: domain and aliasgroup1. Is domain supposed to refer to the Collabora domain or the NextCloud domain? I actually can’t remember where I got the aliasgroup1 from, but it was probably during my googling to try and get things working. I remember reading that the ‘.’ characters had to be escaped because those lines were used in a reflex.