45 lines
1.3 KiB
YAML
Executable File
45 lines
1.3 KiB
YAML
Executable File
services:
|
|
postgres:
|
|
image: postgres:14-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: mmuser
|
|
POSTGRES_PASSWORD: dbpass
|
|
POSTGRES_DB: mattermost
|
|
TZ: Europe/Berlin
|
|
volumes:
|
|
- ./volumes/postgres/data:/var/lib/postgresql/data
|
|
security_opt:
|
|
- no-new-privileges:false
|
|
pids_limit: 100
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
- /var/run/postgresql
|
|
mattermost:
|
|
image: mattermost/mattermost-enterprise-edition:latest
|
|
depends_on:
|
|
- postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
MM_SQLSETTINGS_DRIVERNAME: postgres
|
|
MM_SQLSETTINGS_DATASOURCE: postgres://mmuser:dbpass@postgres:5432/mattermost?sslmode=disable&connect_timeout=10
|
|
MM_SERVICESETTINGS_SITEURL: http://mattermost-app.hanold.online
|
|
TZ: Europe/Berlin
|
|
ports:
|
|
- 9065:8065
|
|
volumes:
|
|
- ./volumes/mattermost/config:/mattermost/config:rw
|
|
- ./volumes/mattermost/data:/mattermost/data:rw
|
|
- ./volumes/mattermost/logs:/mattermost/logs:rw
|
|
- ./volumes/mattermost/plugins:/mattermost/plugins:rw
|
|
- ./volumes/mattermost/client-plugins:/mattermost/client/plugins:rw
|
|
- ./volumes/mattermost/bleve-indexes:/mattermost/bleve-indexes:rw
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
pids_limit: 200
|
|
read_only: false
|
|
tmpfs:
|
|
- /tmp
|
|
networks: {}
|