2024-12-12 22:38:49 +09:00
|
|
|
name: daraz-tek
|
|
|
|
services:
|
|
|
|
mattermost:
|
2024-12-12 13:49:05 +00:00
|
|
|
image: mattermost/mattermost-team-edition:10.3@sha256:5892ec2bdb79d74adafd2ef689ac4ea585370646a8028cc6da249ed2715ae6fa
|
2024-12-12 22:38:49 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
pids_limit: 200
|
|
|
|
tmpfs:
|
|
|
|
- /tmp
|
|
|
|
ports:
|
|
|
|
- "8065:8065"
|
|
|
|
volumes:
|
|
|
|
- mattermost_data:/mattermost
|
|
|
|
environment:
|
|
|
|
TZ: Asia/Tokyo
|
|
|
|
MM_LOCALIZATIONSETTINGS_DEFAULTCLIENTLOCALE: ja
|
|
|
|
MM_BLEVESETTINGS_INDEXDIR: /mattermost/bleve-indexes
|
|
|
|
MM_SERVICESETTINGS_SITEURL: https://daraz-tek.beta.fogtype.com
|
|
|
|
MM_SQLSETTINGS_DRIVERNAME: postgres
|
|
|
|
MM_SQLSETTINGS_DATASOURCE: postgres://postgres:${POSTGRES_PASSWORD:?}@postgres:5432/postgres?sslmode=disable&connect_timeout=10
|
|
|
|
MM_TEAMSETTINGS_MAXUSERSPERTEAM: "100"
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
postgres:
|
2025-01-10 03:58:48 +00:00
|
|
|
image: postgres:17-alpine@sha256:17143ad87797f511036cf8f50ada164aeb371f0d8068a172510549fb5d2cd65f
|
2024-12-12 22:38:49 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
pids_limit: 100
|
|
|
|
read_only: true
|
|
|
|
tmpfs:
|
|
|
|
- /tmp
|
|
|
|
- /var/run/postgresql
|
|
|
|
volumes:
|
|
|
|
- postgres_data_v17:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD
|
|
|
|
volumes:
|
|
|
|
mattermost_data:
|
|
|
|
postgres_data_v17:
|