rocket.chat内网聊天服务

  • 服务端有linux windows 树莓派等

  • 支持客户端登陆- 官网

  • 支持网页登陆

  • 多人聊天图

  • 还有手机客户端

部署rocket.chat

为了方便我使用docker-compose的方法来部署,参考

root@no1:~/dockerfile/rocket# cat docker-compose.yaml
version: '2' services:
rocketchat:
image: rocketchat/rocket.chat:latest
restart: unless-stopped
volumes:
- ./uploads:/app/uploads
environment:
- PORT=3000
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local
- MAIL_URL=smtp://smtp.email
# - HTTP_PROXY=http://proxy.domain.com
# - HTTPS_PROXY=http://proxy.domain.com
depends_on:
- mongo
ports:
- 3000:3000
labels:
- "traefik.backend=rocketchat"
- "traefik.frontend.rule=Host: your.domain.tld" mongo:
image: mongo:3.2
restart: unless-stopped
volumes:
- ./data/db:/data/db
#- ./data/dump:/dump
command: mongod --smallfiles --oplogSize 128 --replSet rs0
labels:
- "traefik.enable=false" # this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running)
mongo-init-replica:
image: mongo:3.2
command: 'mongo mongo/rocketchat --eval "rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})"'
depends_on:
- mongo # hubot, the popular chatbot (add the bot user first and change the password before starting this image)
hubot:
image: rocketchat/hubot-rocketchat:latest
restart: unless-stopped
environment:
- ROCKETCHAT_URL=rocketchat:3000
- ROCKETCHAT_ROOM=GENERAL
- ROCKETCHAT_USER=bot
- ROCKETCHAT_PASSWORD=botpassword
- BOT_NAME=bot
# you can add more scripts as you'd like here, they need to be installable by npm
- EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics
depends_on:
- rocketchat
labels:
- "traefik.enable=false"
volumes:
- ./scripts:/home/hubot/scripts
# this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier
ports:
- 3001:8080 #traefik:
# image: traefik:latest
# restart: unless-stopped
# command: traefik --docker --acme=true --acme.domains='your.domain.tld' --acme.email='your@email.tld' --acme.entrypoint=https --acme.storagefile=acme.json --defaultentrypoints=http --defaultentrypoints=https --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS.Certificates:'
# ports:
# - 80:80
# - 443:443
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock

最新文章

  1. 转: CentOS 安装 SVN1.8 客户端
  2. USACO翻译:USACO 2013 NOV Silver三题
  3. cf
  4. private、 protected、 public、 internal 修饰符
  5. 配置Outlook Anywhere2010
  6. Flash 无法输入中文的修正方法
  7. 项目经历——EasyUI的检索和更新操作
  8. BlockingQueue接口
  9. HR系统邮件审批功能总结
  10. Python 2.7 Exception格式化工具
  11. 墙上时钟时间 ,用户cpu时间 ,系统cpu时间
  12. Java Reference 源码分析
  13. 201521123068 《java程序设计》第9周学习总结
  14. 4月23日 MySQL学习-DDL
  15. iOS程序员 如何做到升职加薪,5年 开发经验 码农 笔记送给你!
  16. day05-表的三种关系
  17. Comparing Differently Trained Models
  18. 论文笔记——MobileNets(Efficient Convolutional Neural Networks for Mobile Vision Applications)
  19. P1083 借教室(差分+二分)
  20. (广搜)Catch That Cow -- poj -- 3278

热门文章

  1. Serv-U精简版FTP服务端
  2. 不可不知的Oracle常用技巧
  3. DOM,浏览器,javascript,html之间的关系
  4. 类型“System.Data.SQLite.SQLiteParameter”在未被引用的程序集中定义。必须添加对程序集“System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139”的引用
  5. 调试std::string
  6. 通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“Connection refused: connect。
  7. django日志使用TimeRotateFileHandler
  8. Ubuntu下查看软件版本及安装位置【转】
  9. IO 多路复用是什么意思?
  10. 防盗链之URL参数签名 总结