2020-01-13 23:37:48 +01:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
|
2021-12-03 04:26:38 +01:00
|
|
|
collabora-online-app:
|
|
|
|
image: tiredofit/collabora-online:latest
|
|
|
|
hostname: collabora-online.example.com
|
|
|
|
container_name: collabora-online-app
|
2020-01-13 23:37:48 +01:00
|
|
|
expose:
|
|
|
|
- 9980
|
|
|
|
cap_add:
|
|
|
|
- MKNOD
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2021-12-03 04:26:38 +01:00
|
|
|
- traefik.frontend.rule=Host:collabora-online.example.com
|
2020-01-13 23:37:48 +01:00
|
|
|
- traefik.port=9980
|
|
|
|
- traefik.protocol=http
|
|
|
|
- traefik.docker.network=proxy
|
2021-12-03 04:26:38 +01:00
|
|
|
- traefik.backend=collabora-online-app
|
2020-01-13 23:37:48 +01:00
|
|
|
environment:
|
2021-12-03 04:26:38 +01:00
|
|
|
- VIRTUAL_HOST=collabora-online.example.com
|
2020-01-13 23:37:48 +01:00
|
|
|
- VIRTUAL_NETWORK=proxy
|
|
|
|
- VIRTUAL_PORT=9980
|
|
|
|
- VIRTUAL_PROTO=https
|
2021-12-03 04:26:38 +01:00
|
|
|
- LETSENCRYPT_HOST=collabora-online.example.com
|
2020-01-13 23:37:48 +01:00
|
|
|
- LETSENCRYPT_EMAIL=techsupport@example.com
|
2021-12-03 04:26:38 +01:00
|
|
|
|
|
|
|
- CONTAINER_NAME=collabora-online-app
|
|
|
|
|
2020-01-13 23:37:48 +01:00
|
|
|
- ADMIN_USER=admin
|
2021-12-03 04:26:38 +01:00
|
|
|
- ADMIN_PASS=collabora-online
|
2022-11-22 00:10:11 +01:00
|
|
|
- ALLOWED_HOSTS=host1.example.org,host2.example.org,host1.example.net
|
2020-01-13 23:37:48 +01:00
|
|
|
- DICTIONARIES="en_GB en_US"
|
|
|
|
- LOG_LEVEL=warning
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- internal
|
|
|
|
- services
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|
|
|
|
internal:
|
|
|
|
external: false
|
|
|
|
services:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
|