Collabora Office + nextcloud 快速部署

1、运行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


4、设置外网访问Collabora Office

docker 需要加上'domain=||'

说明Windows 的 CMD会报错

得用Windows powershell

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

5、Collabora Office的控制台

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.
  2. Run Nextcloud from docker:
    docker run -d -p 80:80 nextcloud
  3. In your browser go to 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

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 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.

知识共享许可协议本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可。



数据库丢失了一些索引。由于给大的数据表添加索引会耗费一些时间,因此程序没有自动对其进行修复。您可以在 Nextcloud 运行时通过命令行手动执行 "occ db:add-missing-indices" 命令修复丢失的索引。索引修复后会大大提高相应表的查询速度。

Nextcloud 配置Memcached 

百度好久,不知道怎么解决。后面就用Memcached 看看,会不会有这个问题