kevinveenbirkenbachandClaude Opus 4.7 251ce17c23 feat(web-app-matrix): central coturn + DiD-host-network via MDAD fork
Switch the ansible flavor over to a forked
github.com/kevinveenbirkenbach/matrix-docker-ansible-deploy that
supports container_network='host'. Inside the matrix-mdad DiD
container, every homeserver-stack service (synapse, element, coturn)
runs with --network=host so it shares matrix-mdad's network
namespace, which is attached to the outer compose's `postgres` and
`openldap` networks. Synapse/bridges therefore resolve `database`,
`openldap` via outer Docker DNS — no inner postgres or LDAP needed.

meta/services.yml:
- upstream.repo -> the fork; ref kept at `master` (the host-network
  patches live there). The pinned-commit story comes once the fork
  push lands.
- postgres.enabled stays `true` (matrix always needs a DB); postgres.shared
  becomes `'svc-db-postgres' in group_names` again — central when the
  DB role is up, dedicated per-app when it isn't. Both paths reach
  matrix-mdad's NS via the outer Docker daemon's DNS now that we run
  Synapse on --network=host.
- coturn becomes a first-class shared-service toggle: enabled+shared
  follow `'web-svc-coturn' in group_names`. When the central role is
  present, MDAD's bundled coturn stays off and Synapse's TURN URIs
  point at the central coturn (`turn:HOST:STUN_PORT` + tls variant)
  with the shared static_auth_secret pulled from web-svc-coturn
  credentials.

meta/variants.yml:
- V1 (ansible all-on): postgres.shared=true, coturn.shared=true.
- V2 (ansible no-auth): postgres.shared=false (dedicated path),
  coturn off — exercises both polarities for the variant-coverage
  lint and the dedicated DB code path.
- V3 (compose all-on): postgres.shared=true, coturn.shared=true.

vars/main.yml:
- MATRIX_COTURN_SHARED + MATRIX_COTURN_{HOST,STUN_TURN_PORT,STUN_TURN_TLS_PORT,AUTH_SECRET}
  lookups (gated on shared so dedicated runs don't try to read
  credentials that are not in scope).

templates/flavor/ansible/vars.yml.j2:
- matrix_homeserver_container_network / matrix_synapse_container_network
  / matrix_client_element_container_network / matrix_coturn_docker_network
  all pinned to `host`. Hits the fork's `when: var not in ['', 'host']`
  task guards (no 403 on docker_network create) and the
  `{% if var not in ['', 'host'] %}` systemd-template guards (no
  ExecStartPre=docker network connect against an additional bridge,
  which is invalid on host networking).
- When central coturn is shared: matrix_coturn_enabled=false +
  matrix_synapse_turn_uris (udp/tcp + turns udp/tcp) +
  matrix_synapse_turn_shared_secret wired to MATRIX_COTURN_AUTH_SECRET.

Tests: 186/186 green.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 01:24:10 +02:00
2026-06-03 10:37:49 +02:00
…
…
…
2026-06-03 10:37:49 +02:00
…
…
…
2026-06-03 10:37:49 +02:00
…
…

Infinito.Nexus 🚀

🔐 One login. ♾️ Infinite applications

Infinito.Nexus Logo


What is Infinito.Nexus? 📌

Infinito.Nexus is an automated, modular infrastructure framework built on Docker, Linux, and Ansible, equally suited for cloud services, local server management, and desktop workstations. At its core lies a web-based desktop with single sign-on, backed by an LDAP directory and OIDC, granting seamless access to an almost limitless portfolio of self-hosted applications. It fully supports ActivityPub applications and is Fediverse-compatible, while integrated monitoring, alerting, cleanup, self-healing, automated updates, and backup solutions provide everything an organization needs to run at scale.

📚 🔗
🌐 Try It Live Infinito.Nexus
🔧 Request Your Setup CyberMaster.Space
📖 About This Project GitHub Sponsors View Source
☕️ Support Us Patreon Buy Me a Coffee PayPal Sponsor Infinito.Nexus

Key Features 🎯

  • Automated Deployment 📦 Turn up servers and workstations in minutes with ready-made Ansible roles.

  • Enterprise-Grade Security 🔒 Centralized user management via LDAP & OIDC (Keycloak), plus optional 2FA and encrypted storage.

  • Modular Scalability 📈 Grow from small teams to global enterprises by composing only the services you need.

  • Fediverse & ActivityPub Support 🌐 Seamlessly integrate Mastodon, Peertube, Matrix and other ActivityPub apps out of the box.

  • Self-Healing & Maintenance ⚙️ Automated cleanup, container healing, and auto-updates keep infrastructure healthy without human intervention.

  • Monitoring, Alerting & Analytics 📊 Built-in system, application, and security monitoring with multi-channel notifications.

  • Backup & Disaster Recovery 💾 Scheduled backups and scripted recovery processes to safeguard your data.

  • Continuous Updates 🔄 Automatic patching and version upgrades across the stack.

  • Application Ecosystem 🚀 A curated suite of self-hosted apps, from project management, version control, and CI/CD to chat, video conferencing, CMS, e-learning, social networking, and e-commerce, all seamlessly integrated.


Get Started 🚀

Use it online 🌐

Try Infinito.Nexus – sign up in seconds, explore the platform, and discover what our solution can do for you! 🚀🔧✨

Guides 📚

  • Installation Guide for local CLI installation, Docker execution, and source builds.
  • Deploy Guide for inventory creation, full deploys, and redeploy flows.

Contributing 🔨

For the full development setup, contribution workflow, testing, and coding standards, see CONTRIBUTING.md.

Invest 💹

We are actively looking for investors to help scale Infinito.Nexus and bring open, self-hosted infrastructure to more organizations worldwide. If you are interested in investing or partnering with us, please reach out via our Investor Relations contact.

Code of Conduct 🕊️

We are committed to fostering an open and welcoming environment. Please read our CODE_OF_CONDUCT.md to understand the standards we expect from all participants in our community.

Security 🛡️

For security reporting and disclosure, see SECURITY.md.

Support and Contact 💼

For expert installation, contact details, and project participation, see SUPPORT.md.

License ⚖️

Infinito.Nexus is distributed under the Infinito.Nexus Community License (Non-Commercial). Please see LICENSE.md for full terms.

S
Description
No description provided
Readme
5.6 GiB
0 Stars 1 Watchers 0 Forks
Languages
Python 67.7%
Jinja 25.3%
Shell 5.7%
CSS 0.3%
JavaScript 0.3%
Other 0.5%