nextcloud: feat: Add collabora

This commit is contained in:
PorridgePi
2022-09-24 12:02:22 +01:00
parent 1554e4a9ba
commit 903c153dc3
2 changed files with 22 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
NEXTCLOUD_DOMAIN=domain_goes_here NEXTCLOUD_DOMAIN=nextcloud_domain_goes_here
DB_ROOT_PASSWORD=mariadb_root_password_goes_here DB_ROOT_PASSWORD=mariadb_root_password_goes_here
NEXTCLOUD_DB_PASSWORD=mariadb_nextcloud_user_password_goes_here NEXTCLOUD_DB_PASSWORD=mariadb_nextcloud_user_password_goes_here
COLLABORA_DOMAIN=collabora_domain_goes_here

View File

@@ -55,3 +55,23 @@ services:
# - "3306:3306" # - "3306:3306"
networks: networks:
- public - public
services:
collabora:
image: collabora/code
container_name: collabora
restart: always
environment:
- "domain=${NEXTCLOUD_DOMAIN}"
- "extra_params=--o:ssl.enable=false --o:ssl.termination=true"
# ports:
# - "9980:9980"
networks:
- public
labels:
- "traefik.enable=true"
- "traefik.http.routers.collabora.rule=Host(`${COLLABORA_DOMAIN}`)"
- "traefik.http.routers.collabora.service=collabora-service"
- "traefik.http.services.collabora-service.loadbalancer.server.port=9980"
- "traefik.http.routers.collabora.tls=true"
- "traefik.http.routers.collabora.tls.certresolver=le"