Inicjalizacja repozytorium po uporządkowaniu Gitea; dodanie gitignore

This commit is contained in:
root
2026-03-17 23:41:37 +01:00
commit 5e72233730
22 changed files with 631 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
version: '3.8'
services:
# Baza danych dla Mattermosta
mattermost-db:
image: postgres:16-alpine
container_name: mattermost-db
restart: unless-stopped
volumes:
- ./volumes/db/var/lib/postgresql/data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=mmuser
- POSTGRES_PASSWORD=mmuser_password
- POSTGRES_DB=mattermost
networks:
- central_dogma
# Aplikacja Mattermost
mattermost-app:
image: mattermost/mattermost-team-edition:latest
container_name: mattermost-app
restart: unless-stopped
depends_on:
- mattermost-db
volumes:
- ./volumes/app/config:/mattermost/config
- ./volumes/app/data:/mattermost/data
- ./volumes/app/logs:/mattermost/logs
- ./volumes/app/plugins:/mattermost/plugins
- ./volumes/app/client/plugins:/mattermost/client/plugins
- /etc/localtime:/etc/localtime:ro
environment:
# Ustawienia połączenia z bazą (zwróć uwagę na hasło i nazwę hosta 'mattermost-db')
- MM_SQLSETTINGS_DRIVERNAME=postgres
- MM_SQLSETTINGS_DATASOURCE=postgres://mmuser:mmuser_password@mattermost-db:5432/mattermost?sslmode=disable&connect_timeout=10
# Adres strony (ważne dla linków w mailach/zaproszeniach)
- MM_SERVICESETTINGS_SITEURL=https://mattermost.archvium.eu
networks:
- central_dogma
# Używamy tej samej sieci co GitLab i Nginx Proxy Manager
networks:
central_dogma:
external: true