From 27083878534d2a44887f25e319188b21401ec947 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Sep 2020 23:01:17 +0200 Subject: [PATCH] =?UTF-8?q?loolwsd=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- office/config/loolwsd.xml | 124 ++++++++++++++++++++++++++++++++++++++ office/docker-compose.yml | 43 +++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 office/config/loolwsd.xml create mode 100644 office/docker-compose.yml diff --git a/office/config/loolwsd.xml b/office/config/loolwsd.xml new file mode 100644 index 0000000..339b9f1 --- /dev/null +++ b/office/config/loolwsd.xml @@ -0,0 +1,124 @@ + + + + + + de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru + + + + + + + + + + + 1 + + 4 + 3600 + + 30 + 300 + 0 + 0 + 8000 + 0 + 0 + + + + 60 + 900 + + + loleaflet.html + + + true + warning + + /var/log/loolwsd.log + never + timestamp + true + 10 days + 10 + true + false + + + + false + + + + + + + + false + + + + + all + any + + 192\.168\.[0-9]{1,3}\.[0-9]{1,3} + + + + + false + true + /etc/loolwsd/cert.pem + /etc/loolwsd/key.pem + /etc/loolwsd/ca-chain.cert.pem + + + 1000 + + + + + + + + + true + true + + + + + + cloud.juliuslab.de + 10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} + 172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3} + 172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3} + 172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3} + 192\.168\.[0-9]{1,3}\.[0-9]{1,3} + 192\.168\.1\.1 + 0 + + + cloud.juliuslab.de + + + + true + + + true + false + admin + ieChoh6y + + + + + + + diff --git a/office/docker-compose.yml b/office/docker-compose.yml new file mode 100644 index 0000000..6d1a0ab --- /dev/null +++ b/office/docker-compose.yml @@ -0,0 +1,43 @@ +version: '3' + +services: + + libreoffice: + image: libreoffice/online:master + container_name: loolwsd + restart: always + networks: + - intern + - web + ports: + - 9980 + cap_add: + - MKNOD + + environment: + domain: cloud.juliuslab.de + username: admin + password: ieChoh6y + extra_params: --o:ssl.enable=false + DONT_GEN_SSL_CERT: 1 + + labels: + - "traefik.enable=true" + - "traefik.http.routers.office.entrypoints=http" + - "traefik.http.routers.office.rule=Host(`office.juliuslab.de`)" + - "traefik.http.routers.office.middlewares=https-redirect@file" + - "traefik.http.routers.office-sec.entrypoints=https" + - "traefik.http.routers.office-sec.middlewares=calcarddav,default-headers@file" + - "traefik.http.routers.office-sec.rule=Host(`office.juliuslab.de`)" + - "traefik.http.routers.office-sec.tls=true" + - "traefik.http.routers.office-sec.tls.options=myTLSOptions@file" + - "traefik.http.routers.office-sec.tls.certresolver=le" + volumes: + - ./config:/etc/loolwsd + +networks: + intern: + external: true + web: + external: true +