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
2023-02-02 14:09:14 +02:00

40 lines
1.3 KiB
YAML

version: '3.9'
services:
mattermost:
image: mattermost/mattermost-team-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:
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
volumes:
- /home/nick/configs/mattermost/db:/var/lib/postgresql/data
environment:
POSTGRES_USER: mattermost
POSTGRES_PASSWORD: mattermost
POSTGRES_DB: mattermost
user: 1000:1000
networks:
routing:
external: true
name: routing