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.

  • BioMyth@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month 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.

    • SteveDinn@lemmy.caOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month 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.