2024-12-12 22:38:49 +09:00
|
|
|
name: daraz-tek
|
|
|
|
services:
|
|
|
|
mattermost:
|
2025-03-12 08:04:56 +00:00
|
|
|
image: mattermost/mattermost-team-edition:10.6@sha256:6a1b22856dc571e8a7e09ce1f3d79aa580bb7110c5797026658f26d6d0b8cf16
|
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-03-01 19:32:45 +00:00
|
|
|
image: postgres:17-alpine@sha256:7062a2109c4b51f3c792c7ea01e83ed12ef9a980886e3b3d380a7d2e5f6ce3f5
|
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:
|