Skip to content

Docker stack

Compose file

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

Occupied commands

# 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 overview

Core Infrastructure

Containers Image Ports Description
traefik traefik:v3.0 80, 443 Reverse proxy + SSL
mariadb mariatb:11.4 3306 (internal) Database
redis redis:7-alpine 6379 (internal) Cache + Queues

Platform

Containers Image Port Description
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

Containers Image Port Description
hosting webserver nginx:1.27-alpine 80 Customer websites nginx
hosting-php84 Custom (PHP-FPM) 9000 PHP 8.4 FPM
hosting-sftp atmoz/sftp:alpine 2222 SFTP access

Mail

Containers Image Ports Description
hosting-postfix Custom (Alpine) 25, 465, 587 SMTP
hosting-dovecot Custom (Alpine) 993 IMAP
hosting-rspamd rspamd 11332-11334 Spam filter
hosting-roundcube roundcube e-mail 80 Webmail

AI Stack

Containers Image Port Description
ollama ollama 11434 LLM Runtime (GPU)
open-webui ghcr.io/open-webui 8080 Chat
whisper Custom 9099 Speech-to-Text
piper-tts Custom 10200 Text-to-speech
libretranslate libretranslate 5000 Translation

Communication

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

Docker network

All containers share theai-network(172.23.0.0/16). Communication between containers via service names.

Volumes

Important persistent volumes:

Mount Description
/var/lib/xynap/customers/ Hosting customer data
/var/lib/xynap/mail/ Mailboxes (vhosts, dkim, ssl)
/var/lib/xynap/backups/ Restic Backup Repo
/var/lib/xynap/platform/ Platform status
/etc/xynap/ Configuration