Add mattermost
This commit is contained in:
40
matterrmost/docker-compose.yml
Normal file
40
matterrmost/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
mattermost:
|
||||||
|
image: mattermost/mattermost-enterprise-edition
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /home/nick/configs/mattermost/config:/mattermost/config
|
||||||
|
- /home/nick/configs/mattermost/data:/mattermost/data
|
||||||
|
- /home/nick/configs/mattermost/logs:/mattermost/logs
|
||||||
|
- /home/nick/configs/mattermost/plugins:/mattermost/plugins
|
||||||
|
- /home/nick/configs/mattermost/client/plugins:/mattermost/client/plugins
|
||||||
|
- /home/nick/configs/mattermost/bleve-indexes:/mattermost/bleve-indexes
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Athens
|
||||||
|
- MM_SERVICESETTINGS_SITEURL=${URL}
|
||||||
|
- MM_BLEVESETTINGS_INDEXDIR=/mattermost/bleve-indexes
|
||||||
|
- MM_SQLSETTINGS_DRIVERNAME=postgres
|
||||||
|
- MM_SQLSETTINGS_DATASOURCE=postgres://mattermost:mattermost@db:5432/mattermost?sslmode=disable
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- routing
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:13
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=mattermost
|
||||||
|
- POSTGRES_PASSWORD=mattermost
|
||||||
|
- POSTGRES_DB=mattermost
|
||||||
|
volumes:
|
||||||
|
- /home/nick/configs/mattermost/db:/var/lib/postgresql/data
|
||||||
|
user: 1000:1000
|
||||||
|
|
||||||
|
networks:
|
||||||
|
routing:
|
||||||
|
external: true
|
||||||
|
name: routing
|
Reference in New Issue
Block a user