2024-06-03 18:43:35 +02:00
|
|
|
services:
|
|
|
|
|
|
|
|
collabora:
|
|
|
|
image: collabora/code
|
|
|
|
container_name: ${officeServName}
|
|
|
|
restart: ${restartPolicy}
|
|
|
|
cap_add:
|
|
|
|
- MKNOD
|
|
|
|
- SYS_CHROOT
|
|
|
|
- FOWNER
|
|
|
|
# ports:
|
|
|
|
# - 8091:9980
|
|
|
|
env_file:
|
|
|
|
- ../../secret/env-${officeServName}
|
|
|
|
environment:
|
|
|
|
- dictionaries=fr_FR en_GB es_ES
|
|
|
|
- aliasgroup1=https://.*${cloudHost}.${domain}:443
|
2024-08-26 10:21:19 +02:00
|
|
|
# si on veut ajouter d'autres domaines autorisés pour certaines orgas:
|
|
|
|
# - aliasgroup2=https://autre-domaine1:443
|
|
|
|
# - aliasgroup3=https://autre-domaine2:443
|
2024-06-03 18:43:35 +02:00
|
|
|
- server_name=${site}-${officeHost}.${domain}
|
|
|
|
- VIRTUAL_HOST=${site}-${officeHost}.${domain}
|
|
|
|
- VIRTUAL_PORT=9980
|
|
|
|
- VIRTUAL_PROTO=https
|
|
|
|
- extra_params=--o:ssl.enable=false --o:ssl.termination=true
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
networks:
|
|
|
|
collaboraNet:
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.${officeServName}-admin.rule=Host(`${site}-${officeHost}.${domain}`) && PathPrefix(`/(c|l)ool/adminws`)"
|
2024-08-16 23:36:05 +02:00
|
|
|
- "traefik.http.routers.${officeServName}-admin.middlewares=test-adminipallowlist@file"
|
2024-06-03 18:43:35 +02:00
|
|
|
- "traefik.http.routers.${officeServName}.rule=Host(`${site}-${officeHost}.${domain}`) && ! PathPrefix(`/(c|l)ool/adminws`)"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
collaboraNet:
|
|
|
|
external: true
|
|
|
|
name: collaboraNet
|