赞
踩
全栈工程师开发手册 (作者:栾鹏)
架构系列文章
创建 'onlyoffice’docker网络
docker network create --driver bridge onlyoffice
安装ONLYOFFICE Document Server.
sudo docker run --net onlyoffice -i -t -d --restart=always --name onlyoffice-document-server \
-v/app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v/app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
onlyoffice/documentserver
安装 ONLYOFFICE Mail Server.
sudo docker run --net onlyoffice --privileged -i -t -d --restart=always --name onlyoffice-mail-server \
-p 25:25 -p 143:143 -p 587:587 \
-v /app/onlyoffice/MailServer/data:/var/vmail \
-v /app/onlyoffice/MailServer/data/certs:/etc/pki/tls/mailserver \
-v /app/onlyoffice/MailServer/logs:/var/log \
-v /app/onlyoffice/MailServer/mysql:/var/lib/mysql \
-h intellif.com \
onlyoffice/mailserver
安装ONLYOFFICE Community Server
sudo docker run --net onlyoffice -i -t -d --restart=always --name onlyoffice-community-server \
-p 80:80 -p 5222:5222 -p 443:443 \
-v /app/onlyoffice/CommunityServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/CommunityServer/mysql:/var/lib/mysql \
-v /app/onlyoffice/CommunityServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/DocumentServerData \
-e DOCUMENT_SERVER_PORT_80_TCP_ADDR=onlyoffice-document-server \
-e MAIL_SERVER_DB_HOST=onlyoffice-mail-server \
onlyoffice/communityserver
通过IP访问onlyoffice web端
输入一个密码并指定下次访问你的office 所使用的电子邮件地址
进入页面
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。