mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-26 14:53:31 +02:00
Reported in #2768: several users could not get Collabora to talk to Nextcloud, and the two options meant to configure it had no effect. - 99-run.sh read a `domain` option that does not exist in the schema (the option is `domain1`), and recent Collabora releases dropped the `domain` environment variable entirely, so `domain1` was inert. It now maps to `server_name` with a deprecation warning. - `server_name` and `cert_domain` were in the schema but never passed to Collabora. `server_name` is what fixes "Your browser has been unable to connect to the Collabora server" behind a reverse proxy. - `aliasgroup*` entries are matched by Collabora as regular expressions, so a dot needs a single backslash. The README asked for two, which can never match a real hostname. Values are now normalised (unescaped, escaped and double-escaped all give the same correct pattern) and logged at startup. Values containing other regex metacharacters are left untouched. - Added `ssl_termination`, needed when `ssl` is false but Collabora is reached over https through a reverse proxy, and `aliasgroup2`/`aliasgroup3`. - `cert_domain` is a certificate common name, so it is a string, not a bool. - Releases on CollaboraOnline/online are now Helm charts only, which had renumbered the addon from 25.4.9.2 down to 1.3.0 and hid updates from the Supervisor. Version tracking moves back to the collabora/code Docker Hub tags. Co-Authored-By: Claude <noreply@anthropic.com>
53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
arch:
|
|
- aarch64
|
|
- amd64
|
|
description: Collabora Online office suite
|
|
environment:
|
|
PGID: "0"
|
|
PUID: "0"
|
|
image: ghcr.io/alexbelgium/collabora-{arch}
|
|
init: false
|
|
map:
|
|
- addon_config:rw
|
|
- ssl:ro
|
|
name: Collabora
|
|
options:
|
|
env_vars: []
|
|
aliasgroup1: ""
|
|
certfile: fullchain.pem
|
|
server_name: ""
|
|
extra_params:
|
|
--o:ssl.enable=false --o:user_interface.use_integration_theme=false
|
|
--o:net.proto=IPv4
|
|
keyfile: privkey.pem
|
|
password: ""
|
|
ssl: false
|
|
username: ""
|
|
ports:
|
|
9980/tcp: 9980
|
|
ports_description:
|
|
9980/tcp: Web interface
|
|
schema:
|
|
env_vars:
|
|
- name: match(^[A-Za-z0-9_]+$)
|
|
value: str?
|
|
TZ: str?
|
|
aliasgroup1: str
|
|
aliasgroup2: str?
|
|
aliasgroup3: str?
|
|
cert_domain: str?
|
|
certfile: str
|
|
dictionaries: str?
|
|
domain1: str?
|
|
extra_params: str?
|
|
keyfile: str
|
|
password: password
|
|
server_name: str?
|
|
ssl: bool
|
|
ssl_termination: bool?
|
|
username: str
|
|
slug: collabora
|
|
url: https://github.com/alexbelgium/hassio-addons
|
|
version: "26.04.2.4.1"
|
|
webui: "[PROTO:ssl]://[HOST]:[PORT:9980]/browser/dist/admin/admin.html"
|