umbrel-apps/onlyoffice-nextcloud/docker-compose.yml

33 lines
1.2 KiB
YAML
Raw Normal View History

version: '3.9'
services:
app_proxy:
environment:
APP_HOST: onlyoffice-nextcloud_web_1
APP_PORT: 3000
web:
image: a4004/onlyoffice-nextcloud-web:1.0.4@sha256:774bd9bda641e6be49286921637840efba050fdfd022934dfd9ee9b6ec8d0a63
restart: on-failure
environment:
- DOCS_ADDRESS=http://$DEVICE_DOMAIN_NAME:$DOCSERVER_PORT
- DOCS_INTERNAL_ADDRESS=http://onlyoffice-nextcloud_documentserver_1
- NEXTCLOUD_INTERNAL_ADDRESS=http://nextcloud_web_1
- NEXTCLOUD_WEB_URL=http://$DEVICE_DOMAIN_NAME:$APP_NEXTCLOUD_PORT
documentserver:
image: onlyoffice/documentserver:8.1.3@sha256:b9e3c35eab182d3de822a53b109b0f27070f6eacea3b1388b9c50d1182f638f2
restart: on-failure
stop_grace_period: 1m
ports:
- "${DOCSERVER_PORT}:80"
environment:
- JWT_ENABLED=false
- ONLYOFFICE_HTTPS_HSTS_ENABLED=false
- USE_UNAUTHORIZED_STORAGE=true
- ALLOW_PRIVATE_IP_ADDRESS=true
- ALLOW_META_IP_ADDRESS=true
volumes:
- ${APP_DATA_DIR}/data/logs:/var/log/onlyoffice
- ${APP_DATA_DIR}/data/certs:/var/www/onlyoffice/Data
- ${APP_DATA_DIR}/data/cache:/var/lib/onlyoffice
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql