Nextcloud

来自ling
跳转至: 导航搜索

https://www.jianshu.com/p/d1613b8860b5

文件备份路径:本地-->ftp-->群晖-->sync上传-->ecs

ecs nextcloud

Docker常用服务#nextcloud

cd /alidata/nextcloud
tar -zvxf
ln -s /oss/ling-cloud/nextcloud/data/admin /alidata/nextcloud/data/admin

mkdir -p /alidata/nextcloud/html
mkdir -p /alidata/nextcloud/apps
mkdir -p /alidata/nextcloud/config
mkdir -p /alidata/nextcloud/data
mkdir -p /alidata/nextcloud/themes
chmod 777 /alidata/nextcloud

docker run -i -t -d --name nextcloud -p 64:80 \
    -v /alidata/nextcloud/html:/var/www/html \
    -v /alidata/nextcloud/apps:/var/www/html/custom_apps \
    -v /alidata/nextcloud/config:/var/www/html/config \
    -v /alidata/nextcloud/data:/var/www/html/data \
    -v /alidata/nextcloud/themes:/var/www/html/themes \
    nextcloud:22.1.0

qunhui nextcloud

Docker常用服务#nextcloud

cd /alidata/nextcloud
tar -zvxf
mkdir -p /alidata/nextcloud/html
mkdir -p /alidata/nextcloud/apps
mkdir -p /alidata/nextcloud/config
mkdir -p /alidata/nextcloud/data
mkdir -p /alidata/nextcloud/themes
chmod 777 /alidata/nextcloud

docker run -i -t -d --name nextcloud -p 64:80 \
    -v /alidata/nextcloud/html:/var/www/html \
    -v /alidata/nextcloud/apps:/var/www/html/custom_apps \
    -v /alidata/nextcloud/config:/var/www/html/config \
    -v /alidata/nextcloud/data:/var/www/html/data \
    -v /alidata/nextcloud/themes:/var/www/html/themes \
    nextcloud:22.1.0

onlyoffice

https://hub.docker.com/r/onlyoffice/documentserver

sudo docker run -i -t -d --name onlyoffice-document-server -p 59:80 \
    -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

docker run -i -t -d --name onlyoffice-document-server -p 59:80 \
    -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

问题处理

onlyoffice的内部地址访问

  array (
    0 => 'nextcloud.ling2.cn',
1=> '192.168.0.220'
  ),


 'allow_local_remote_servers' => true,

https内嵌http

nginx

add_header Content-Security-Policy upgrade-insecure-requests;