-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
40 lines (40 loc) · 1.49 KB
/
docker-compose.yaml
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
40
version: "3.9"
networks:
default:
name: "mattermost-apps-dev"
services:
mattermost:
image: "mattermost/mattermost-enterprise-edition:7.4.0" # https://hub.docker.com/r/mattermost/mattermost-enterprise-edition/tags
restart: "unless-stopped"
depends_on:
- "db"
ports:
- "8065:8065"
#env_file:
# - ".docker.env"
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://mattermost:8065"
MM_SERVICESETTINGS_ENABLEBOTACCOUNTCREATION: "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: 123524266
MM_FEATUREFLAGS_AppsEnabled: "true"
MM_FEATUREFLAGS_PluginApps: "1.1.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"