Skip to content

A Containerfile for setting up Mattermost in a virtual environment.

Notifications You must be signed in to change notification settings

ds2/mattermost-containerized

Repository files navigation

Mattermost

Directly edit on Github with VSCode: https://vscode.dev/github/ds2/mattermost-containerized

We try to use Podman here:

podman-compose version
export DB_PW='yourdbpw' # create your own db password here
podman-compose up --pull --build --remove-orphans --detach

You can access Mattermost now via http://localhost:16020/. The port can be found in the .env file.

When you first run the app, you have to create an admin user with an email, username and pw. Also, a team will be created.

Wiping all volumes

Run:

podman-compose stop
podman-compose down
podman volume list
dir_header='mattermost-containerized'
podman volume remove ${dir_header}_db01-data ${dir_header}_mm-bleve-indexes ${dir_header}_mm-client-plugins ${dir_header}_mm-config ${dir_header}_mm-data ${dir_header}_mm-logs ${dir_header}_mm-plugins

Single test

This is only for simple testing. No persistence, nothing!!

podman run --name mattermost-preview -d --publish 8065:8065 docker.io/mattermost/mattermost-preview:latest

About

A Containerfile for setting up Mattermost in a virtual environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages