1. onlyoffice版本
a. enterprise
b. developer
c. community (开源)
2. docker安装onlyoffice CE
a. 系统最低配置
2C 2G ,
amd64 Linux distribution with kernel version 3.10 or later
docker版本不低于1.10
b. 安装
下载image
docker search onlyoffice
docker pull onlyoffice/documentserver
c. run
sudo docker run -i -t -d -p 80:80 --restart=always \ -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \ -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \ -v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql onlyoffice/documentserver
d. 验证
1) docker ps | grep onlyoffice
2) 访问API
https://documentserver/web-apps/apps/api/documents/api.js
documentserver 为onlyoffice访问地址