[nextcloud] Add onlyoffice document server
This commit is contained in:
parent
0dad89084f
commit
dcc7b9074d
1 changed files with 23 additions and 4 deletions
|
@ -11,7 +11,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- database
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:${nextcloud_version:-latest}
|
image: nextcloud:${nextcloud_version:-latest}
|
||||||
|
@ -28,11 +28,28 @@ services:
|
||||||
- db
|
- db
|
||||||
networks:
|
networks:
|
||||||
- webproxy
|
- webproxy
|
||||||
- nextcloud
|
- database
|
||||||
|
- onlyoffice
|
||||||
- smtp_relay
|
- smtp_relay
|
||||||
|
|
||||||
|
onlyoffice:
|
||||||
|
image: onlyoffice/documentserver:${onlyoffice_version:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- VIRTUAL_HOST=onlyoffice.jfreudenberger.de # the domain where the service should be reached
|
||||||
|
- VIRTUAL_PORT=80 # the port the service listens in the container
|
||||||
|
- LETSENCRYPT_HOST=onlyoffice.jfreudenberger.de # the same domain as VIRTUAL_HOST; this enables ssl
|
||||||
|
- JWT_ENABLED=${ONLYOFFICE_JWT_ENABLED:-false}
|
||||||
|
- JWT_SECRET=${ONLYOFFICE_JWT_SECRET}
|
||||||
|
volumes:
|
||||||
|
- document_data:/var/www/onlyoffice/Data
|
||||||
|
- document_log:/var/log/onlyoffice
|
||||||
|
networks:
|
||||||
|
- onlyoffice
|
||||||
|
- webproxy
|
||||||
networks:
|
networks:
|
||||||
nextcloud:
|
database:
|
||||||
|
onlyoffice:
|
||||||
webproxy:
|
webproxy:
|
||||||
external: true
|
external: true
|
||||||
name: webproxy
|
name: webproxy
|
||||||
|
@ -42,4 +59,6 @@ networks:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
document_data:
|
||||||
|
document_log:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue