7.1.2 64bit (beta)安装好坑


#1

1.默认的seafile-data在安装目录里,通过先安装后修改seafile.sh 和seahub.sh里面的路径指定到自己的位子,然后把安装目录里面的seafile-data拷贝过去用
2.onlyoffice 功能,邮件功能不能用,偷懒没去安装配置onlyoffice,docker pull了个对80和443端口映射出去了,然后修改conf下面的seahub_settings.py文件
添加
ENABLE_ONLYOFFICE = True
VERIFY_ONLYOFFICE_CERTIFICATE = False
ONLYOFFICE_APIJS_URL = ‘http://你的容器玩的IP加端口/web-apps/apps/api/documents/api.js
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘docx’, ‘pptx’, ‘xlsx’)
邮件也是
EMAIL_USE_SSL = False
EMAIL_HOST = ‘smtp.163.com
EMAIL_HOST_USER = ‘账号@163.com’
EMAIL_HOST_PASSWORD = ‘密码’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER
然后关掉防火墙,启动起来用了