Wer docker-compose für Collabora CODE nutzt und gerade feststellt, dass der Container von einem restart in den nächsten rutscht:
docker logs --tail 50 --follow --timestamps code-container-name
Findet darin
2022-04-09T05:19:00.304230963Z -e ERR: Use of domain variable is not supported. First host/domain who tries to connect to COOL is always allowed. 2022-04-09T05:19:00.304248902Z To allow multiple host and its aliases use something like this and pass it as env variable: 2022-04-09T05:19:00.304251820Z aliasgroup1=https://domain1:443,https://its-alias|its-second-alias:443 2022-04-09T05:19:00.304254556Z aliasgroup2=https://domain2:443,https://its-alias:443 2022-04-09T05:19:00.304256886Z For more info: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html
und darf die .env sowie die docker-compose.yml anpassen. Zuerst zur .env:
COLLABORA_USERNAME=admin COLLABORA_PASSWORD=supergeheim COLLABORA_ALIASGROUP1=https://www.domain1.tld:443,https://domain2\\.tld:443|https://www\\.domain3\\.tld:443
und somit die docker-compose.yml:
version: '3' services: code: image: collabora/code:latest restart: unless-stopped environment: - password=${COLLABORA_PASSWORD} - username=${COLLABORA_USERNAME} - aliasgroup1=${COLLABORA_ALIASGROUP1} - extra_params=--o:ssl.enable=true ports: - 9980:9980
Dann flutscht es wieder. Mehr dazu findet mensch hier.