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

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.

点赞 0

Saiyintai

软件测试工程师

暂无评论

相关推荐

微信扫一扫,分享到朋友圈

Collabora Office + nextcloud 快速部署