Documentation still correct

Is this document still correct CODE Docker image — SDK https://sdk.collaboraonline.com/ documentation

It seems to ignore all the environment vars

Hello @Theking2

Yes, the documentation you linked is still correct but from your message, it’s a bit unclear what specific issue you’re facing.

Could you please share more details about your use case? For example:

  • Which version of the CODE Docker image are you using?
  • How exactly are you passing the environment variables?
  • What setup are you running (reverse proxy, host OS, etc.)?

Just saying “it ignores all the environment vars” doesn’t give us enough to understand what’s going wrong.

And the fun part you’re questioning the documentation itself :wink:
Let’s figure this out together! I’m happy to help once we know a bit more about your setup.

What seems to be missing is a reference of a all environment variables the docker container is using with succinct description. Is domain still a thing? usename and password seem to be ignored (for good reasons probably), what is server_name and how does it relate to aliasgroups1 -2 and -3? What exactly is expected in aliasgroups1

Only be lengthy trial and error I came up with this:

networks:
  proxy:
    external: true

services:
  collabora:
    image: collabora/code:latest
    container_name: collabora
    cap_add:
      - SYS_ADMIN
    security_opt:
      - seccomp=unconfined  
    ports: ['192.168.1.20:9980:9980']
    networks: ['proxy']
    restart: unless-stopped
    volumes:
      - /etc/localtime:/etc/localtime:ro
#     -  CHANGE_TO_COMPOSE_DATA_PATH/coolwsd:/etc/coolwsd
    environment:
      - domain=office.kingma.ch       # <== look mam, no / !
      - server_name=collab.kingma.ch  # <== and not here either.
      - extra_params=
        --o:ssl.enable=false
        --o:ssl.termination=true
        --o:logging.level=notice
      - TZ=Europe/Zurich
      - username=${COLLABORA_USER}
      - password=${COLLABORA_PASS}

See a complete working setup for a Raspberry Pi with OMV, Nginx Proxy Manager, Nextcloud and Collabora at : GitHub - theking2/srv-nas-pi

1 Like

Thanks, @Theking2, for the detailed answer and the example setup link really appreciated!