All Projects → goern → Mattermost Openshift

goern / Mattermost Openshift

Licence: gpl-3.0
An OpenShift 3 application template for mattermost

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mattermost Openshift

Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+685.19%)
Mutual labels:  mattermost, slack
Graylog Plugin Slack
Graylog alarm callback for Slack
Stars: ✭ 110 (+307.41%)
Mutual labels:  mattermost, slack
Octoslack
OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
Stars: ✭ 50 (+85.19%)
Mutual labels:  mattermost, slack
Papercups
Open-source live customer chat
Stars: ✭ 4,554 (+16766.67%)
Mutual labels:  slack, mattermost
st2chatops
Packaging environment for building StackStorm chatops native packages
Stars: ✭ 26 (-3.7%)
Mutual labels:  slack, mattermost
Matterircd
Connect to your mattermost or slack using your IRC-client of choice.
Stars: ✭ 241 (+792.59%)
Mutual labels:  mattermost, slack
Gatus
⛑ Gatus - Automated service health dashboard
Stars: ✭ 1,203 (+4355.56%)
Mutual labels:  mattermost, slack
notify
推送通知 sdk(Bark、Chanify、钉钉群机器人、Discord、邮件、飞书群机器人、Gitter、Google Chat、iGot、Logger、Mattermost、Now Push、PushBack、Push、PushDeer、PushPlus、QQ 频道机器人、Rocket Chat、Server 酱、Showdoc Push、Slack、Telegram、Webhook、企业微信群机器人、息知、Zulip)。
Stars: ✭ 335 (+1140.74%)
Mutual labels:  slack, mattermost
monolog-http
A collection of monolog handlers that use a PSR-18 HTTP Client to send your logs
Stars: ✭ 34 (+25.93%)
Mutual labels:  slack, mattermost
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+16388.89%)
Mutual labels:  mattermost, slack
Openshift Elasticsearch Plugin
Stars: ✭ 26 (-3.7%)
Mutual labels:  openshift
Slack Cli
Powerful Slack CLI via pure bash. Rich messaging, uploads, posts, piping, oh my!
Stars: ✭ 850 (+3048.15%)
Mutual labels:  slack
D3 Digest
SlackBot that watch channels looking for links and reactions, and generates digests based on those reactions
Stars: ✭ 15 (-44.44%)
Mutual labels:  slack
Hubot Slack Docker
Docker container running Github Hubot.
Stars: ✭ 21 (-22.22%)
Mutual labels:  slack
Mattermost Docker
Dockerfile for mattermost in production
Stars: ✭ 929 (+3340.74%)
Mutual labels:  mattermost
Custom Slack Css
A custom CSS for Slack App users
Stars: ✭ 14 (-48.15%)
Mutual labels:  slack
Irackbot
Bridge between Slack and IRC channels allowing message filtering and logging while keeping communication public
Stars: ✭ 25 (-7.41%)
Mutual labels:  slack
Devconsole Operator
Enable a developer-focused view in OpenShift 4 web console
Stars: ✭ 25 (-7.41%)
Mutual labels:  openshift
Emacs Slack
slack client for emacs
Stars: ✭ 928 (+3337.04%)
Mutual labels:  slack
Team Time Zone
Distributed teams are awesome. Time zones are awful.
Stars: ✭ 21 (-22.22%)
Mutual labels:  slack

Mattermost for OpenShift Origin 3

This is instant Mattermost application for OpenShift Origin 3.

The license applies to all files inside this repository, not Mattermost itself.

TL;DR

oc new-project mattermost
oc new-app postgresql-persistent -p POSTGRESQL_USER=mmuser -p POSTGRESQL_PASSWORD=mostest \
                                 -p POSTGRESQL_DATABASE=mattermost -p MEMORY_LIMIT=128Mi
oc create --filename mattermost.yaml
oc create serviceaccount mattermost
oc create secret generic mattermost-database --from-literal=user=mmuser --from-literal=password=mostest
oc secrets link mattermost mattermost-database

oc new-app --template=mattermost --labels=app=mattermost
oc expose service/mattermost --labels=app=mattermost

Warning: Security

Mattermost images has hardocoded 1001 user to run with. This is bad practice when running containers in OpenShift which prefers restricted SCC which uses a random uid greater than 1000000. To workaround it, we can put the mattermost service account in anyuid scc and adjust the uid range for the namespace to run with.

oc adm policy add-scc-to-user anyuid system:serviceaccount:mattermost:mattermost
oc annotate namespace mattermost openshift.io/sa.scc.uid-range=1001/1001 --overwrite

Prerequisites

OpenShift Origin 3 up and running, including the capability to create a new project. The simple way is to use oc cluster up or Minishift

And you need to deploy PostgreSQL, described below.

Disclaimer

This template and Mattermost startup script mattermost-launch.sh only supports PostgreSQL.

Support for this work is provided as 'best can do' via GitHub.

Installation

Configuration

First of all, let's create a project for mattermost: oc new-project mattermost

We will use a ServiceAccount to run Mattermost, this account will have access to the database Secrets:

oc create --filename mattermost.yaml # to import the template
oc create serviceaccount mattermost # our deployment will use this
oc create secret generic mattermost-database --from-literal=user=mmuser --from-literal=password=mostest
oc secrets link mattermost mattermost-database # make the secret available to the serviceaccount

Deployment

As Mattermost depends on it, let's deploy PostgreSQL...

Next step, import the current image from quay.io and tag it as latest:

oc import-image registry.centos.org/mattermost/mattermost-team:5.2-PCP --confirm
oc tag mattermost-team:5.2-PCP mattermost-team:latest

If you build your own image dont forget to push it to OpenShift's ImageStreamTag mattermost/mattermost-team:latest.

Main step: deploy Mattermost app using the provided template: oc new-app --template=mattermost --labels=app=mattermost. Deployments and Services will be created for you.

And a route:

oc expose service/mattermost --labels=app=mattermost --hostname=mattermost.example.com

Usage

Point your browser at mattermost.example.com, the first user you create will be an Administrator of Mattermost.

Updates

If a new Mattermost container image is available, or if you build one yourself, you need to import it to the ImageStream and retag latest to it. This will automatically deploy the new version.

Building

The actual mattermost-team container image used is build by the CentOS Container Index, have a look at: https://registry.centos.org/mattermost/mattermost-team

Copyright

Copyright (C) 2016-2018 Red Hat Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

The GNU General Public License is provided within the file LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].