generated from mattermost/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 1.51 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: "3.9"
networks:
default:
name: "mattermost-apps-dev"
services:
mattermost:
image: "mattermost/mattermost-enterprise-edition:release-7.9" # https://hub.docker.com/r/mattermost/mattermost-enterprise-edition/tags
restart: "unless-stopped"
depends_on:
- "db"
ports:
- "8065:8065"
environment:
MM_SQLSETTINGS_DRIVERNAME: "postgres"
MM_SQLSETTINGS_DATASOURCE: "postgres://mmuser:mostest@db/mattermost_test?sslmode=disable\u0026connect_timeout=10"
MM_SERVICESETTINGS_LISTENADDRESS: ":8065"
MM_SERVICESETTINGS_SITEURL: "http://localhost:8065"
MM_SERVICESETTINGS_ENABLEBOTACCOUNTCREATION: "true"
MM_SERVICESETTINGS_ENABLEUSERACCESSTOKENS: "true"
MM_SERVICESETTINGS_ENABLEOAUTHSERVICEPROVIDER: "true"
MM_SERVICESETTINGS_ENABLEDEVELOPER: "true"
MM_SERVICESETTINGS_ENABLETESTING: "true"
MM_PLUGINSETTINGS_AUTOMATICPREPACKAGEDPLUGINS: "true"
MM_EXPERIMENTALSETTINGS_ENABLEAPPBAR: "true"
MM_PLUGINSETTINGS_ENABLEUPLOADS: "true"
MM_LOGSETTINGS_CONSOLELEVEL: "DEBUG"
MM_LOGSETTINGS_FILELEVEL: "DEBUG"
MM_FILESETTINGS_MAXFILESIZE: 1523524266
MM_FEATUREFLAGS_AppsEnabled: "true"
MM_FEATUREFLAGS_PluginApps: "1.2.0" # https://github.com/mattermost/mattermost-plugin-apps/releases
volumes:
- "./mm-logs:/mattermost/logs:rw"
db:
image: "postgres"
restart: "unless-stopped"
environment:
POSTGRES_PASSWORD: "mostest"
POSTGRES_USER: "mmuser"
POSTGRES_DB: "mattermost_test"