Created
June 7, 2020 14:06
-
-
Save giocomai/e6a2601da2fb6573cce51e246ffd579a to your computer and use it in GitHub Desktop.
Libreoffice Collabora with Traefik / Docker compose (only part with Libreoffice, with `network1` as external network)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libreoffice: | |
image: libreoffice/online:master | |
environment: | |
- "domain=nextcloud\\.example\\.com" | |
- "SLEEPFORDEBUGGER=0" | |
- "username=user" | |
- "password=actualgoodpassword" | |
- "extra_params=--o:ssl.enable=false --o:ssl.termination=true" | |
networks: | |
network1: | |
cap_add: | |
- MKNOD | |
ports: | |
- "9980:9980" | |
restart: | |
unless-stopped | |
labels: | |
- "traefik.enable=true" | |
- "traefik.port=9980" | |
- "traefik.http.routers.libreoffice.rule=Host(`libreoffice.example.com`)" | |
- "traefik.http.routers.libreoffice.entrypoints=websecure" | |
- "traefik.http.routers.libreoffice.tls.certresolver=myhttpchallenge" | |
- "traefik.docker.network=network1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ssl is disabled for Libreoffice, as Traefik is taking care of the certificate