Обновить docker-compose.yml

This commit is contained in:
2025-12-18 17:45:03 +00:00
parent c7702dc916
commit f89e41bce3

View File

@@ -3,6 +3,10 @@ version: '3.8'
services: services:
mostlymatter: mostlymatter:
build: . build: .
security_opt:
- no-new-privileges
cap_drop:
- ALL
container_name: mostlymatter container_name: mostlymatter
ports: ports:
- "8065:8065" - "8065:8065"
@@ -18,10 +22,15 @@ services:
- ./data:/mattermost/data - ./data:/mattermost/data
- ./logs:/mattermost/logs - ./logs:/mattermost/logs
- ./config:/mattermost/config - ./config:/mattermost/config
user: "1001:1001"
restart: unless-stopped restart: unless-stopped
db: db:
image: postgres:15-alpine image: postgres:15-alpine
security_opt:
- no-new-privileges
cap_drop:
- ALL
container_name: mostlymatter_db container_name: mostlymatter_db
environment: environment:
- POSTGRES_USER=mostlymatter - POSTGRES_USER=mostlymatter