This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
jupiter-compose/matterrmost/docker-compose.yml
2022-09-01 20:28:47 +03:00

41 lines
1.4 KiB
YAML

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