1.安装nextcloud
docker run --restart=always --name nextcloud -p 8081:80 -v /nextcloud:/var/www/html/data -d nextcloud
安装onlyoffice
docker run -i -t -d -p 8085: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