chore(matrix): add Dockerfile and docker-compose config for web app

- Add multi-stage Dockerfile for matrix/web
- Add matrix-web service to docker-compose.macmini.yml

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-29 14:08:19 +01:00
parent 55afb39acf
commit 2b3210df85
2 changed files with 97 additions and 0 deletions

View file

@ -923,6 +923,31 @@ services:
timeout: 10s
retries: 3
# ============================================
# Matrix Web App (Custom SvelteKit Client)
# ============================================
matrix-web:
image: ghcr.io/memo-2023/matrix-web:latest
container_name: manacore-matrix-web
restart: always
depends_on:
synapse:
condition: service_healthy
mana-core-auth:
condition: service_healthy
environment:
NODE_ENV: production
PORT: 5180
PUBLIC_MANA_CORE_AUTH_URL: https://auth.mana.how
ports:
- "5180:5180"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5180/health"]
interval: 30s
timeout: 10s
retries: 3
# ============================================
# Matrix Mana Bot (Unified Gateway - All Features)
# ============================================