this post was submitted on 04 Apr 2025
1 points (66.7% liked)

nextcloud

844 readers
2 users here now

Nextcloud is a suite of client-server software for creating and using file hosting services.

https://nextcloud.com/

https://github.com/nextcloud

IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org

Other Nextcloud communities on Lemmy

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 4 days ago (1 children)

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.

[โ€“] [email protected] 1 points 4 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.