forked from ethibox/awesome-stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcollabora.yml
27 lines (25 loc) · 942 Bytes
/
collabora.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# DOMAIN=example.com docker stack deploy -c collabora.yml collabora
services:
collabora:
image: collabora/code:${VERSION:-24.04.4.2.1}
environment:
- domain=${ALLOWED_DOMAINS:-.*}
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:welcome.enable=false
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.collabora-${NUMBER:-1}.rule=Host(`${DOMAIN:-collabora.localhost}`)
- traefik.http.routers.collabora-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.collabora-${NUMBER:-1}.service=collabora-${NUMBER:-1}
- traefik.http.routers.collabora-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.collabora-${NUMBER:-1}.loadbalancer.server.port=9980
networks:
- internal
- traefik
networks:
internal:
driver: overlay
attachable: true
traefik:
external: true
name: traefik-net