-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.docker-compose.yml
68 lines (68 loc) · 1.87 KB
/
test.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3.9"
services:
mattermost:
container_name: "ccdata"
image: "ccdata/mattermost:0.1" # 0.1 has edit permissions, 0.2 disables them
restart: "unless-stopped"
depends_on:
- "db"
- "cc-data-provider"
volumes:
- "./config/logs:/mattermost/logs:rw"
- "./config/plugins:/mattermost/plugins:rw"
- "./config/config/config.json:/mattermost/config/config.json"
environment:
MM_SQLSETTINGS_DRIVERNAME: "postgres"
MM_SQLSETTINGS_DATASOURCE: "postgres://mmuser:mostest@db/mattermost_test?sslmode=disable\u0026connect_timeout=10&binary_parameters=yes"
MM_SERVICESETTINGS_ENABLEBOTACCOUNTCREATION: "true"
MM_SERVICESETTINGS_ENABLEDEVELOPER: "true"
MM_SERVICESETTINGS_ENABLETESTING: "true"
MM_PLUGINSETTINGS_ENABLEUPLOADS: "true"
MM_SERVICESETTINGS_SITEURL: "https://meet.isislab.it:8066"
networks:
- mattermost
db:
container_name: db
image: "postgres"
restart: "unless-stopped"
environment:
POSTGRES_PASSWORD: "mostest"
POSTGRES_USER: "mmuser"
POSTGRES_DB: "mattermost_test"
PGDATA: "/data/postgres"
volumes:
- "postgres:/data/postgres"
networks:
- mattermost
pgadmin:
container_name: "pgadmin"
image: "dpage/pgadmin4"
restart: "unless-stopped"
depends_on:
- "db"
environment:
PGADMIN_DEFAULT_EMAIL: "admin@admin.com"
PGADMIN_DEFAULT_PASSWORD: "root"
PGADMIN_CONFIG_SERVER_MODE: "False"
volumes:
- "pgadmin:/var/lib/pgadmin"
ports:
- "${PGADMIN_PORT:-5050}:80"
networks:
- mattermost
cc-data-provider:
container_name: cc-data-provider
image: "ccdata/cc-data-provider"
restart: "unless-stopped"
depends_on:
- "db"
ports:
- "3000:3000"
networks:
- mattermost
volumes:
postgres:
pgadmin:
networks:
mattermost:
external: true