version: '3.8' # Deploy with: # docker stack deploy -c snikket.yml snikket # # Runs on: pve-social # XMPP server (Prosody-based). TLS terminated externally by Caddy at the hub. # Certs must be bind-mounted into the container when ready. # # Web portal (invites/admin): port 80 — proxied by Caddy # XMPP client connections: port 5222 # XMPP federation: port 5269 # File transfer proxy: port 5000 services: snikket-web: image: snikket/snikket-server:latest command: web ports: - 80: 80 volumes: - snikket_data:/snikket snikket-server: image: snikket/snikket-server:latest command: server ports: - 5222: 5222 - 5269: 5269 - 5000: 5000 volumes: - snikket_data:/snikket volumes: snikket_data: