Zum Inhalt

Docker Stack

Compose-Datei

Pfad: /etc/xynap/stack/docker-compose.yml

Haeufige Befehle

# Service-Status
sudo docker compose -f /etc/xynap/stack/docker-compose.yml ps

# Logs eines Service
sudo docker compose -f /etc/xynap/stack/docker-compose.yml logs -f <service>

# Service neustarten
sudo docker compose -f /etc/xynap/stack/docker-compose.yml restart <service>

# Service rebuilden + deployen
sudo docker compose -f /etc/xynap/stack/docker-compose.yml up -d --build <service>

# Ganzen Stack starten
cd /etc/xynap/stack && sudo docker compose up -d

Container-Uebersicht

Core Infrastructure

Container Image Ports Beschreibung
traefik traefik:v3.0 80, 443 Reverse Proxy + SSL
mariadb mariadb:11.4 3306 (intern) Datenbank
redis redis:7-alpine 6379 (intern) Cache + Queues

Platform

Container Image Port Beschreibung
platform-api Custom (FastAPI) 8099 Backend API
platform-ui nginx:alpine 80 Frontend (Vue 3)
auth-service Custom (PHP 8.4) 8091 SSO + ForwardAuth

Web-Hosting

Container Image Port Beschreibung
hosting-webserver nginx:1.27-alpine 80 Kunden-Websites nginx
hosting-php84 Custom (PHP-FPM) 9000 PHP 8.4 FPM
hosting-sftp atmoz/sftp:alpine 2222 SFTP-Zugang

Mail

Container Image Ports Beschreibung
hosting-postfix Custom (Alpine) 25, 465, 587 SMTP
hosting-dovecot Custom (Alpine) 993 IMAP
hosting-rspamd rspamd/rspamd 11332-11334 Spam-Filter
hosting-roundcube roundcube/roundcubemail 80 Webmail

AI Stack

Container Image Port Beschreibung
ollama ollama/ollama 11434 LLM Runtime (GPU)
open-webui ghcr.io/open-webui 8080 Chat UI
whisper Custom 9099 Speech-to-Text
piper-tts Custom 10200 Text-to-Speech
libretranslate libretranslate 5000 Uebersetzung

Kommunikation

Container Image Ports Beschreibung
freeswitch Custom 5060/UDP, 7443/TCP SIP PBX + WebRTC
comm-hub Custom (FastAPI) 8098 Bridge Hub
sip-agent Custom - AI Voice Bot

Docker-Netzwerk

Alle Container teilen das ai-network (172.23.0.0/16). Kommunikation zwischen Containern via Service-Namen.

Volumes

Wichtige persistente Volumes:

Mount Beschreibung
/var/lib/xynap/customers/ Hosting-Kundendaten
/var/lib/xynap/mail/ Mailboxen (vhosts, dkim, ssl)
/var/lib/xynap/backups/ Restic Backup-Repo
/var/lib/xynap/platform/ Platform-State
/etc/xynap/ Konfiguration