我是靠谱客的博主 殷勤蛋挞,最近开发中收集的这篇文章主要介绍部署聊天工具Mattermost用dockerProduction Docker Deployment,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

from:   https://docs.mattermost.com/install/prod-docker.html

Production Docker Deployment

Deploy Mattermost using a multi-node production configuration using Docker Compose. Docker Compose experience recommended.

For a single-node preview of Mattermost (without email) see Local Machine Setup using Docker.

If you have any problems installing, see the troubleshooting guide. To submit an improvement or correction, click Edit at the top of this page.

Production Docker Setup on Ubuntu

  1. Install Docker using the Ubuntu online guide or these instructions:

    sudo apt-get update
    sudo apt-get install wget
    wget -qO- https://get.docker.com/ | sh
    sudo usermod -aG docker <username>
    sudo service docker start
    newgrp docker
    
  2. Install Docker Compose using the online guide. You have to download the latest release from Docker Compose Github’s page and put the binary on your /usr/local/bin folder. Usually, you can use the following command, replacing $dockerComposeVersion by the Docker Compose version to install :

    curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
    sudo chmod +x /usr/local/bin/docker-compose
    
  3. Deploy the Mattermost Production Docker setup by running:

    git clone https://github.com/mattermost/mattermost-docker.git
    cd mattermost-docker
    docker-compose build
    mkdir -pv ./volumes/app/mattermost/{data,logs,config}
    chown -R 2000:2000 ./volumes/app/mattermost/
    docker-compose up -d
    
  4. Configure TLS by following the instructions

  5. Configure Email by following the SMTP email setup guide

  6. (Optional) to enable enterprise features under System Console > Edition and License upload your trial license or subscription license filereceived via email.

  7. Configure your server based on configuration settings documentation

Additional Guides:

  • Start, stop and remove containers using management instructions.
  • Setup Database Backup following the database backup instructions.

最后

以上就是殷勤蛋挞为你收集整理的部署聊天工具Mattermost用dockerProduction Docker Deployment的全部内容,希望文章能够帮你解决部署聊天工具Mattermost用dockerProduction Docker Deployment所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部