mirror of
https://github.com/kou029w/daraz-tek.beta.fogtype.com.git
synced 2025-01-18 16:08:07 +00:00
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: daraz-tek
|
|
services:
|
|
mattermost:
|
|
image: mattermost/mattermost-team-edition:10.3@sha256:c7a97a031db8d32da5d826a3d98e961b5f965531643e1c8399340bdb349795f7
|
|
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:
|
|
image: postgres:17-alpine@sha256:d37d2c160d34430877c802e5adc22824a2ad453499db9bab1a2ceb2be6c1a46f
|
|
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:
|