Files
mnote/infra/onlyoffice/docker-compose.yml
T
lix-2026 1882db7681 收口 MNote P0 P1 P2 审查尾项
- 归档 OnlyOffice live bridge、Page AI、mindmap、design governance 与相关 bug 条目
- 补齐 MinerU OCR 后端 runtime 合同与 smoke/test 基线
- 收口 ChatOnly/Doubao、ObjectIdentity、Page Aggregate compat 与 runtime owner 文档口径

验证:
- cargo test --manifest-path rust/Cargo.toml -p mnote-web local_ocr -- --test-threads=1
- cargo test --manifest-path rust/Cargo.toml -p mnote-web onlyoffice_bridge -- --test-threads=1
- git diff --check
- git diff --cached --check
- codegraph index . --force && codegraph status .
- codegraph sync . && codegraph status .
2026-06-01 09:29:12 +08:00

21 lines
717 B
YAML

version: "3.9"
services:
onlyoffice-documentserver:
image: onlyoffice/documentserver:9.4.0
container_name: mnote-onlyoffice-documentserver
restart: unless-stopped
ports:
- "8082:80"
environment:
JWT_ENABLED: "true"
JWT_SECRET: "change-me-to-strong-secret"
JWT_HEADER: "Authorization"
JWT_IN_BODY: "true"
USE_UNAUTHORIZED_STORAGE: "true"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
# 说明:只挂插件目录,不覆盖 DocumentServer 自带 web-apps,避免升级后静态资源被旧版本文件覆盖。
- ../../src/components/onlyoffice/onlyoffice-plugins:/var/www/onlyoffice/documentserver/sdkjs-plugins:ro