Collabora Office + nextcloud 快速部署

AI摘要

部署Collabora Office需运行Docker容器并禁用HTTPS,配置Nextcloud连接。注意使用IP地址而非localhost,并设置domain参数以支持外网访问。

运行Collabora Office docker容器,并去掉https验证

docker run -t -d -p  9980:9980 --name collabora -e "extra_params=--o:ssl.enable=false" collabora/code

2、nextcloud 下载Collabora Office,并配置Collabora Office

3、效果

4、设置外网访问Collabora Office

docker 需要加上'domain=47.98.182.185|192.168.31.68|192.168.31.130'

说明Windows 的 CMD会报错

得用Windows powershell

就是因为这个公网一直不能用,只能在内网使用'domain=127.0.0.1|www.baidu.com'Collabora Office。公网一直不能用。

5、Collabora Office的控制台

http://127.0.0.1:9980/browser/dist/admin/admin.html

Quick tryout with Nextcloud docker

  Learn all the ins and outs of CODE

You can try CODE in 5 minutes with Nextcloud following these basic steps:

  1. Find out the IP address of your computer, e.g. 192.168.100.20
  2. Run Nextcloud from docker:
    docker run -d -p 80:80 nextcloud
  3. In your browser go to http://192.168.100.20 and set up your Nextcloud.
  4. In Nextcloud go to Apps – Office and Text, and install Collabora Online app.
  5. Run CODE from docker:
    docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code
  6. Set up the Collabora Online server in Nextcloud Settings – Collabora Online to http://192.168.100.20:9980

Note 1: Of course, this is only good for a quick look at the features, it is not for production by any means.

Note 2: Do not use localhost or 127.0.0.1 instead of IP address of your computer, because these addresses do not resolve from the containers. This means not only not using it for the address of Collabora Online configured in Nextcloud, but also for the URL you connect to in the browser to test.

Saiyintai

软件测试工程师

相关推荐

Docker + OnlyOffice + Nextcloud 部署和配置

之前用的是Docker + Collabora Office + Nextcloud。
因为Collabora Office 编辑大数据文档的时候,编辑很慢,经常输入一段话,要很长时间才打印出来。、所以用了OnlyOffice,这个就不会出现上面的问题。
当时打开文档的时候会很慢,要加载,不知道是不是因为frp到公网的问题。

NextCloud + Docker 部署

使用Docker运行Nextcloud 24.0.3,配置自动重启、端口映射8080:80,并挂载数据与HTML目录实现文件持久化。

nextcloud redis设置问题

Windows 11环境下修正Redis配置,删除错误项后成功写入数据。正确设置包括memcache.distributed、local和locking参数。

暂无评论