diff --git a/Caddyfile b/Caddyfile index 0add350..3852b49 100644 --- a/Caddyfile +++ b/Caddyfile @@ -81,6 +81,10 @@ docs.alogins.net { reverse_proxy localhost:8078 } +office.alogins.net { + reverse_proxy localhost:6233 +} + vw.alogins.net { reverse_proxy localhost:8041 } diff --git a/seafile/onlyoffice.yml b/seafile/onlyoffice.yml new file mode 100644 index 0000000..93c904c --- /dev/null +++ b/seafile/onlyoffice.yml @@ -0,0 +1,18 @@ +services: + onlyoffice: + image: ${ONLYOFFICE_IMAGE:-onlyoffice/documentserver:8.1.0.1} + container_name: seafile-onlyoffice + restart: unless-stopped + environment: + - JWT_ENABLED=true + - JWT_SECRET=${ONLYOFFICE_JWT_SECRET:?Variable is not set or empty} + volumes: + - "${ONLYOFFICE_VOLUME:-/opt/onlyoffice}:/var/lib/onlyoffice" + ports: + - "127.0.0.1:6233:80" + networks: + - seafile-net + +networks: + seafile-net: + name: seafile-net