Files
ServerKit/backend/templates/mattermost.yaml
T
Juan Denis 3ca6bd23a9 Update template icons and enhance sidebar user menu
Switched all template icon URLs to use local /serverkit.ai/imgs/template-icons/ assets for consistency and reliability. Improved the Sidebar component with a new user context menu featuring theme switching, settings navigation, and logout, along with conditional display of the WordPress pipeline link. Added and updated related styles for the sidebar, user menu, and page headers, and introduced new theme variables for code/terminal backgrounds.
2026-01-27 20:53:57 -05:00

96 lines
2.4 KiB
YAML

id: mattermost
name: Mattermost
version: "9.2"
description: Open-source Slack alternative for secure team collaboration and messaging
icon: https://serverkit.ai/imgs/template-icons/mattermost.png
website: https://mattermost.com
documentation: https://docs.mattermost.com
categories:
- collaboration
- chat
- communication
variables:
- name: HTTP_PORT
description: HTTP port
type: port
default: "8065"
hidden: true
- name: SITE_URL
description: Site URL (e.g., https://mattermost.example.com)
default: http://localhost:8065
required: true
- name: DB_PASSWORD
description: PostgreSQL password
type: password
generate: password
ports:
- port: 8065
protocol: tcp
description: Web interface
volumes:
- name: data
path: /mattermost/data
description: Mattermost data
- name: logs
path: /mattermost/logs
description: Mattermost logs
- name: config
path: /mattermost/config
description: Mattermost config
- name: plugins
path: /mattermost/plugins
description: Mattermost plugins
compose:
services:
mattermost:
image: mattermost/mattermost-team-edition:${VERSION:-9.2}
container_name: ${APP_NAME}
restart: unless-stopped
security_opt:
- no-new-privileges:true
pids_limit: 200
tmpfs:
- /tmp
environment:
- TZ=UTC
- MM_SQLSETTINGS_DRIVERNAME=postgres
- MM_SQLSETTINGS_DATASOURCE=postgres://mmuser:${DB_PASSWORD}@postgres:5432/mattermost?sslmode=disable&connect_timeout=10
- MM_SERVICESETTINGS_SITEURL=${SITE_URL}
volumes:
- mattermost_data:/mattermost/data
- mattermost_logs:/mattermost/logs
- mattermost_config:/mattermost/config
- mattermost_plugins:/mattermost/plugins
ports:
- "${HTTP_PORT}:8065"
depends_on:
- postgres
postgres:
image: postgres:15-alpine
container_name: ${APP_NAME}-db
restart: unless-stopped
security_opt:
- no-new-privileges:true
pids_limit: 100
tmpfs:
- /tmp
- /var/run/postgresql
environment:
- POSTGRES_USER=mmuser
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=mattermost
volumes:
- mattermost_db:/var/lib/postgresql/data
volumes:
mattermost_data:
mattermost_logs:
mattermost_config:
mattermost_plugins:
mattermost_db: