nextcloud: feat: Add collabora
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user