diff --git a/Makefile b/Makefile index 22c35c36cb..dafc2d632b 100644 --- a/Makefile +++ b/Makefile @@ -255,6 +255,19 @@ compose-playwright: compose-restart: @"$${PYTHON}" -m cli.administration.deploy.development restart +.PHONY: compose-role-sync +# Re-run only the role of a deployed app against the running stack (no system stages; the spec runs only with pw=). +# Usage: make compose-role-sync role= [variant=] [pw=""] [keep=true] [base=''] +# Example: make compose-role-sync role=web-app-gitea variant=0 pw="--grep design: --grep-invert gallery" +# Param role: deployed application id +# Param variant: matrix round index the app was deployed with +# Param pw: Playwright arguments without quotes; when set, the spec of the role is staged again, its .env rendered again and run with them +# Param keep: true lets that spec run capture the design gallery +# Param base: hex base color that replaces the one of the inventory for this run, e.g. base='#001f3f' +compose-role-sync: + @: $${role:?role= required, e.g. role=web-app-gitea} + @role='$(role)' variant='$(variant)' pw='$(pw)' keep='$(keep)' base='$(base)' bash scripts/tests/deploy/local/sync/role.sh + .PHONY: compose-stop # Stop the development stack without removing volumes. compose-stop: @@ -279,6 +292,38 @@ compose-up: install console: @"$${PYTHON}" -m cli.console +.PHONY: cosmos +# Regenerate the '## Cosmos' mermaid diagram in every role README (or one role). +# Usage: make cosmos [role=] +# Param role: single role id (default: all roles) +cosmos: + @"$${PYTHON}" -m cli.build.docs.readme $(role) --update-cosmos + +.PHONY: design-gallery +# Rerun the design spec of a deployed app and copy its before/after screenshots to /tmp/design-gallery// (no redeploy). +# Usage: make design-gallery app= +# Param app: deployed application id +design-gallery: + @: $${app:?app= required, e.g. app=web-app-gitea} + @app='$(app)' bash scripts/tests/design/gallery.sh + +.PHONY: design-queue +# Print the roles that are due for a design pass in working order (new roles first, then by version gap). +# Usage: make design-queue [args="--next|--all|--format json"] +# Param args: extra flags for the queue CLI +design-queue: + @"$${PYTHON}" -m cli.meta.roles.design $(args) + +.PHONY: design-sync +# Re-render shared CSS, role style.css and the branding assets of a deployed app (no redeploy; injected scripts stay as deployed). +# Usage: make design-sync app= [variant=] [base=''] +# Param app: deployed application id +# Param variant: matrix round index the app was deployed with +# Param base: hex base color that replaces the one of the inventory for this run, e.g. base='#001f3f' +design-sync: + @: $${app:?app= required, e.g. app=web-app-gitea} + @app='$(app)' variant='$(variant)' base='$(base)' bash scripts/tests/design/sync.sh + .PHONY: diagnose-disk-usage # Show disk and Docker resource usage to identify what to clean up. diagnose-disk-usage: diff --git a/README.md b/README.md index e3aa0b90e3..ede3322a79 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ Every invokable role in the tested lifecycle envelope, with its upstream homepag | Name | Status | Description | More | Integrated with | |---|---|---|---|---| | [Agent Broker](roles/svc-ai-agent-broker/) | beta | Per-user Hermes and OpenClaw agents started on demand behind an OpenAI-compatible endpoint | [๐Ÿ› ๏ธ](roles/svc-ai-agent-broker/README.md#quick-setup) | [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [OpenClaw](roles/web-app-openclaw/) | -| [Akaunting](roles/web-app-akaunting/) | beta | Self-hosted platform for online accounting, bookkeeping, and business finance management | [๐ŸŒ](https://akaunting.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=UTVe_Zob_k0) [๐Ÿ› ๏ธ](roles/web-app-akaunting/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [API](roles/web-svc-api/) | alpha | Public REST API serving role data, history and translations of Infinito.Nexus for every ref of core and its forks | [๐ŸŒ](https://fastapi.tiangolo.com/) [๐Ÿ› ๏ธ](roles/web-svc-api/README.md#quick-setup) | [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Akaunting](roles/web-app-akaunting/) | beta | Self-hosted platform for online accounting, bookkeeping, and business finance management | [๐ŸŒ](https://akaunting.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=UTVe_Zob_k0) [๐Ÿ› ๏ธ](roles/web-app-akaunting/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [API](roles/web-svc-api/) | alpha | Public REST API serving role data, history and translations of Infinito.Nexus for every ref of core and its forks | [๐ŸŒ](https://fastapi.tiangolo.com/) [๐Ÿ› ๏ธ](roles/web-svc-api/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Asset Mirror (Privacy Proxy)](roles/web-svc-mirror/) | alpha | Nginx-based privacy proxy that mirrors whitelisted third-party assets under a first-party domain | [๐Ÿ› ๏ธ](roles/web-svc-mirror/README.md#quick-setup) | [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Assets Server](roles/web-svc-asset/) | beta | Nginx-based server for hosting static assets copied from a source directory to the web data path | [๐Ÿ› ๏ธ](roles/web-svc-asset/README.md#quick-setup) | [File Server](roles/web-svc-file/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/) | beta | Scheduled deduplicating backup system for Docker container volumes to a local directory, with consistent SQL dumps | [๐Ÿ› ๏ธ](roles/svc-bkp-volume-2-local/README.md#quick-setup) | [Backup Host Secrets](roles/svc-bkp-secrets-2-local/) | @@ -71,147 +71,147 @@ Every invokable role in the tested lifecycle envelope, with its upstream homepag | [Backup Remote Server](roles/svc-bkp-remote-2-local/) | beta | Scheduled pull-style backup replicating remote hosts onto this host over SSH and rsync as hard-linked snapshots | [๐Ÿ› ๏ธ](roles/svc-bkp-remote-2-local/README.md#quick-setup) | [Backup to External Device](roles/svc-bkp-local-2-device/) | | [Backup to External Device](roles/svc-bkp-local-2-device/) | beta | Plug-triggered systemd backup for hard-link deduplicated snapshots of the local backup tree onto a swappable USB device | [๐Ÿ› ๏ธ](roles/svc-bkp-local-2-device/README.md#quick-setup) | | | [Base](roles/dsk-base/) | beta | Shared premise of every desktop role, the login account its files belong to | [๐Ÿ› ๏ธ](roles/dsk-base/README.md#quick-setup) | [Workstation User](roles/user-workstation/) | -| [Baserow](roles/web-app-baserow/) | beta | Self-hosted no-code database platform with a spreadsheet-like interface for building and collaborating on data | [๐ŸŒ](https://baserow.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=5yFMfP96_4M) [๐Ÿ› ๏ธ](roles/web-app-baserow/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [BigBlueButton](roles/web-app-bigbluebutton/) | beta | Self-hosted web conferencing platform for virtual classrooms, online meetings, and real-time collaboration | [๐ŸŒ](https://bigbluebutton.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=YRkQB6MJllI) [๐Ÿ› ๏ธ](roles/web-app-bigbluebutton/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Collabora](roles/web-svc-collabora/), [Corporate Design](roles/web-svc-css/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | +| [Baserow](roles/web-app-baserow/) | beta | Self-hosted no-code database platform with a spreadsheet-like interface for building and collaborating on data | [๐ŸŒ](https://baserow.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=5yFMfP96_4M) [๐Ÿ› ๏ธ](roles/web-app-baserow/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [BigBlueButton](roles/web-app-bigbluebutton/) | beta | Self-hosted web conferencing platform for virtual classrooms, online meetings, and real-time collaboration | [๐ŸŒ](https://bigbluebutton.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=YRkQB6MJllI) [๐Ÿ› ๏ธ](roles/web-app-bigbluebutton/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Collabora](roles/web-svc-collabora/), [Corporate Design](roles/web-svc-design/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | | [Blender](roles/dsk-blender/) | alpha | Blender workstation installation wired to the agents on the host through the Model Context Protocol | [๐ŸŒ](https://www.blender.org) [๐Ÿ› ๏ธ](roles/dsk-blender/README.md#quick-setup) | [Base](roles/dsk-base/), [Claude Code](roles/dsk-gnt-claude/), [Code](roles/dsk-code/) | -| [Bluesky](roles/web-app-bluesky/) | beta | Self-hosted decentralized social network on the open AT Protocol, with its own Personal Data Server | [๐ŸŒ](https://bsky.social/) [๐Ÿ› ๏ธ](roles/web-app-bluesky/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [BookWyrm](roles/web-app-bookwyrm/) | beta | Self-hosted federated reading platform for book reviews and reading tracking across the Fediverse | [๐ŸŒ](https://joinbookwyrm.com/) [๐Ÿ› ๏ธ](roles/web-app-bookwyrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Bridgy Fed](roles/web-app-bridgy-fed/) | beta | Federation bridge connecting ActivityPub (Fediverse), the AT Protocol (Bluesky), and the IndieWeb | [๐ŸŒ](https://fed.brid.gy/) [๐Ÿ› ๏ธ](roles/web-app-bridgy-fed/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Checkmk](roles/web-app-checkmk/) | beta | Open-source IT and application monitoring server behind SSO with native LDAP user management | [๐ŸŒ](https://checkmk.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=opO-SOgOJ1I) [๐Ÿ› ๏ธ](roles/web-app-checkmk/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Chess](roles/web-app-chess/) | beta | Federated chess server for playing and following rule-validated games over ActivityPub across the Fediverse | [๐ŸŒ](https://castling.club/) [๐Ÿ› ๏ธ](roles/web-app-chess/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Bluesky](roles/web-app-bluesky/) | beta | Self-hosted decentralized social network on the open AT Protocol, with its own Personal Data Server | [๐ŸŒ](https://bsky.social/) [๐Ÿ› ๏ธ](roles/web-app-bluesky/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [BookWyrm](roles/web-app-bookwyrm/) | beta | Self-hosted federated reading platform for book reviews and reading tracking across the Fediverse | [๐ŸŒ](https://joinbookwyrm.com/) [๐Ÿ› ๏ธ](roles/web-app-bookwyrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Bridgy Fed](roles/web-app-bridgy-fed/) | beta | Federation bridge connecting ActivityPub (Fediverse), the AT Protocol (Bluesky), and the IndieWeb | [๐ŸŒ](https://fed.brid.gy/) [๐Ÿ› ๏ธ](roles/web-app-bridgy-fed/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Checkmk](roles/web-app-checkmk/) | beta | Open-source IT and application monitoring server behind SSO with native LDAP user management | [๐ŸŒ](https://checkmk.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=opO-SOgOJ1I) [๐Ÿ› ๏ธ](roles/web-app-checkmk/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Chess](roles/web-app-chess/) | beta | Federated chess server for playing and following rule-validated games over ActivityPub across the Fediverse | [๐ŸŒ](https://castling.club/) [๐Ÿ› ๏ธ](roles/web-app-chess/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Claude Code](roles/dsk-gnt-claude/) | alpha | Terminal coding agent from Anthropic, pointed at the platform's own model gateway instead of the vendor API | [๐ŸŒ](https://code.claude.com/) [๐Ÿ› ๏ธ](roles/dsk-gnt-claude/README.md#quick-setup) | [Base](roles/dsk-base/), [LiteLLM Gateway](roles/svc-ai-litellm/) | | [Code](roles/dsk-code/) | alpha | Visual Studio Code workstation editor in a selectable flavor, carrying the extensions of the agents the host deploys | [๐ŸŒ](https://github.com/microsoft/vscode) [๐Ÿ› ๏ธ](roles/dsk-code/README.md#quick-setup) | [Base](roles/dsk-base/), [Claude Code](roles/dsk-gnt-claude/), [Codex](roles/dsk-gnt-codex/) | | [Codex](roles/dsk-gnt-codex/) | alpha | Terminal coding agent from OpenAI, pointed at the platform's own model gateway instead of the vendor API | [๐ŸŒ](https://github.com/openai/codex) [๐Ÿ› ๏ธ](roles/dsk-gnt-codex/README.md#quick-setup) | [Base](roles/dsk-base/), [LiteLLM Gateway](roles/svc-ai-litellm/) | | [Collabora](roles/web-svc-collabora/) | beta | Self-hosted online office backend for real-time in-browser editing of documents, spreadsheets, and presentations | [๐ŸŒ](https://www.collaboraonline.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=8pqkclWG2BY) [๐Ÿ› ๏ธ](roles/web-svc-collabora/README.md#quick-setup) | [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Content Delivery Network](roles/web-svc-cdn/) | beta | Nginx-based content delivery network for serving shared static assets to internal web applications | [๐Ÿ› ๏ธ](roles/web-svc-cdn/README.md#quick-setup) | [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Corporate Design](roles/web-svc-css/) | beta | Service-registry role owning the canonical `css` flag and redirecting the CSS hostname to the CDN upstream | [๐Ÿ› ๏ธ](roles/web-svc-css/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Corporate Design](roles/web-svc-design/) | beta | Corporate design configuration owner and `design` service flag, redirecting its hostname to the CDN | [๐Ÿ› ๏ธ](roles/web-svc-design/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Coturn](roles/web-svc-coturn/) | beta | Free and open-source TURN/STUN relay server for NAT traversal in WebRTC and real-time communication | [๐ŸŒ](https://github.com/coturn/coturn) [๐Ÿ› ๏ธ](roles/web-svc-coturn/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Prometheus](roles/web-app-prometheus/) | | [Cursor](roles/dsk-gnt-cursor/) | alpha | AI-first code editor installed on the workstation, whose endpoint override stays an operator step | [๐ŸŒ](https://cursor.com/) [๐Ÿ› ๏ธ](roles/dsk-gnt-cursor/README.md#quick-setup) | [Base](roles/dsk-base/) | -| [Dashboard](roles/web-app-dashboard/) | beta | Self-hosted portal for unified access to all deployed applications via a customizable tile and menu interface | [๐Ÿ› ๏ธ](roles/web-app-dashboard/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-css/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Simple Icons](roles/web-svc-simpleicons/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Decidim](roles/web-app-decidim/) | beta | Open-source participatory democracy platform for public consultations, civic processes, and community voting | [๐ŸŒ](https://decidim.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=luSdPZ-wUIY) [๐Ÿ› ๏ธ](roles/web-app-decidim/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Discourse](roles/web-app-discourse/) | beta | Open-source discussion and community forum platform with moderation, notifications, and plugin support | [๐ŸŒ](https://www.discourse.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=z3qp_uB46FA) [๐Ÿ› ๏ธ](roles/web-app-discourse/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | +| [Dashboard](roles/web-app-dashboard/) | beta | Self-hosted portal for unified access to all deployed applications via a customizable tile and menu interface | [๐Ÿ› ๏ธ](roles/web-app-dashboard/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-design/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Simple Icons](roles/web-svc-simpleicons/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Decidim](roles/web-app-decidim/) | beta | Open-source participatory democracy platform for public consultations, civic processes, and community voting | [๐ŸŒ](https://decidim.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=luSdPZ-wUIY) [๐Ÿ› ๏ธ](roles/web-app-decidim/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Discourse](roles/web-app-discourse/) | beta | Open-source discussion and community forum platform with moderation, notifications, and plugin support | [๐ŸŒ](https://www.discourse.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=z3qp_uB46FA) [๐Ÿ› ๏ธ](roles/web-app-discourse/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | | [Docker Registry](roles/svc-registry-docker/) | beta | Cluster-local container image registry for serving custom-built images to Docker Swarm worker nodes | [๐ŸŒ](https://distribution.github.io/distribution/) [๐Ÿ› ๏ธ](roles/svc-registry-docker/README.md#quick-setup) | [Docker Swarm](roles/svc-swarm-node/) | | [Docker Registry Cache](roles/svc-registry-cache/) | beta | Cluster-local pull-through cache for shared Docker Hub base-image pulls, cutting duplicate transfers and rate limits | [๐Ÿ› ๏ธ](roles/svc-registry-cache/README.md#quick-setup) | [Docker Swarm](roles/svc-swarm-node/) | | [Docker Swarm](roles/svc-swarm-node/) | beta | Container orchestration cluster for scheduling services across pooled manager and worker nodes | [๐Ÿ› ๏ธ](roles/svc-swarm-node/README.md#quick-setup) | | | [Docker Swarm Manager](roles/svc-swarm-manager/) | beta | Marker role tagging a host as the Docker Swarm manager node, with the init logic delegated to svc-swarm-node | [๐Ÿ› ๏ธ](roles/svc-swarm-manager/README.md#quick-setup) | [Docker Swarm](roles/svc-swarm-node/) | -| [Documentation](roles/web-app-docs/) | beta | Infinito.Nexus documentation for the latest commit and every release, built on demand with Sphinx | [๐ŸŒ](https://www.sphinx-doc.org/) [๐Ÿ› ๏ธ](roles/web-app-docs/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Documentation](roles/web-app-docs/) | beta | Infinito.Nexus documentation for the latest commit and every release, built on demand with Sphinx | [๐ŸŒ](https://www.sphinx-doc.org/) [๐Ÿ› ๏ธ](roles/web-app-docs/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Elasticsearch](roles/svc-db-elasticsearch/) | beta | Central search and analytics engine with per-consumer index namespaces isolating tenants in a shared Docker deployment | [๐ŸŒ](https://www.elastic.co/elasticsearch) [๐Ÿ› ๏ธ](roles/svc-db-elasticsearch/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | -| [ERPNext](roles/web-app-erpnext/) | beta | Self-hosted open-source ERP suite for finance, CRM, inventory, manufacturing, HR, sales, and projects | [๐ŸŒ](https://erpnext.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=JlqE-BfDEUY) [๐Ÿ› ๏ธ](roles/web-app-erpnext/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [EspoCRM](roles/web-app-espocrm/) | beta | Open-source CRM platform for managing sales, customer interactions, and business processes across teams | [๐ŸŒ](https://www.espocrm.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TH6yJPTPLO0) [๐Ÿ› ๏ธ](roles/web-app-espocrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Fediwall](roles/web-app-fediwall/) | beta | Self-hosted Fediverse wall for showing recent public posts by hashtag or account in a live masonry grid | [๐ŸŒ](https://github.com/defnull/fediwall) [๐Ÿ› ๏ธ](roles/web-app-fediwall/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Friendica](roles/web-app-friendica/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Fider](roles/web-app-fider/) | beta | Open-source community feedback platform for collecting, voting on, and prioritizing feature requests and ideas | [๐ŸŒ](https://www.fider.io/) [๐Ÿ› ๏ธ](roles/web-app-fider/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [File Server](roles/web-svc-file/) | beta | Static file server over HTTPS with directory listing, .well-known handling, and automatic TLS certificates | [๐Ÿ› ๏ธ](roles/web-svc-file/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [ERPNext](roles/web-app-erpnext/) | beta | Self-hosted open-source ERP suite for finance, CRM, inventory, manufacturing, HR, sales, and projects | [๐ŸŒ](https://erpnext.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=JlqE-BfDEUY) [๐Ÿ› ๏ธ](roles/web-app-erpnext/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [EspoCRM](roles/web-app-espocrm/) | beta | Open-source CRM platform for managing sales, customer interactions, and business processes across teams | [๐ŸŒ](https://www.espocrm.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TH6yJPTPLO0) [๐Ÿ› ๏ธ](roles/web-app-espocrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Fediwall](roles/web-app-fediwall/) | beta | Self-hosted Fediverse wall for showing recent public posts by hashtag or account in a live masonry grid | [๐ŸŒ](https://github.com/defnull/fediwall) [๐Ÿ› ๏ธ](roles/web-app-fediwall/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Friendica](roles/web-app-friendica/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Fider](roles/web-app-fider/) | beta | Open-source community feedback platform for collecting, voting on, and prioritizing feature requests and ideas | [๐ŸŒ](https://www.fider.io/) [๐Ÿ› ๏ธ](roles/web-app-fider/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [File Server](roles/web-svc-file/) | beta | Static file server over HTTPS with directory listing, .well-known handling, and automatic TLS certificates | [๐Ÿ› ๏ธ](roles/web-svc-file/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Firewall ruleset](roles/svc-net-firewall/) | beta | nftables packet filter whose rules each role owns as its own table, replaced atomically and reloaded at boot | [๐ŸŒ](https://www.netfilter.org/projects/nftables/) [๐ŸŽฌ](https://www.youtube.com/watch?v=EGKhIljDPCw) [๐Ÿ› ๏ธ](roles/svc-net-firewall/README.md#quick-setup) | | -| [Flowise](roles/web-app-flowise/) | beta | Low-code visual builder for creating, testing, and publishing LLM and RAG workflows as HTTP endpoints | [๐ŸŒ](https://flowiseai.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=h_0TJTY6Ulg) [๐Ÿ› ๏ธ](roles/web-app-flowise/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Ollama](roles/svc-ai-ollama/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Qdrant](roles/svc-db-qdrant/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Friendica](roles/web-app-friendica/) | beta | Decentralized, federated social-networking platform for peer-to-peer communication and community building | [๐ŸŒ](https://friendi.ca/) [๐Ÿ› ๏ธ](roles/web-app-friendica/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Funkwhale](roles/web-app-funkwhale/) | beta | Self-hosted, federated platform for sharing, hosting, and streaming your own music and audio library | [๐ŸŒ](https://www.funkwhale.audio/) [๐Ÿ› ๏ธ](roles/web-app-funkwhale/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Typesense](roles/svc-db-typesense/), [Universal Logout](roles/web-svc-logout/) | -| [FusionDirectory](roles/web-app-fusiondirectory/) | beta | Web-based LDAP administration interface for managing users, groups, and directory objects | [๐ŸŒ](https://www.fusiondirectory.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=dThpssnXGyk) [๐Ÿ› ๏ธ](roles/web-app-fusiondirectory/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Gitea](roles/web-app-gitea/) | beta | Lightweight self-hosted Git service for code collaboration, version control, and repository management | [๐ŸŒ](https://about.gitea.com/) [๐Ÿ› ๏ธ](roles/web-app-gitea/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [GitLab](roles/web-app-gitlab/) | beta | Self-hosted DevOps platform for Git source-code management, CI/CD pipelines, and issue tracking | [๐ŸŒ](https://about.gitlab.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=7q9Y1Cv-ib0) [๐Ÿ› ๏ธ](roles/web-app-gitlab/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Jenkins](roles/web-app-jenkins/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Hermes Agent](roles/web-app-hermes/) | beta | Kernel-isolated agent runtime serving an OpenAI-compatible API, routed to models through the shared LLM gateway | [๐ŸŒ](https://hermes-agent.nousresearch.com/) [๐Ÿ› ๏ธ](roles/web-app-hermes/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Kata & gVisor](roles/svc-virt-kata/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Home Assistant](roles/web-app-homeassistant/) | beta | Smart-home automation hub with device integrations, dashboards and a built-in MCP server for AI agent access | [๐ŸŒ](https://www.home-assistant.io/) [๐Ÿ› ๏ธ](roles/web-app-homeassistant/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Dashboard](roles/web-app-dashboard/), [Flowise](roles/web-app-flowise/), [Hermes Agent](roles/web-app-hermes/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [HTML Server](roles/web-svc-html/) | beta | NGINX vhost for serving static HTML websites over HTTPS with automatic Let's Encrypt certificates | [๐Ÿ› ๏ธ](roles/web-svc-html/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Hugo](roles/web-app-hugo/) | beta | Static site generator building HTML from an upstream Git repository at build time and serving it via nginx | [๐ŸŒ](https://gohugo.io/) [๐Ÿ› ๏ธ](roles/web-app-hugo/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Flowise](roles/web-app-flowise/) | beta | Low-code visual builder for creating, testing, and publishing LLM and RAG workflows as HTTP endpoints | [๐ŸŒ](https://flowiseai.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=h_0TJTY6Ulg) [๐Ÿ› ๏ธ](roles/web-app-flowise/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Ollama](roles/svc-ai-ollama/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Qdrant](roles/svc-db-qdrant/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Friendica](roles/web-app-friendica/) | beta | Decentralized, federated social-networking platform for peer-to-peer communication and community building | [๐ŸŒ](https://friendi.ca/) [๐Ÿ› ๏ธ](roles/web-app-friendica/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Funkwhale](roles/web-app-funkwhale/) | beta | Self-hosted, federated platform for sharing, hosting, and streaming your own music and audio library | [๐ŸŒ](https://www.funkwhale.audio/) [๐Ÿ› ๏ธ](roles/web-app-funkwhale/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Typesense](roles/svc-db-typesense/), [Universal Logout](roles/web-svc-logout/) | +| [FusionDirectory](roles/web-app-fusiondirectory/) | beta | Web-based LDAP administration interface for managing users, groups, and directory objects | [๐ŸŒ](https://www.fusiondirectory.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=dThpssnXGyk) [๐Ÿ› ๏ธ](roles/web-app-fusiondirectory/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Gitea](roles/web-app-gitea/) | beta | Lightweight self-hosted Git service for code collaboration, version control, and repository management | [๐ŸŒ](https://about.gitea.com/) [๐Ÿ› ๏ธ](roles/web-app-gitea/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [GitLab](roles/web-app-gitlab/) | beta | Self-hosted DevOps platform for Git source-code management, CI/CD pipelines, and issue tracking | [๐ŸŒ](https://about.gitlab.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=7q9Y1Cv-ib0) [๐Ÿ› ๏ธ](roles/web-app-gitlab/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Jenkins](roles/web-app-jenkins/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Hermes Agent](roles/web-app-hermes/) | beta | Kernel-isolated agent runtime serving an OpenAI-compatible API, routed to models through the shared LLM gateway | [๐ŸŒ](https://hermes-agent.nousresearch.com/) [๐Ÿ› ๏ธ](roles/web-app-hermes/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Kata & gVisor](roles/svc-virt-kata/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Home Assistant](roles/web-app-homeassistant/) | beta | Smart-home automation hub with device integrations, dashboards and a built-in MCP server for AI agent access | [๐ŸŒ](https://www.home-assistant.io/) [๐Ÿ› ๏ธ](roles/web-app-homeassistant/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Flowise](roles/web-app-flowise/), [Hermes Agent](roles/web-app-hermes/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [HTML Server](roles/web-svc-html/) | beta | NGINX vhost for serving static HTML websites over HTTPS with automatic Let's Encrypt certificates | [๐Ÿ› ๏ธ](roles/web-svc-html/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Hugo](roles/web-app-hugo/) | beta | Static site generator building HTML from an upstream Git repository at build time and serving it via nginx | [๐ŸŒ](https://gohugo.io/) [๐Ÿ› ๏ธ](roles/web-app-hugo/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Imprint](roles/web-svc-legal/) | beta | NGINX-served static page rendering a legal imprint (Impressum) from a Jinja2 template | [๐Ÿ› ๏ธ](roles/web-svc-legal/README.md#quick-setup) | [HTML Server](roles/web-svc-html/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Intel Driver](roles/drv-intel/) | alpha | Intel VA-API media driver for hardware-accelerated video decode and encode across Linux distributions | [๐ŸŒ](https://github.com/intel/media-driver) [๐Ÿ› ๏ธ](roles/drv-intel/README.md#quick-setup) | | -| [Jellyfin](roles/web-app-jellyfin/) | beta | Self-hosted media server for streaming and organizing movies, TV, music, and photos, with OIDC and LDAP login | [๐ŸŒ](https://jellyfin.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=0t3lSJL3B_Q) [๐Ÿ› ๏ธ](roles/web-app-jellyfin/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Jenkins](roles/web-app-jenkins/) | beta | Open-source automation server for CI/CD pipelines, builds, and plugin-driven deployment workflows | [๐ŸŒ](https://www.jenkins.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=rNy00_gOo8o) [๐Ÿ› ๏ธ](roles/web-app-jenkins/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Gitea](roles/web-app-gitea/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Mattermost](roles/web-app-mattermost/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Jitsi Meet](roles/web-app-jitsi/) | beta | Self-hosted WebRTC platform for end-to-end-encryptable video conferencing with federated authentication | [๐ŸŒ](https://jitsi.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TB7LlM4erx8) [๐Ÿ› ๏ธ](roles/web-app-jitsi/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | -| [Joomla](roles/web-app-joomla/) | beta | Open-source content management system for building websites, intranets, and online applications without writing code | [๐ŸŒ](https://www.joomla.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=mXFSIC_zM2o) [๐Ÿ› ๏ธ](roles/web-app-joomla/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Jellyfin](roles/web-app-jellyfin/) | beta | Self-hosted media server for streaming and organizing movies, TV, music, and photos, with OIDC and LDAP login | [๐ŸŒ](https://jellyfin.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=0t3lSJL3B_Q) [๐Ÿ› ๏ธ](roles/web-app-jellyfin/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Jenkins](roles/web-app-jenkins/) | beta | Open-source automation server for CI/CD pipelines, builds, and plugin-driven deployment workflows | [๐ŸŒ](https://www.jenkins.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=rNy00_gOo8o) [๐Ÿ› ๏ธ](roles/web-app-jenkins/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Gitea](roles/web-app-gitea/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Mattermost](roles/web-app-mattermost/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Jitsi Meet](roles/web-app-jitsi/) | beta | Self-hosted WebRTC platform for end-to-end-encryptable video conferencing with federated authentication | [๐ŸŒ](https://jitsi.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TB7LlM4erx8) [๐Ÿ› ๏ธ](roles/web-app-jitsi/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | +| [Joomla](roles/web-app-joomla/) | beta | Open-source content management system for building websites, intranets, and online applications without writing code | [๐ŸŒ](https://www.joomla.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=mXFSIC_zM2o) [๐Ÿ› ๏ธ](roles/web-app-joomla/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Jupyter](roles/svc-ai-jupyter/) | alpha | Kernel backend that runs the code a chat writes, in a container instead of in the browser sandbox | [๐ŸŒ](https://jupyter.org/) [๐Ÿ› ๏ธ](roles/svc-ai-jupyter/README.md#quick-setup) | | | [Kata & gVisor](roles/svc-virt-kata/) | beta | Kernel-isolating container runtimes that sandbox untrusted workloads in a microVM or a userspace kernel | [๐ŸŒ](https://katacontainers.io/) [๐Ÿ› ๏ธ](roles/svc-virt-kata/README.md#quick-setup) | | -| [Keycloak](roles/web-app-keycloak/) | beta | Self-hosted identity and access management platform for single sign-on, multi-factor authentication, and user federation | [๐ŸŒ](https://www.keycloak.org/) [๐Ÿ› ๏ธ](roles/web-app-keycloak/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/) | -| [KIX](roles/web-app-kix/) | beta | Open-source ITSM and helpdesk platform (OTRS fork) for ticketing, CMDB, knowledge base, and reporting | [๐ŸŒ](https://www.kixdesk.com/en/) [๐ŸŽฌ](https://www.youtube.com/watch?v=D62emos1FQ8) [๐Ÿ› ๏ธ](roles/web-app-kix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [LAM](roles/web-app-lam/) | beta | Web interface for administering LDAP directories: managing users, groups, and other directory objects | [๐ŸŒ](https://www.ldap-account-manager.org/) [๐Ÿ› ๏ธ](roles/web-app-lam/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [LibreTranslate](roles/web-svc-libretranslate/) | beta | Self-hosted open-source machine translation API for translating and detecting text across languages | [๐ŸŒ](https://libretranslate.com/) [๐Ÿ› ๏ธ](roles/web-svc-libretranslate/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Keycloak](roles/web-app-keycloak/) | beta | Self-hosted identity and access management platform for single sign-on, multi-factor authentication, and user federation | [๐ŸŒ](https://www.keycloak.org/) [๐Ÿ› ๏ธ](roles/web-app-keycloak/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/) | +| [KIX](roles/web-app-kix/) | beta | Open-source ITSM and helpdesk platform (OTRS fork) for ticketing, CMDB, knowledge base, and reporting | [๐ŸŒ](https://www.kixdesk.com/en/) [๐ŸŽฌ](https://www.youtube.com/watch?v=D62emos1FQ8) [๐Ÿ› ๏ธ](roles/web-app-kix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [LAM](roles/web-app-lam/) | beta | Web interface for administering LDAP directories: managing users, groups, and other directory objects | [๐ŸŒ](https://www.ldap-account-manager.org/) [๐Ÿ› ๏ธ](roles/web-app-lam/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [LibreTranslate](roles/web-svc-libretranslate/) | beta | Self-hosted open-source machine translation API for translating and detecting text across languages | [๐ŸŒ](https://libretranslate.com/) [๐Ÿ› ๏ธ](roles/web-svc-libretranslate/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [LibreTranslate Engine](roles/svc-ai-libretranslate-engine/) | beta | Machine translation engine without a web surface, for pipelines that call it directly | [๐ŸŒ](https://libretranslate.com/) [๐Ÿ› ๏ธ](roles/svc-ai-libretranslate-engine/README.md#quick-setup) | | | [LID Switch Driver](roles/drv-lid-switch/) | alpha | Power-aware systemd logind configuration for predictable laptop lid-close behavior across battery, AC, and docked states | [๐Ÿ› ๏ธ](roles/drv-lid-switch/README.md#quick-setup) | | -| [Listmonk](roles/web-app-listmonk/) | beta | Self-hosted platform for newsletters and mailing lists with subscriber segmentation and campaign analytics | [๐ŸŒ](https://listmonk.app/) [๐Ÿ› ๏ธ](roles/web-app-listmonk/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [LiteLLM Admin UI](roles/web-app-litellm/) | beta | Browser-facing admin interface for the shared LLM gateway, published on its own domain behind the front proxy | [๐ŸŒ](https://docs.litellm.ai/) [๐Ÿ› ๏ธ](roles/web-app-litellm/README.md#quick-setup) | [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Listmonk](roles/web-app-listmonk/) | beta | Self-hosted platform for newsletters and mailing lists with subscriber segmentation and campaign analytics | [๐ŸŒ](https://listmonk.app/) [๐Ÿ› ๏ธ](roles/web-app-listmonk/README.md#quick-setup) | [Assets Server](roles/web-svc-asset/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [LiteLLM Admin UI](roles/web-app-litellm/) | beta | Browser-facing admin interface for the shared LLM gateway, published on its own domain behind the front proxy | [๐ŸŒ](https://docs.litellm.ai/) [๐Ÿ› ๏ธ](roles/web-app-litellm/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [LiteLLM Gateway](roles/svc-ai-litellm/) | beta | OpenAI-compatible LLM gateway routing a single /v1 endpoint to local and hosted model backends with per-consumer keys | [๐ŸŒ](https://docs.litellm.ai/) [๐Ÿ› ๏ธ](roles/svc-ai-litellm/README.md#quick-setup) | [LM Studio](roles/svc-ai-lmstudio/), [Ollama](roles/svc-ai-ollama/), [PostgreSQL](roles/svc-db-postgres/), [System One](roles/svc-ai-s1/) | -| [LittleJS](roles/web-app-littlejs/) | alpha | Self-hosted HTML5 game sandbox for browsing and running lightweight engine demos and games in the browser | [๐ŸŒ](https://killedbyapixel.github.io/LittleJS/) [๐ŸŽฌ](https://youtu.be/chuBzGjv7Ms) [๐Ÿ› ๏ธ](roles/web-app-littlejs/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [LittleJS](roles/web-app-littlejs/) | alpha | Self-hosted HTML5 game sandbox for browsing and running lightweight engine demos and games in the browser | [๐ŸŒ](https://killedbyapixel.github.io/LittleJS/) [๐ŸŽฌ](https://youtu.be/chuBzGjv7Ms) [๐Ÿ› ๏ธ](roles/web-app-littlejs/README.md#quick-setup) | [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [LM Studio](roles/svc-ai-lmstudio/) | beta | Headless local model server for open LLMs with an OpenAI-compatible API on the container network | [๐ŸŒ](https://lmstudio.ai/) [๐Ÿ› ๏ธ](roles/svc-ai-lmstudio/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/) | | [LTEngine](roles/svc-ai-ltengine/) | alpha | LLM-backed translation engine speaking the LibreTranslate API, for pipelines that call it directly | [๐ŸŒ](https://github.com/LibreTranslate/LTEngine) [๐Ÿ› ๏ธ](roles/svc-ai-ltengine/README.md#quick-setup) | | -| [Magento](roles/web-app-magento/) | alpha | Self-hosted e-commerce platform for catalog management, checkout, promotions, and multi-store online retail | [๐ŸŒ](https://business.adobe.com/products/commerce/magento/open-source.html) [๐ŸŽฌ](https://www.youtube.com/watch?v=nFdz9DZrdFc) [๐Ÿ› ๏ธ](roles/web-app-magento/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Magento](roles/web-app-magento/) | alpha | Self-hosted e-commerce platform for catalog management, checkout, promotions, and multi-store online retail | [๐ŸŒ](https://business.adobe.com/products/commerce/magento/open-source.html) [๐ŸŽฌ](https://www.youtube.com/watch?v=nFdz9DZrdFc) [๐Ÿ› ๏ธ](roles/web-app-magento/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [MariaDB](roles/svc-db-mariadb/) | beta | Shared relational database server for applications needing central SQL storage, run in Docker | [๐ŸŒ](https://mariadb.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=YsIJB15fq_c) [๐Ÿ› ๏ธ](roles/svc-db-mariadb/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | -| [Mastodon](roles/web-app-mastodon/) | beta | Self-hosted federated social network for microblogging, real-time timelines, and community moderation | [๐ŸŒ](https://joinmastodon.org/) [๐Ÿ› ๏ธ](roles/web-app-mastodon/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Matomo](roles/web-app-matomo/) | beta | Self-hosted, privacy-first web analytics platform for real-time visitor tracking and site metrics | [๐ŸŒ](https://matomo.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=Qc2kooLNDiU) [๐Ÿ› ๏ธ](roles/web-app-matomo/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [MariaDB](roles/svc-db-mariadb/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Matrix](roles/web-app-matrix/) | beta | Federated, end-to-end-encrypted messaging platform with a web client and protocol bridges to external chat networks | [๐ŸŒ](https://matrix.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=3AVsNqH_-9M) [๐Ÿ› ๏ธ](roles/web-app-matrix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [n8n](roles/web-app-n8n/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Mattermost](roles/web-app-mattermost/) | beta | Open-source, self-hosted team messaging platform for real-time collaboration via channels, threads, and integrations | [๐ŸŒ](https://mattermost.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=szfZfQFUSnU) [๐Ÿ› ๏ธ](roles/web-app-mattermost/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Jenkins](roles/web-app-jenkins/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Mastodon](roles/web-app-mastodon/) | beta | Self-hosted federated social network for microblogging, real-time timelines, and community moderation | [๐ŸŒ](https://joinmastodon.org/) [๐Ÿ› ๏ธ](roles/web-app-mastodon/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Matomo](roles/web-app-matomo/) | beta | Self-hosted, privacy-first web analytics platform for real-time visitor tracking and site metrics | [๐ŸŒ](https://matomo.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=Qc2kooLNDiU) [๐Ÿ› ๏ธ](roles/web-app-matomo/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [MariaDB](roles/svc-db-mariadb/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Matrix](roles/web-app-matrix/) | beta | Federated, end-to-end-encrypted messaging platform with a web client and protocol bridges to external chat networks | [๐ŸŒ](https://matrix.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=3AVsNqH_-9M) [๐Ÿ› ๏ธ](roles/web-app-matrix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [n8n](roles/web-app-n8n/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Mattermost](roles/web-app-mattermost/) | beta | Open-source, self-hosted team messaging platform for real-time collaboration via channels, threads, and integrations | [๐ŸŒ](https://mattermost.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=szfZfQFUSnU) [๐Ÿ› ๏ธ](roles/web-app-mattermost/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Jenkins](roles/web-app-jenkins/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [MCP Adapter](roles/svc-ai-mcp-adapter/) | alpha | Reusable per-provider MCP adapter exposing a narrow allowlisted read surface | [๐ŸŒ](https://modelcontextprotocol.io/) [๐Ÿ› ๏ธ](roles/svc-ai-mcp-adapter/README.md#quick-setup) | | -| [MediaWiki](roles/web-app-mediawiki/) | beta | Collaborative wiki platform for user-driven documentation with an extensible extension ecosystem and content management | [๐ŸŒ](https://www.mediawiki.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=-JnIjpRvgNY) [๐Ÿ› ๏ธ](roles/web-app-mediawiki/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [Keycloak](roles/web-app-keycloak/), [LibreTranslate](roles/web-svc-libretranslate/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [MediaWiki](roles/web-app-mediawiki/) | beta | Collaborative wiki platform for user-driven documentation with an extensible extension ecosystem and content management | [๐ŸŒ](https://www.mediawiki.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=-JnIjpRvgNY) [๐Ÿ› ๏ธ](roles/web-app-mediawiki/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [Keycloak](roles/web-app-keycloak/), [LibreTranslate](roles/web-svc-libretranslate/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Memcached](roles/svc-db-memcached/) | beta | Central in-memory caching engine with per-consumer key-prefix isolation, usable centrally or as an embedded sidecar | [๐ŸŒ](https://memcached.org/) [๐Ÿ› ๏ธ](roles/svc-db-memcached/README.md#quick-setup) | [Tor Onion Service](roles/svc-net-tor/) | -| [Meta](roles/web-app-meta/) | alpha | Interactive graph visualization of all Infinito.Nexus roles and their dependencies for architecture transparency | [๐Ÿ› ๏ธ](roles/web-app-meta/README.md#quick-setup) | [API](roles/web-svc-api/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Mini-QR](roles/web-app-mini-qr/) | beta | Self-hosted browser tool for generating QR codes from text or URLs with privacy-friendly local rendering | [๐ŸŒ](https://github.com/lyqht/mini-qr) [๐Ÿ› ๏ธ](roles/web-app-mini-qr/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Mobilizon](roles/web-app-mobilizon/) | beta | Federated, self-hosted platform for organizing events and building communities and groups | [๐ŸŒ](https://joinmobilizon.org/) [๐ŸŽฌ](https://framatube.org/w/2mtugeJXaihsQnTHVWHf2E) [๐Ÿ› ๏ธ](roles/web-app-mobilizon/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Moodle](roles/web-app-moodle/) | beta | Open-source learning management system for creating, managing, and delivering online courses and e-learning | [๐ŸŒ](https://moodle.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=3ORsUGVNxGs) [๐Ÿ› ๏ธ](roles/web-app-moodle/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Nextcloud](roles/web-app-nextcloud/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [n8n](roles/web-app-n8n/) | beta | Self-hosted low-code automation platform for connecting services and building workflow integrations visually | [๐ŸŒ](https://n8n.io/) [๐ŸŽฌ](https://youtu.be/4cQWJViybAQ) [๐Ÿ› ๏ธ](roles/web-app-n8n/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Nextcloud](roles/web-app-nextcloud/) | beta | Self-hosted cloud platform for file sync, sharing, real-time collaboration, and team workspaces under your own domain | [๐ŸŒ](https://nextcloud.com/) [๐ŸŽฌ](https://youtu.be/3jcYJGQgenI?si=FDmoMSrAb9_WvviC) [๐Ÿ› ๏ธ](roles/web-app-nextcloud/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Collabora](roles/web-svc-collabora/), [Corporate Design](roles/web-svc-css/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [OnlyOffice](roles/web-svc-onlyoffice/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [OpenProject](roles/web-app-openproject/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/), [XWiki](roles/web-app-xwiki/), [Zammad](roles/web-app-zammad/) | +| [Meta](roles/web-app-meta/) | alpha | Interactive graph visualization of all Infinito.Nexus roles and their dependencies for architecture transparency | [๐Ÿ› ๏ธ](roles/web-app-meta/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Mini-QR](roles/web-app-mini-qr/) | beta | Self-hosted browser tool for generating QR codes from text or URLs with privacy-friendly local rendering | [๐ŸŒ](https://github.com/lyqht/mini-qr) [๐Ÿ› ๏ธ](roles/web-app-mini-qr/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Mobilizon](roles/web-app-mobilizon/) | beta | Federated, self-hosted platform for organizing events and building communities and groups | [๐ŸŒ](https://joinmobilizon.org/) [๐ŸŽฌ](https://framatube.org/w/2mtugeJXaihsQnTHVWHf2E) [๐Ÿ› ๏ธ](roles/web-app-mobilizon/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Moodle](roles/web-app-moodle/) | beta | Open-source learning management system for creating, managing, and delivering online courses and e-learning | [๐ŸŒ](https://moodle.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=3ORsUGVNxGs) [๐Ÿ› ๏ธ](roles/web-app-moodle/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Jitsi Meet](roles/web-app-jitsi/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Nextcloud](roles/web-app-nextcloud/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [n8n](roles/web-app-n8n/) | beta | Self-hosted low-code automation platform for connecting services and building workflow integrations visually | [๐ŸŒ](https://n8n.io/) [๐ŸŽฌ](https://youtu.be/4cQWJViybAQ) [๐Ÿ› ๏ธ](roles/web-app-n8n/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Nextcloud](roles/web-app-nextcloud/) | beta | Self-hosted cloud platform for file sync, sharing, real-time collaboration, and team workspaces under your own domain | [๐ŸŒ](https://nextcloud.com/) [๐ŸŽฌ](https://youtu.be/3jcYJGQgenI?si=FDmoMSrAb9_WvviC) [๐Ÿ› ๏ธ](roles/web-app-nextcloud/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Collabora](roles/web-svc-collabora/), [Corporate Design](roles/web-svc-design/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [GitLab](roles/web-app-gitlab/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Mastodon](roles/web-app-mastodon/), [Matomo](roles/web-app-matomo/), [Matrix](roles/web-app-matrix/), [Mattermost](roles/web-app-mattermost/), [OnlyOffice](roles/web-svc-onlyoffice/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [OpenProject](roles/web-app-openproject/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/), [XWiki](roles/web-app-xwiki/), [Zammad](roles/web-app-zammad/) | | [NFS Client](roles/svc-storage-nfs-client/) | beta | Client-side NFS setup for mounting a remote server export on every swarm node, with a deploy-time reachability probe | [๐Ÿ› ๏ธ](roles/svc-storage-nfs-client/README.md#quick-setup) | [NFS Server](roles/svc-storage-nfs-server/) | | [NFS Server](roles/svc-storage-nfs-server/) | beta | Kernel-level NFS server for exporting a shared directory tree with IP-restricted access for swarm-node hosts | [๐Ÿ› ๏ธ](roles/svc-storage-nfs-server/README.md#quick-setup) | [Backup NFS](roles/svc-bkp-nfs-2-local/) | -| [Odoo ERP](roles/web-app-odoo/) | beta | Open-source ERP suite for CRM, sales, accounting, inventory, HR, and website management | [๐ŸŒ](https://www.odoo.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=FCmFgHVzd3E) [๐Ÿ› ๏ธ](roles/web-app-odoo/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Nextcloud](roles/web-app-nextcloud/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Odoo ERP](roles/web-app-odoo/) | beta | Open-source ERP suite for CRM, sales, accounting, inventory, HR, and website management | [๐ŸŒ](https://www.odoo.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=FCmFgHVzd3E) [๐Ÿ› ๏ธ](roles/web-app-odoo/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Nextcloud](roles/web-app-nextcloud/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Ollama](roles/svc-ai-ollama/) | beta | Self-hosted model server for running open LLMs locally behind a simple HTTP API | [๐ŸŒ](https://ollama.com/) [๐Ÿ› ๏ธ](roles/svc-ai-ollama/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/) | -| [OnlyOffice](roles/web-svc-onlyoffice/) | beta | Document server backend for real-time in-browser editing of documents, spreadsheets, and presentations | [๐ŸŒ](https://www.onlyoffice.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=uiFxnRK_aWM) [๐Ÿ› ๏ธ](roles/web-svc-onlyoffice/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Tor Onion Service](roles/svc-net-tor/) | -| [Open WebUI](roles/web-app-openwebui/) | beta | Self-hosted chat interface for interacting with local and private AI models via backends such as Ollama | [๐ŸŒ](https://openwebui.com/) [๐Ÿ› ๏ธ](roles/web-app-openwebui/README.md#quick-setup) | [Agent Broker](roles/svc-ai-agent-broker/), [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Qdrant](roles/svc-db-qdrant/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [OpenBao](roles/web-app-openbao/) | beta | Identity-based secrets, PKI and encryption manager with OIDC login, group-mapped policies and static-seal auto-unseal | [๐ŸŒ](https://openbao.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=hPBT-kSS-68) [๐Ÿ› ๏ธ](roles/web-app-openbao/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [OpenClaw](roles/web-app-openclaw/) | beta | Self-hosted personal AI agent gateway with a browser control UI, sandboxed in a Kata microVM or gVisor runtime | [๐ŸŒ](https://openclaw.ai/) [๐Ÿ› ๏ธ](roles/web-app-openclaw/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Kata & gVisor](roles/svc-virt-kata/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [OpenCloud](roles/web-app-opencloud/) | beta | Self-hosted platform for file sync, sharing, and collaboration with Keycloak SSO and central LDAP directory | [๐ŸŒ](https://opencloud.eu/) [๐ŸŽฌ](https://www.youtube.com/watch?v=Cg48rFNY0R4) [๐Ÿ› ๏ธ](roles/web-app-opencloud/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [OnlyOffice](roles/web-svc-onlyoffice/) | beta | Document server backend for real-time in-browser editing of documents, spreadsheets, and presentations | [๐ŸŒ](https://www.onlyoffice.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=uiFxnRK_aWM) [๐Ÿ› ๏ธ](roles/web-svc-onlyoffice/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Tor Onion Service](roles/svc-net-tor/) | +| [Open WebUI](roles/web-app-openwebui/) | beta | Self-hosted chat interface for interacting with local and private AI models via backends such as Ollama | [๐ŸŒ](https://openwebui.com/) [๐Ÿ› ๏ธ](roles/web-app-openwebui/README.md#quick-setup) | [Agent Broker](roles/svc-ai-agent-broker/), [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Qdrant](roles/svc-db-qdrant/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [OpenBao](roles/web-app-openbao/) | beta | Identity-based secrets, PKI and encryption manager with OIDC login, group-mapped policies and static-seal auto-unseal | [๐ŸŒ](https://openbao.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=hPBT-kSS-68) [๐Ÿ› ๏ธ](roles/web-app-openbao/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [OpenClaw](roles/web-app-openclaw/) | beta | Self-hosted personal AI agent gateway with a browser control UI, sandboxed in a Kata microVM or gVisor runtime | [๐ŸŒ](https://openclaw.ai/) [๐Ÿ› ๏ธ](roles/web-app-openclaw/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Kata & gVisor](roles/svc-virt-kata/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [OpenCloud](roles/web-app-opencloud/) | beta | Self-hosted platform for file sync, sharing, and collaboration with Keycloak SSO and central LDAP directory | [๐ŸŒ](https://opencloud.eu/) [๐ŸŽฌ](https://www.youtube.com/watch?v=Cg48rFNY0R4) [๐Ÿ› ๏ธ](roles/web-app-opencloud/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [OpenLDAP](roles/svc-db-openldap/) | beta | Self-hosted LDAP directory service for centralized user, group, and schema management with TLS-secured access | [๐ŸŒ](https://www.openldap.org/) [๐Ÿ› ๏ธ](roles/svc-db-openldap/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | -| [OpenProject](roles/web-app-openproject/) | beta | Self-hosted platform for project management, work-package tracking, Gantt planning, and team collaboration | [๐ŸŒ](https://www.openproject.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=rvCd0xH7rCs) [๐Ÿ› ๏ธ](roles/web-app-openproject/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Nextcloud](roles/web-app-nextcloud/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [OpenProject](roles/web-app-openproject/) | beta | Self-hosted platform for project management, work-package tracking, Gantt planning, and team collaboration | [๐ŸŒ](https://www.openproject.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=rvCd0xH7rCs) [๐Ÿ› ๏ธ](roles/web-app-openproject/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [GitLab](roles/web-app-gitlab/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Nextcloud](roles/web-app-nextcloud/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [OpenResty](roles/svc-prx-openresty/) | beta | NGINX-based web platform and reverse proxy with validated config reloads and Let's Encrypt integration | [๐ŸŒ](https://openresty.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=NR8U1qYHGqk) [๐Ÿ› ๏ธ](roles/svc-prx-openresty/README.md#quick-setup) | [Tor Onion Service](roles/svc-net-tor/) | -| [OpenTalk](roles/web-app-opentalk/) | beta | Sovereign open-source video conferencing platform for audio/video calls, screen sharing, breakout rooms, and SSO | [๐ŸŒ](https://opentalk.eu/) [๐Ÿ› ๏ธ](roles/web-app-opentalk/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | +| [OpenTalk](roles/web-app-opentalk/) | beta | Sovereign open-source video conferencing platform for audio/video calls, screen sharing, breakout rooms, and SSO | [๐ŸŒ](https://opentalk.eu/) [๐Ÿ› ๏ธ](roles/web-app-opentalk/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | | [Package cache](roles/svc-cache-package/) | beta | Cluster-local proxy cache for package upstreams, serving apt, pip, npm and raw artefacts every role declares | [๐Ÿ› ๏ธ](roles/svc-cache-package/README.md#quick-setup) | [Docker Swarm](roles/svc-swarm-node/) | | [Package update](roles/update/) | beta | System-maintenance role for refreshing the package index and upgrading installed packages via the OS package manager | [๐Ÿ› ๏ธ](roles/update/README.md#quick-setup) | | -| [PeerTube](roles/web-app-peertube/) | beta | Decentralized, federated platform for peer-to-peer video hosting, streaming, and live broadcasting | [๐ŸŒ](https://joinpeertube.org/) [๐ŸŽฌ](https://framatube.org/w/cX4KAPLTwha6hzLZ5xePGZ) [๐Ÿ› ๏ธ](roles/web-app-peertube/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | -| [Penpot](roles/web-app-penpot/) | beta | Self-hosted design and prototyping platform for UI/UX work, real-time collaboration, and developer handoff | [๐ŸŒ](https://penpot.app/) [๐ŸŽฌ](https://www.youtube.com/watch?v=vAkb4QQmbfk) [๐Ÿ› ๏ธ](roles/web-app-penpot/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [pgAdmin](roles/web-app-pgadmin/) | beta | Web-based administration and development platform for managing multiple PostgreSQL servers, with optional OAuth2 login | [๐ŸŒ](https://www.pgadmin.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=WFT5MaZN6g4) [๐Ÿ› ๏ธ](roles/web-app-pgadmin/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [PhpMyAdmin](roles/web-app-phpmyadmin/) | beta | Web-based administration tool for MySQL and MariaDB with schema management, querying, and import/export | [๐ŸŒ](https://www.phpmyadmin.net/) [๐Ÿ› ๏ธ](roles/web-app-phpmyadmin/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [PeerTube](roles/web-app-peertube/) | beta | Decentralized, federated platform for peer-to-peer video hosting, streaming, and live broadcasting | [๐ŸŒ](https://joinpeertube.org/) [๐ŸŽฌ](https://framatube.org/w/cX4KAPLTwha6hzLZ5xePGZ) [๐Ÿ› ๏ธ](roles/web-app-peertube/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Universal Logout](roles/web-svc-logout/) | +| [Penpot](roles/web-app-penpot/) | beta | Self-hosted design and prototyping platform for UI/UX work, real-time collaboration, and developer handoff | [๐ŸŒ](https://penpot.app/) [๐ŸŽฌ](https://www.youtube.com/watch?v=vAkb4QQmbfk) [๐Ÿ› ๏ธ](roles/web-app-penpot/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [pgAdmin](roles/web-app-pgadmin/) | beta | Web-based administration and development platform for managing multiple PostgreSQL servers, with optional OAuth2 login | [๐ŸŒ](https://www.pgadmin.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=WFT5MaZN6g4) [๐Ÿ› ๏ธ](roles/web-app-pgadmin/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [PhpMyAdmin](roles/web-app-phpmyadmin/) | beta | Web-based administration tool for MySQL and MariaDB with schema management, querying, and import/export | [๐ŸŒ](https://www.phpmyadmin.net/) [๐Ÿ› ๏ธ](roles/web-app-phpmyadmin/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Pi Coding Agent](roles/dsk-gnt-pi/) | alpha | Minimal terminal coding agent with a lazy-loading skill system, wired to the platform's own model gateway | [๐ŸŒ](https://github.com/earendil-works/pi) [๐Ÿ› ๏ธ](roles/dsk-gnt-pi/README.md#quick-setup) | [Base](roles/dsk-base/), [LiteLLM Gateway](roles/svc-ai-litellm/) | -| [Pixelfed](roles/web-app-pixelfed/) | beta | Decentralized, federated platform for photo sharing and image feeds across the fediverse | [๐ŸŒ](https://pixelfed.org/) [๐Ÿ› ๏ธ](roles/web-app-pixelfed/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Pixelfed](roles/web-app-pixelfed/) | beta | Decentralized, federated platform for photo sharing and image feeds across the fediverse | [๐ŸŒ](https://pixelfed.org/) [๐Ÿ› ๏ธ](roles/web-app-pixelfed/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [PostgreSQL](roles/svc-db-postgres/) | beta | Containerized relational database with automated database, user, and privilege provisioning | [๐ŸŒ](https://www.postgresql.org/) [๐Ÿ› ๏ธ](roles/svc-db-postgres/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | -| [Postmarks](roles/web-app-postmarks/) | beta | Single-user ActivityPub bookmarking site federating public bookmarks to Mastodon and the Fediverse | [๐ŸŒ](https://github.com/ckolderup/postmarks) [๐Ÿ› ๏ธ](roles/web-app-postmarks/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Pretix](roles/web-app-pretix/) | beta | Self-hosted ticketing platform for events with online sales, registration management, and secure payments | [๐ŸŒ](https://pretix.eu/) [๐ŸŽฌ](https://www.youtube.com/watch?v=5F6QkZP1Zf0) [๐Ÿ› ๏ธ](roles/web-app-pretix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Prometheus](roles/web-app-prometheus/) | beta | Open-source monitoring and alerting toolkit for storing metrics as time-series data and querying them with PromQL | [๐ŸŒ](https://prometheus.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=PzFUwBflXYc) [๐Ÿ› ๏ธ](roles/web-app-prometheus/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Flowise](roles/web-app-flowise/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Postmarks](roles/web-app-postmarks/) | beta | Single-user ActivityPub bookmarking site federating public bookmarks to Mastodon and the Fediverse | [๐ŸŒ](https://github.com/ckolderup/postmarks) [๐Ÿ› ๏ธ](roles/web-app-postmarks/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Pretix](roles/web-app-pretix/) | beta | Self-hosted ticketing platform for events with online sales, registration management, and secure payments | [๐ŸŒ](https://pretix.eu/) [๐ŸŽฌ](https://www.youtube.com/watch?v=5F6QkZP1Zf0) [๐Ÿ› ๏ธ](roles/web-app-pretix/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Prometheus](roles/web-app-prometheus/) | beta | Open-source monitoring and alerting toolkit for storing metrics as time-series data and querying them with PromQL | [๐ŸŒ](https://prometheus.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=PzFUwBflXYc) [๐Ÿ› ๏ธ](roles/web-app-prometheus/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Flowise](roles/web-app-flowise/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Proprietary Drivers](roles/drv-non-free/) | alpha | Proprietary GPU driver installer for Arch-based systems via mhwd nonfree hardware detection | [๐Ÿ› ๏ธ](roles/drv-non-free/README.md#quick-setup) | | | [Qdrant](roles/svc-db-qdrant/) | beta | Central vector database engine for storing and searching per-consumer embeddings shared across the stack | [๐ŸŒ](https://qdrant.tech/) [๐ŸŽฌ](https://www.youtube.com/watch?v=_opNdOa48Lc) [๐Ÿ› ๏ธ](roles/svc-db-qdrant/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Flowise](roles/web-app-flowise/), [Hermes Agent](roles/web-app-hermes/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [Tor Onion Service](roles/svc-net-tor/) | | [RabbitMQ](roles/svc-db-rabbitmq/) | beta | Shared message broker for async messaging with per-consumer virtual host and user isolation | [๐ŸŒ](https://www.rabbitmq.com/) [๐Ÿ› ๏ธ](roles/svc-db-rabbitmq/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | | [Redirector](roles/web-opt-rdr-domains/) | beta | NGINX glue role for 301 redirects from source to target domains with automatic SSL for the source hosts | [๐Ÿ› ๏ธ](roles/web-opt-rdr-domains/README.md#quick-setup) | | | [Redis](roles/svc-db-redis/) | beta | In-memory key-value cache and store, shared centrally with per-consumer ACL isolation or embedded as a sidecar | [๐ŸŒ](https://redis.io/) [๐Ÿ› ๏ธ](roles/svc-db-redis/README.md#quick-setup) | [Tor Onion Service](roles/svc-net-tor/) | -| [Roulette Wheel](roles/web-app-roulette-wheel/) | alpha | Browser-based spinning wheel app for decision making, random selection, and gamification | [๐ŸŒ](https://github.com/p-wojt/roulette-wheel) [๐Ÿ› ๏ธ](roles/web-app-roulette-wheel/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [Roulette Wheel](roles/web-app-roulette-wheel/) | alpha | Browser-based spinning wheel app for decision making, random selection, and gamification | [๐ŸŒ](https://github.com/p-wojt/roulette-wheel) [๐Ÿ› ๏ธ](roles/web-app-roulette-wheel/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | | [Searxng](roles/svc-ai-searxng/) | alpha | Metasearch engine the platform queries for web results without handing a user's query to a tracking search provider | [๐ŸŒ](https://docs.searxng.org/) [๐Ÿ› ๏ธ](roles/svc-ai-searxng/README.md#quick-setup) | | | [SeaweedFS](roles/web-svc-seaweedfs/) | beta | Distributed S3-compatible object store for shared, per-consumer bucket provisioning across web-app roles | [๐ŸŒ](https://seaweedfs.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=n0hRleSLAcc) [๐Ÿ› ๏ธ](roles/web-svc-seaweedfs/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Prometheus](roles/web-app-prometheus/) | -| [SeaweedFS Console](roles/web-app-seaweedfs/) | beta | Browser administration interface for the SeaweedFS object store, serving the filer and master consoles behind SSO | [๐ŸŒ](https://seaweedfs.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=n0hRleSLAcc) [๐Ÿ› ๏ธ](roles/web-app-seaweedfs/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [SeaweedFS Console](roles/web-app-seaweedfs/) | beta | Browser administration interface for the SeaweedFS object store, serving the filer and master consoles behind SSO | [๐ŸŒ](https://seaweedfs.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=n0hRleSLAcc) [๐Ÿ› ๏ธ](roles/web-app-seaweedfs/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Self-Hosted Runner](roles/svc-runner/) | beta | Self-hosted CI runner infrastructure for executing GitHub Actions workflow jobs in ephemeral Docker containers | [๐ŸŒ](https://github.com/actions/runner) [๐Ÿ› ๏ธ](roles/svc-runner/README.md#quick-setup) | | -| [Semaphore UI](roles/web-app-semaphore/) | beta | Web UI and API for running Ansible, Terraform/OpenTofu, and shell automation on a schedule or on demand | [๐ŸŒ](https://semaphoreui.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=nzR4yDuZQMU) [๐Ÿ› ๏ธ](roles/web-app-semaphore/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Shopware](roles/web-app-shopware/) | beta | Open-source ecommerce platform built on Symfony and Vue.js for building and scaling online storefronts | [๐ŸŒ](https://www.shopware.com/en/) [๐ŸŽฌ](https://www.youtube.com/watch?v=bG57TZPYsyw) [๐Ÿ› ๏ธ](roles/web-app-shopware/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Semaphore UI](roles/web-app-semaphore/) | beta | Web UI and API for running Ansible, Terraform/OpenTofu, and shell automation on a schedule or on demand | [๐ŸŒ](https://semaphoreui.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=nzR4yDuZQMU) [๐Ÿ› ๏ธ](roles/web-app-semaphore/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Shopware](roles/web-app-shopware/) | beta | Open-source ecommerce platform built on Symfony and Vue.js for building and scaling online storefronts | [๐ŸŒ](https://www.shopware.com/en/) [๐ŸŽฌ](https://www.youtube.com/watch?v=bG57TZPYsyw) [๐Ÿ› ๏ธ](roles/web-app-shopware/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Simple Icons](roles/web-svc-simpleicons/) | beta | Containerized icon server for hosting the Simple Icons brand SVG and PNG collection for web and documentation use | [๐ŸŒ](https://simpleicons.org/) [๐Ÿ› ๏ธ](roles/web-svc-simpleicons/README.md#quick-setup) | [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [Snipeโ€‘IT](roles/web-app-snipe-it/) | beta | Open-source IT asset management system for tracking hardware and software inventory | [๐ŸŒ](https://snipeitapp.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=q0V6FAPc1ls) [๐Ÿ› ๏ธ](roles/web-app-snipe-it/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Social Home](roles/web-app-socialhome/) | alpha | Privacy-first social platform for households, federating peer-to-peer over WebRTC on an embedded SQLite store | [๐ŸŒ](https://github.com/social-home-io/socialhome) [๐Ÿ› ๏ธ](roles/web-app-socialhome/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Stalwart Mail Server](roles/web-app-stalwart/) | beta | All-in-one Stalwart mail server with SMTP, IMAP, JMAP, POP3, ManageSieve, CalDAV, CardDAV and built-in spam filtering | [๐ŸŒ](https://stalw.art/) [๐Ÿ› ๏ธ](roles/web-app-stalwart/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Tor SMTP Gateway (svc-net-tor-smtp)](roles/svc-net-tor-smtp/), [Universal Logout](roles/web-svc-logout/) | +| [Snipeโ€‘IT](roles/web-app-snipe-it/) | beta | Open-source IT asset management system for tracking hardware and software inventory | [๐ŸŒ](https://snipeitapp.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=q0V6FAPc1ls) [๐Ÿ› ๏ธ](roles/web-app-snipe-it/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Social Home](roles/web-app-socialhome/) | alpha | Privacy-first social platform for households, federating peer-to-peer over WebRTC on an embedded SQLite store | [๐ŸŒ](https://github.com/social-home-io/socialhome) [๐Ÿ› ๏ธ](roles/web-app-socialhome/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Coturn](roles/web-svc-coturn/), [Dashboard](roles/web-app-dashboard/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Stalwart Mail Server](roles/web-app-stalwart/) | beta | All-in-one Stalwart mail server with SMTP, IMAP, JMAP, POP3, ManageSieve, CalDAV, CardDAV and built-in spam filtering | [๐ŸŒ](https://stalw.art/) [๐Ÿ› ๏ธ](roles/web-app-stalwart/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Tor SMTP Gateway (svc-net-tor-smtp)](roles/svc-net-tor-smtp/), [Universal Logout](roles/web-svc-logout/) | | [Storage Optimizer](roles/svc-opt-ssd-hdd/) | beta | Tiering role placing Docker volumes on SSD or HDD by workload type, with symlinks keeping paths consistent | [๐Ÿ› ๏ธ](roles/svc-opt-ssd-hdd/README.md#quick-setup) | | -| [SuiteCRM](roles/web-app-suitecrm/) | beta | Open-source CRM platform for sales, service, cases, and campaign management with workflow automation | [๐ŸŒ](https://suitecrm.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=pOAs_C3Fp_E) [๐Ÿ› ๏ธ](roles/web-app-suitecrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [SuiteCRM](roles/web-app-suitecrm/) | beta | Open-source CRM platform for sales, service, cases, and campaign management with workflow automation | [๐ŸŒ](https://suitecrm.com/) [๐ŸŽฌ](https://www.youtube.com/watch?v=pOAs_C3Fp_E) [๐Ÿ› ๏ธ](roles/web-app-suitecrm/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Swapfile](roles/svc-opt-swapfile/) | beta | On-target automation for creating and activating swap space via a cloned swapfile script | [๐Ÿ› ๏ธ](roles/svc-opt-swapfile/README.md#quick-setup) | | | [System One](roles/svc-ai-s1/) | beta | Self-hosted System One classifier that answers typed questions so the gateway can route without generating | [๐ŸŒ](https://huggingface.co/convaiinnovations/laya) [๐ŸŽฌ](https://www.youtube.com/watch?v=UoRNo5LoDRE) [๐Ÿ› ๏ธ](roles/svc-ai-s1/README.md#quick-setup) | | | [System One API](roles/web-svc-s1/) | alpha | Public vhost that exposes the System One decision API of svc-ai-s1 | [๐Ÿ› ๏ธ](roles/web-svc-s1/README.md#quick-setup) | [Prometheus](roles/web-app-prometheus/), [System One](roles/svc-ai-s1/), [Tor Onion Service](roles/svc-net-tor/) | -| [Taiga](roles/web-app-taiga/) | beta | Open-source agile project management platform for Scrum, Kanban, and hybrid team workflows | [๐ŸŒ](https://taiga.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TYPX8nQEU5I) [๐Ÿ› ๏ธ](roles/web-app-taiga/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Taiga](roles/web-app-taiga/) | beta | Open-source agile project management platform for Scrum, Kanban, and hybrid team workflows | [๐ŸŒ](https://taiga.io/) [๐ŸŽฌ](https://www.youtube.com/watch?v=TYPX8nQEU5I) [๐Ÿ› ๏ธ](roles/web-app-taiga/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | | [Tika](roles/svc-ai-tika/) | alpha | Central document extraction engine that turns uploaded files into text for retrieval-augmented chat | [๐ŸŒ](https://tika.apache.org/) [๐Ÿ› ๏ธ](roles/svc-ai-tika/README.md#quick-setup) | | | [Tor Onion Service](roles/svc-net-tor/) | beta | Tor daemon publishing the node as a v3 onion service | [๐Ÿ› ๏ธ](roles/svc-net-tor/README.md#quick-setup) | [Asset Mirror (Privacy Proxy)](roles/web-svc-mirror/) | | [Tor SMTP Gateway (svc-net-tor-smtp)](roles/svc-net-tor-smtp/) | alpha | SMTP gateway that relays .onion recipients through Tor's SOCKS listener | [๐Ÿ› ๏ธ](roles/svc-net-tor-smtp/README.md#quick-setup) | | | [Translation Gateway](roles/web-svc-translate/) | beta | One translation endpoint that picks the engine itself and prefers a reviewed human string | [๐ŸŒ](https://s.infinito.nexus/code) [๐Ÿ› ๏ธ](roles/web-svc-translate/README.md#quick-setup) | [Keycloak](roles/web-app-keycloak/), [LibreTranslate Engine](roles/svc-ai-libretranslate-engine/), [LiteLLM Gateway](roles/svc-ai-litellm/), [LTEngine](roles/svc-ai-ltengine/), [Ollama](roles/svc-ai-ollama/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [System One](roles/svc-ai-s1/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/), [Weblate](roles/web-app-weblate/) | | [Typesense](roles/svc-db-typesense/) | beta | Central Dockerized search engine shared by multiple apps with per-consumer scoped API keys | [๐ŸŒ](https://typesense.org/) [๐Ÿ› ๏ธ](roles/svc-db-typesense/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Tor Onion Service](roles/svc-net-tor/) | | [Unbound](roles/svc-dns-unbound/) | beta | Central recursive/forwarding DNSSEC resolver on a static IP for consumer stacks to target as their DNS | [๐ŸŒ](https://nlnetlabs.nl/projects/unbound/about/) [๐Ÿ› ๏ธ](roles/svc-dns-unbound/README.md#quick-setup) | | -| [Universal Logout](roles/web-svc-logout/) | beta | Central logout proxy for single-action sign-out across all OIDC-connected apps, with Nginx snippets and a live status UI | [๐Ÿ› ๏ธ](roles/web-svc-logout/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [web-app-pihole](roles/web-app-pihole/) | beta | Network-wide DNS sinkhole for blocking ads and trackers across all devices, with DHCP and a web admin dashboard | [๐ŸŒ](https://pi-hole.net/) [๐ŸŽฌ](https://youtu.be/KBXTnrD_Zs4) [๐Ÿ› ๏ธ](roles/web-app-pihole/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Weblate](roles/web-app-weblate/) | beta | Translation memory, glossaries and the human review workflow behind the translation gateway | [๐ŸŒ](https://weblate.org/) [๐Ÿ› ๏ธ](roles/web-app-weblate/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | +| [Universal Logout](roles/web-svc-logout/) | beta | Central logout proxy for single-action sign-out across all OIDC-connected apps, with Nginx snippets and a live status UI | [๐Ÿ› ๏ธ](roles/web-svc-logout/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | +| [web-app-pihole](roles/web-app-pihole/) | beta | Network-wide DNS sinkhole for blocking ads and trackers across all devices, with DHCP and a web admin dashboard | [๐ŸŒ](https://pi-hole.net/) [๐ŸŽฌ](https://youtu.be/KBXTnrD_Zs4) [๐Ÿ› ๏ธ](roles/web-app-pihole/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Content Delivery Network](roles/web-svc-cdn/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Weblate](roles/web-app-weblate/) | beta | Translation memory, glossaries and the human review workflow behind the translation gateway | [๐ŸŒ](https://weblate.org/) [๐Ÿ› ๏ธ](roles/web-app-weblate/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | | [Wireguard](roles/svc-net-wireguard-core/) | alpha | Host-level WireGuard VPN service with wg-quick config, package install, and IP-forwarding sysctl for secure tunnels | [๐ŸŒ](https://www.wireguard.com/) [๐Ÿ› ๏ธ](roles/svc-net-wireguard-core/README.md#quick-setup) | | | [Wireguard Client](roles/svc-net-wireguard-plain/) | alpha | Client-side WireGuard VPN role for stable connectivity with a systemd service and script that tune interface MTU | [๐ŸŒ](https://www.wireguard.com/) [๐Ÿ› ๏ธ](roles/svc-net-wireguard-plain/README.md#quick-setup) | | | [WireGuard Client behind NAT](roles/svc-net-wireguard-firewalled/) | alpha | Networking helper for iptables forwarding and NAT masquerading of a WireGuard client running behind NAT or a firewall | [๐Ÿ› ๏ธ](roles/svc-net-wireguard-firewalled/README.md#quick-setup) | | -| [WordPress](roles/web-app-wordpress/) | beta | Content management system for building and managing websites, blogs, and multisite networks with themes and plugins | [๐ŸŒ](https://wordpress.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=QU8GFqvXRxE) [๐Ÿ› ๏ธ](roles/web-app-wordpress/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Listmonk](roles/web-app-listmonk/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenClaw](roles/web-app-openclaw/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | +| [WordPress](roles/web-app-wordpress/) | beta | Content management system for building and managing websites, blogs, and multisite networks with themes and plugins | [๐ŸŒ](https://wordpress.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=QU8GFqvXRxE) [๐Ÿ› ๏ธ](roles/web-app-wordpress/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [BigBlueButton](roles/web-app-bigbluebutton/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Discourse](roles/web-app-discourse/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [Listmonk](roles/web-app-listmonk/), [LiteLLM Gateway](roles/svc-ai-litellm/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [OpenClaw](roles/web-app-openclaw/), [PeerTube](roles/web-app-peertube/), [Prometheus](roles/web-app-prometheus/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Translation Gateway](roles/web-svc-translate/), [Universal Logout](roles/web-svc-logout/) | | [World Wide Web](roles/web-opt-rdr-www/) | beta | NGINX server blocks that permanently redirect www subdomains to their non-www apex domains | [๐Ÿ› ๏ธ](roles/web-opt-rdr-www/README.md#quick-setup) | [Tor Onion Service](roles/svc-net-tor/) | | [XMPP](roles/web-svc-xmpp/) | beta | Placeholder stub role for a future XMPP server/container deployment, implementation pending | [๐ŸŒ](https://ejabberd.im/) [๐Ÿ› ๏ธ](roles/web-svc-xmpp/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Keycloak](roles/web-app-keycloak/), [OpenLDAP](roles/svc-db-openldap/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/) | -| [XWiki](roles/web-app-xwiki/) | beta | Self-hosted enterprise wiki and knowledge-management platform with collaboration and app-based extensibility | [๐ŸŒ](https://www.xwiki.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=8DePx30dh2g) [๐Ÿ› ๏ธ](roles/web-app-xwiki/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [YOURLS](roles/web-app-yourls/) | beta | Self-hosted URL shortener for creating, tracking, and managing short links with built-in click analytics | [๐ŸŒ](https://yourls.org/) [๐Ÿ› ๏ธ](roles/web-app-yourls/README.md#quick-setup) | [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | -| [Zammad](roles/web-app-zammad/) | beta | Open-source helpdesk and ticketing system for handling customer requests via email, chat, phone, and web | [๐ŸŒ](https://zammad.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=K30V0Uimr-s) [๐Ÿ› ๏ธ](roles/web-app-zammad/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-css/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Memcached](roles/svc-db-memcached/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [XWiki](roles/web-app-xwiki/) | beta | Self-hosted enterprise wiki and knowledge-management platform with collaboration and app-based extensibility | [๐ŸŒ](https://www.xwiki.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=8DePx30dh2g) [๐Ÿ› ๏ธ](roles/web-app-xwiki/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [SeaweedFS](roles/web-svc-seaweedfs/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [YOURLS](roles/web-app-yourls/) | beta | Self-hosted URL shortener for creating, tracking, and managing short links with built-in click analytics | [๐ŸŒ](https://yourls.org/) [๐Ÿ› ๏ธ](roles/web-app-yourls/README.md#quick-setup) | [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Keycloak](roles/web-app-keycloak/), [MariaDB](roles/svc-db-mariadb/), [Matomo](roles/web-app-matomo/), [Prometheus](roles/web-app-prometheus/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | +| [Zammad](roles/web-app-zammad/) | beta | Open-source helpdesk and ticketing system for handling customer requests via email, chat, phone, and web | [๐ŸŒ](https://zammad.org/) [๐ŸŽฌ](https://www.youtube.com/watch?v=K30V0Uimr-s) [๐Ÿ› ๏ธ](roles/web-app-zammad/README.md#quick-setup) | [Backup Docker Volumes](roles/svc-bkp-volume-2-local/), [Corporate Design](roles/web-svc-design/), [Dashboard](roles/web-app-dashboard/), [Hermes Agent](roles/web-app-hermes/), [Keycloak](roles/web-app-keycloak/), [LiteLLM Gateway](roles/svc-ai-litellm/), [Matomo](roles/web-app-matomo/), [Memcached](roles/svc-db-memcached/), [Open WebUI](roles/web-app-openwebui/), [OpenClaw](roles/web-app-openclaw/), [OpenLDAP](roles/svc-db-openldap/), [PostgreSQL](roles/svc-db-postgres/), [Prometheus](roles/web-app-prometheus/), [Redis](roles/svc-db-redis/), [Stalwart Mail Server](roles/web-app-stalwart/), [Tor Onion Service](roles/svc-net-tor/), [Universal Logout](roles/web-svc-logout/) | ## Guides ๐Ÿ“š diff --git a/aliases b/aliases index 9eb670e1e9..f047974104 100644 --- a/aliases +++ b/aliases @@ -38,9 +38,14 @@ alias i8copal='m compose-app-logs' alias i8copare='m compose-app-restart' alias i8copu='m compose-up' alias i8core='m compose-restart' +alias i8corosy='m compose-role-sync' +alias i8cos='m cosmos' alias i8cose='m compose-system-purge' alias i8coso='m compose-stop' alias i8coxe='m compose-exec' +alias i8dega='m design-gallery' +alias i8dequ='m design-queue' +alias i8desy='m design-sync' alias i8di='m diagnose-disk-usage' alias i8dine='m diagnose-network' alias i8do='m dotenv' diff --git a/cli/administration/deploy/development/README.md b/cli/administration/deploy/development/README.md index 80214597b4..71dc1e3886 100644 --- a/cli/administration/deploy/development/README.md +++ b/cli/administration/deploy/development/README.md @@ -134,7 +134,7 @@ flowchart TD KC --> MDB["svc-db-mariadb"] KC --> LDAP["svc-db-openldap"] MAILU --> MDB - KC --> CSS["web-svc-css"] + KC --> CSS["web-svc-design"] KC --> LOGOUT["web-svc-logout"] MAT --> DASH["web-app-dashboard"] CDN --> FILE["web-svc-file"] diff --git a/cli/meta/roles/design/__init__.py b/cli/meta/roles/design/__init__.py new file mode 100644 index 0000000000..50d827ce17 --- /dev/null +++ b/cli/meta/roles/design/__init__.py @@ -0,0 +1,466 @@ +"""Work queue of the corporate-design routine. + +A role is a candidate when it is a ``web-app-`` or ``web-svc-`` role with a web +UI of its own and its lifecycle sits inside the tested envelope. Every +candidate carries exactly one state: + +* ``review``: its design spec is untracked or modified and waits for approval. +* ``new``: HEAD carries no design spec for it. +* ``stale``: the image version or the shared design base moved since the last + commit of its design spec. +* ``current``: nothing moved since then. + +``new`` and ``stale`` roles are due, in that order. + +CLI: ``python -m cli.meta.roles.design --help`` +""" + +from __future__ import annotations + +import re +import subprocess +from collections import defaultdict +from dataclasses import dataclass +from operator import attrgetter +from pathlib import Path, PurePosixPath +from typing import TYPE_CHECKING + +from utils.cache.yaml import load_yaml_str +from utils.roles.applications.services.registry import read_yaml_file +from utils.roles.entity.name import get_entity_name +from utils.roles.lifecycle import tested_lifecycles +from utils.roles.mapping import ROLE_FILE_META_SERVICES, ROLE_FILE_PLAYWRIGHT_SPEC +from utils.roles.meta_lookup import get_role_lifecycle + +if TYPE_CHECKING: + from collections.abc import Callable + +Gap = tuple[int, int, int] + +SPEC_FILE = ( + PurePosixPath(ROLE_FILE_PLAYWRIGHT_SPEC).with_name("test-design.js").as_posix() +) +BASE_PATHS: tuple[str, ...] = ( + "roles/sys-front-inj-design/templates/css", + "utils/design/palette.py", +) +UI_PREFIXES: tuple[str, ...] = ("web-app-", "web-svc-") +UI_LESS_ROLES: frozenset[str] = frozenset( + { + "web-svc-asset", + "web-svc-cdn", + "web-svc-coturn", + "web-svc-design", + "web-svc-file", + "web-svc-mirror", + "web-svc-simpleicons", + "web-svc-xmpp", + } +) + +STATE_REVIEW = "review" +STATE_NEW = "new" +STATE_STALE = "stale" +STATE_CURRENT = "current" + +NO_GAP: Gap = (0, 0, 0) +MINIMAL_GAP: Gap = (0, 0, 1) + +_LEADING_NUMBER_RE = re.compile(r"v?(\d+(?:\.\d+)*)") + + +class GitError(RuntimeError): + """Raised when git is missing or a git command fails.""" + + +@dataclass(frozen=True) +class DesignCommit: + """Last commit of a design spec: full hash and commit time in epoch seconds.""" + + sha: str + timestamp: int + + +@dataclass(frozen=True) +class RoleFacts: + """Git and working-tree facts of one candidate role. + + Args: + role: Role directory name. + created: Commit time of the oldest commit reachable from HEAD that + changed a file below ``roles/``, ``None`` when no commit did. + The whole directory is read instead of the commit that added one + file, so a file that was removed and added again cannot reset it. + changed: Commit time of the newest such commit, ``None`` when none. + designed: Last commit that touched the design spec, ``None`` when HEAD + carries no design spec. + in_review: Whether the design spec exists in the working tree and is + untracked or has uncommitted changes. + base_changed: Whether a commit that ``designed`` does not contain + touched the shared design base. Ancestry decides instead of the + commit time, so a rebase that stamps both commits with the same + second cannot hide a base change. + designed_version: Image version of the primary entity at ``designed``. + current_version: Image version of the primary entity in the working + tree. Both versions are ``None`` when undeclared. + """ + + role: str + created: int | None + changed: int | None + designed: DesignCommit | None + in_review: bool + base_changed: bool + designed_version: str | None + current_version: str | None + + @property + def version_gap(self) -> Gap: + """Distance the image version moved since the last design pass.""" + if self.designed is None: + return NO_GAP + return version_gap(self.designed_version, self.current_version) + + +@dataclass(frozen=True) +class QueueEntry: + """One row of the design queue. + + Args: + rank: Position in the due queue, counted from 1, ``None`` when not due. + role: Role directory name. + state: ``new``, ``stale``, ``review`` or ``current``. + reason: Why the role carries that state. + version_gap: ``(major, minor, patch)`` distance of the image version. + created: ``RoleFacts.created`` in Unix epoch seconds. + changed: ``RoleFacts.changed`` in Unix epoch seconds. + """ + + rank: int | None + role: str + state: str + reason: str + version_gap: Gap + created: int | None + changed: int | None + + +def _leading_number(version: str | None) -> Gap | None: + match = _LEADING_NUMBER_RE.match(version) if version else None + if match is None: + return None + parts = [int(part) for part in match.group(1).split(".")][:3] + major, minor, patch = (*parts, *([0] * (3 - len(parts)))) + return (major, minor, patch) + + +def version_gap(designed: str | None, current: str | None) -> Gap: + """Measure how far an image version moved. + + Both versions lose a leading ``v`` and are read up to the end of their + leading dotted number, padded or cut to three components. + + Args: + designed: Version at the last design pass, ``None`` when undeclared. + current: Version in the working tree, ``None`` when undeclared. + + Returns: + The absolute ``(major, minor, patch)`` differences, ``(0, 0, 0)`` for + equal versions and ``(0, 0, 1)`` for versions that differ without a + numeric distance: one side is missing or not numeric, or the change + sits behind the third component. + """ + if designed == current: + return NO_GAP + old, new = _leading_number(designed), _leading_number(current) + if old is None or new is None: + return MINIMAL_GAP + major, minor, patch = (abs(a - b) for a, b in zip(old, new, strict=True)) + gap = (major, minor, patch) + return gap if gap != NO_GAP else MINIMAL_GAP + + +def state_of(facts: RoleFacts) -> str: + """Return the state of a candidate: review, new, stale or current.""" + if facts.in_review: + return STATE_REVIEW + if facts.designed is None: + return STATE_NEW + if facts.base_changed or facts.version_gap != NO_GAP: + return STATE_STALE + return STATE_CURRENT + + +def _shown(version: str | None) -> str: + return "none" if version is None else version + + +def reason_of(facts: RoleFacts) -> str: + """Return a short human-readable reason for the state of a candidate.""" + state = state_of(facts) + if state == STATE_REVIEW: + return "design spec awaits approval" + if state == STATE_NEW: + return "never designed" + if state == STATE_CURRENT: + return "up to date" + reasons = [] + if facts.version_gap != NO_GAP: + old, new = _shown(facts.designed_version), _shown(facts.current_version) + reasons.append(f"version {old} -> {new}") + if facts.base_changed: + reasons.append("design base changed") + return ", ".join(reasons) + + +def _newest_first(timestamp: int | None) -> tuple[bool, int]: + if timestamp is None: + return (True, 0) + return (False, -timestamp) + + +def _new_order(facts: RoleFacts) -> tuple[object, ...]: + return (_newest_first(facts.created), _newest_first(facts.changed), facts.role) + + +def _stale_order(facts: RoleFacts) -> tuple[object, ...]: + major, minor, patch = facts.version_gap + return ((-major, -minor, -patch), _newest_first(facts.changed), facts.role) + + +def _in_state( + facts: list[RoleFacts], state: str, order: Callable[[RoleFacts], object] +) -> list[RoleFacts]: + return sorted((item for item in facts if state_of(item) == state), key=order) + + +def _entry(facts: RoleFacts, rank: int | None) -> QueueEntry: + return QueueEntry( + rank=rank, + role=facts.role, + state=state_of(facts), + reason=reason_of(facts), + version_gap=facts.version_gap, + created=facts.created, + changed=facts.changed, + ) + + +def build_queue(facts: list[RoleFacts]) -> list[QueueEntry]: + """Order the roles that are due for a design pass. + + Args: + facts: Facts of every candidate role. + + Returns: + The ``new`` roles, newest first, followed by the ``stale`` roles, + largest version gap first. A tie falls to the most recently changed + role and then to the role name. A role no commit touched sorts behind + the committed ones. Ranks count from 1. + """ + due = [ + *_in_state(facts, STATE_NEW, _new_order), + *_in_state(facts, STATE_STALE, _stale_order), + ] + return [_entry(item, rank) for rank, item in enumerate(due, start=1)] + + +def not_due(facts: list[RoleFacts]) -> list[QueueEntry]: + """List the ``review`` roles, then the ``current`` ones, without a rank. + + Args: + facts: Facts of every candidate role. + """ + by_name = attrgetter("role") + idle = [ + *_in_state(facts, STATE_REVIEW, by_name), + *_in_state(facts, STATE_CURRENT, by_name), + ] + return [_entry(item, None) for item in idle] + + +def _git(root: Path, *args: str, stdin: str | None = None) -> str: + """Run a read-only git command in a directory and return its output. + + ``--no-optional-locks`` keeps ``git status`` from taking ``index.lock``, + which would abort a commit that another process runs in the same tree. + + Raises: + GitError: When the git binary is missing or the command exits non-zero. + """ + try: + result = subprocess.run( + ["git", "--no-optional-locks", *args], + cwd=root, + input=stdin, + capture_output=True, + encoding="utf-8", + errors="replace", + check=False, + ) + except OSError as exc: + raise GitError(f"cannot run git in {root}: {exc}") from exc + if result.returncode != 0: + raise GitError(f"git {args[0]} failed in {root}: {result.stderr.strip()}") + return result.stdout + + +def repository_root(start: Path) -> Path: + """Resolve the root of the work tree that contains a directory. + + Raises: + GitError: When git is unavailable or ``start`` is outside a work tree. + """ + return Path(_git(start, "rev-parse", "--show-toplevel").strip()) + + +def _primary_version(services: object, role: str) -> str | None: + if not isinstance(services, dict): + return None + entry = services.get(get_entity_name(role)) + if not isinstance(entry, dict) or entry.get("version") is None: + return None + return str(entry["version"]).strip() or None + + +def _is_candidate(role_dir: Path, envelope: frozenset[str]) -> bool: + role = role_dir.name + if not role.startswith(UI_PREFIXES) or role in UI_LESS_ROLES: + return False + return get_role_lifecycle(role_dir, role_name=role) in envelope + + +def candidate_roles(roles_dir: Path) -> list[str]: + """Select the roles that take part in the design queue. + + Args: + roles_dir: Directory holding the roles. + + Returns: + Sorted names of the ``web-app-`` and ``web-svc-`` roles that have a web + UI of their own and carry a lifecycle inside the tested envelope. A + role without a ``design`` service entry is included: its design pass + adds the entry. + """ + envelope = tested_lifecycles() + return [ + role_dir.name + for role_dir in sorted(roles_dir.iterdir()) + if role_dir.is_dir() and _is_candidate(role_dir, envelope) + ] + + +def _spec(role: str) -> str: + return f"roles/{role}/{SPEC_FILE}" + + +def _committed_specs(root: Path, roles: list[str]) -> set[str]: + if not roles: + return set() + specs = [_spec(role) for role in roles] + return set(_git(root, "ls-tree", "--name-only", "HEAD", "--", *specs).splitlines()) + + +def _commit_times(root: Path) -> dict[str, list[int]]: + """Map every role to the commit times of the commits that changed it. + + ``--full-history`` is load-bearing. The default history simplification + follows a single parent of each merge, and in a shallow clone that walk + ends at whichever boundary commit it reaches first: a boundary commit has + no parent, so it counts as adding every file it carries. Roles that rarely + change then report that boundary as their oldest commit and pass for the + newest roles. A merge commit lists no files and never counts. Git wraps a + path with unusual bytes in double quotes, hence the stripped leading quote. + """ + commits = _git(root, "rev-list", "--full-history", "HEAD", "--", "roles") + history = _git( + root, + "diff-tree", + "--stdin", + "--root", + "-r", + "--name-only", + "--format=%x00%ct", + "--", + "roles", + stdin=commits, + ) + times: defaultdict[str, list[int]] = defaultdict(list) + for record in history.split("\0")[1:]: + commit_time, *paths = record.splitlines() + for role in {path.lstrip('"').split("/")[1] for path in paths if path}: + times[role].append(int(commit_time)) + return dict(times) + + +def _designed(root: Path, spec: str) -> DesignCommit | None: + last = _git(root, "rev-list", "--timestamp", "-1", "HEAD", "--", spec).split() + if not last: + return None + timestamp, sha = last + return DesignCommit(sha=sha, timestamp=int(timestamp)) + + +def _in_review(root: Path, spec: str) -> bool: + """Tell whether the design spec is untracked or has uncommitted changes. + + ``--untracked-files=all`` overrides a ``status.showUntrackedFiles=no`` in + the user configuration, which would hide a spec that was never added. + """ + if not (root / spec).is_file(): + return False + status = _git(root, "status", "--porcelain", "--untracked-files=all", "--", spec) + return bool(status.strip()) + + +def _base_changed(root: Path, designed: DesignCommit) -> bool: + newer = _git(root, "rev-list", "-1", f"{designed.sha}..HEAD", "--", *BASE_PATHS) + return bool(newer.strip()) + + +def _designed_version(root: Path, role: str, designed: DesignCommit) -> str | None: + services = f"roles/{role}/{ROLE_FILE_META_SERVICES}" + if not _git(root, "ls-tree", "--name-only", designed.sha, "--", services).strip(): + return None + content = _git(root, "cat-file", "blob", f"{designed.sha}:{services}") + return _primary_version(load_yaml_str(content), role) + + +def _role_facts( + root: Path, role: str, times: list[int] | None, committed_specs: set[str] +) -> RoleFacts: + spec = _spec(role) + designed = _designed(root, spec) if spec in committed_specs else None + services = read_yaml_file(root / "roles" / role / ROLE_FILE_META_SERVICES) + return RoleFacts( + role=role, + created=min(times) if times else None, + changed=max(times) if times else None, + designed=designed, + in_review=_in_review(root, spec), + base_changed=designed is not None and _base_changed(root, designed), + designed_version=( + None if designed is None else _designed_version(root, role, designed) + ), + current_version=_primary_version(services, role), + ) + + +def collect_facts(repo_root: Path) -> list[RoleFacts]: + """Collect the facts of every candidate role from git and the working tree. + + Args: + repo_root: Root of the repository work tree. + + Returns: + One entry per candidate role, sorted by role name. + + Raises: + GitError: When git is unavailable or a git command fails. + """ + roles = candidate_roles(repo_root / "roles") + times = _commit_times(repo_root) + committed_specs = _committed_specs(repo_root, roles) + return [ + _role_facts(repo_root, role, times.get(role), committed_specs) for role in roles + ] diff --git a/cli/meta/roles/design/__main__.py b/cli/meta/roles/design/__main__.py new file mode 100644 index 0000000000..707a11208e --- /dev/null +++ b/cli/meta/roles/design/__main__.py @@ -0,0 +1,123 @@ +from __future__ import annotations + +import argparse +import json +import sys +from dataclasses import asdict +from typing import TYPE_CHECKING + +from cli import PROJECT_ROOT + +from . import ( + STATE_CURRENT, + STATE_REVIEW, + GitError, + build_queue, + collect_facts, + not_due, + repository_root, +) + +if TYPE_CHECKING: + from . import QueueEntry + +_COLUMNS = ("rank", "role", "state", "reason") + +_DESCRIPTION = """\ +Print the web UI roles that need a corporate-design pass, in working order. + +states: + new HEAD carries no design spec for the role; newest role first + stale image version or shared design base moved since the last design + pass; largest version gap first, a base-only change last + review the design spec is uncommitted and awaits approval; not due + current nothing moved since the last design pass; not due +""" + + +def _build_parser() -> argparse.ArgumentParser: + p = argparse.ArgumentParser( + prog="python -m cli.meta.roles.design", + description=_DESCRIPTION, + formatter_class=argparse.RawDescriptionHelpFormatter, + ) + scope = p.add_mutually_exclusive_group() + scope.add_argument( + "--next", + action="store_true", + help="Print only the role name of rank 1, nothing when no role is due.", + ) + scope.add_argument( + "--all", + action="store_true", + help="Also list the review and current roles after the due queue.", + ) + p.add_argument( + "--format", + choices=("text", "json"), + help="Output format, the aligned text table when omitted. json emits a " + "list of objects with rank, role, state, reason, version_gap, created " + "and changed; the last two are commit times in Unix epoch seconds.", + ) + return p + + +def render_table(rows: list[QueueEntry]) -> str: + """Render queue entries as an aligned text table. + + Args: + rows: Entries in output order. + + Returns: + The header line and one line per entry, columns padded to equal width. + """ + lines = [ + _COLUMNS, + *( + ("" if row.rank is None else str(row.rank), row.role, row.state, row.reason) + for row in rows + ), + ] + widths = [max(map(len, column)) for column in zip(*lines, strict=True)] + return "\n".join( + " ".join( + cell.ljust(width) for cell, width in zip(line, widths, strict=True) + ).rstrip() + for line in lines + ) + + +def _summary(queue: list[QueueEntry], idle: list[QueueEntry]) -> str: + review = sum(row.state == STATE_REVIEW for row in idle) + current = sum(row.state == STATE_CURRENT for row in idle) + return f"due: {len(queue)}, in review: {review}, current: {current}" + + +def main(argv: list[str] | None = None) -> int: + args = _build_parser().parse_args(argv) + try: + facts = collect_facts(repository_root(PROJECT_ROOT)) + except GitError as exc: + print(f"[ERROR] {exc}", file=sys.stderr) + return 1 + + queue = build_queue(facts) + if args.next: + if queue: + print(queue[0].role) + return 0 + + idle = not_due(facts) + rows = [*queue, *idle] if args.all else queue + if args.format == "json": + print(json.dumps([asdict(row) for row in rows], indent=2)) + return 0 + + print(render_table(rows)) + print() + print(_summary(queue, idle)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/cli/meta/roles/services/called/__main__.py b/cli/meta/roles/services/called/__main__.py index e2be559e0b..39cede11f1 100644 --- a/cli/meta/roles/services/called/__main__.py +++ b/cli/meta/roles/services/called/__main__.py @@ -26,7 +26,7 @@ def _build_parser() -> argparse.ArgumentParser: p.add_argument( "--apps", required=True, - help="Comma-separated deployed role ids (e.g. `web-app-yourls,web-svc-css`).", + help="Comma-separated deployed role ids (e.g. `web-app-yourls,web-svc-design`).", ) return p diff --git a/docs/agents/action/README.md b/docs/agents/action/README.md index 1e0de1cbf3..a01b0745b4 100644 --- a/docs/agents/action/README.md +++ b/docs/agents/action/README.md @@ -1,6 +1,6 @@ # Agent action guides ๐Ÿงญ This directory contains action-oriented runbooks for agent work. -Its scope is how agents should develop, debug, test, refactor, commit, and handle pull requests while staying aligned with repository policy. +Its scope is how agents should develop, debug, test, refactor, design, commit, and handle pull requests while staying aligned with repository policy. Unlike the rest of `docs/agents/`, these files are read on demand rather than at session start: an `i8-` skill routes to the runbook of the action it covers, and an agent performing one of these actions without a skill reads that runbook first. They are the bulk of the agent documentation and each one is inert until its action is the task. diff --git a/docs/agents/action/design.md b/docs/agents/action/design.md new file mode 100644 index 0000000000..f597bcc370 --- /dev/null +++ b/docs/agents/action/design.md @@ -0,0 +1,104 @@ +# Design Loop + +Use this page for bringing the web UI of a role into the corporate design and for the recurring design maintenance of all UI roles. +For the deploy mechanics see the [Compose Loop](iteration/compose.md), for spec iteration the [Playwright Spec Loop](iteration/playwright.md). +For tokens, the cascade layer and the role stylesheet contract see [style.css](../../contributing/artefact/files/role/style.css.md). + +## When to use + +- A role with a web UI has no design pass yet, or its app version or the shared design base moved since its last pass. +- A recurring agent maintains the design of every UI role. + +## The queue + +- `make design-queue` prints the roles that are due, in the order you MUST work them: + 1. `new`: roles without a committed `files/playwright/test-design.js`, newest role first. + 2. `stale`: roles whose image version moved since their last design pass, largest version gap first, followed by roles for which only the shared design base changed. + 3. Ties: the most recently changed role first. +- `review` roles carry an uncommitted design spec. They wait for the operator and MUST NOT be picked again unless the operator rejected their gallery. +- `current` roles need no work. +- You MUST work exactly one role and run exactly one compose stack at a time. + +## Cadence + +- The loop iterates every 30 minutes. On each tick: read the queue, continue the role in progress, or start the first due role. +- A long-running deploy, gate or gallery run wakes the loop on completion. The 30 minute tick is the fallback. +- When nothing is due and no gallery awaits an answer, report the status matrix (approved, in review, rejected, due) and wait for the next tick. + +## The stack + +- Apps stay deployed between roles. Do not purge ahead of need. +- A deployed UI role that is still due gets its pass before it is removed, also when it only runs as a provider for another role. Schedule that pass directly after the role that needed the provider. +- Purge only when the next deploy does not fit: compare `free -g` and `df -h` with the `mem_limit` and `min_storage` the next role declares in its `meta/services.yml`. +- When it does not fit, remove the fewest finished roles that close the gap with `make compose-entity-purge apps=` and report the measured numbers. +- A finished role that publishes a host port the next deploy binds does not fit either. The mail role holds port 25, which the local mail relay of every deploy with `email` disabled starts on: remove it directly after its pass, and check with `make compose-exec cmd="ss -ltn"` that the port is free before the next deploy. + +## One role pass + +1. Read `roles//AGENTS.md` when present. Role changes stay under `roles//`. A defect of the shared base goes into its own base commit. +2. Run `make quality-high` to green, then deploy against the running stack with `INFINITO_PLAYWRIGHT_KEEP=true make compose-deploy apps= variant=0 disable=`. Keep the default `initialize` mode, a single pass, no `full_cycle`, no teardown between roles. +3. Find the carriers of the app's design in the live stack before you write CSS. List its in-house options first: theming configuration (config, CLI, API or admin setting), theme files or a custom CSS setting, logo and title settings. Then fetch the app's stylesheets through `make compose-exec cmd="curl -sk "` and read its real variable names. +4. Apply the palette through the app's own configuration. An in-house option MUST be used before the injected role stylesheet, in this order: + - **Theming configuration** (config, CLI, API or admin setting): feed the palette values server side, as [web-app-nextcloud](../../../roles/web-app-nextcloud/tasks/02_manager_ops/08_design.yml) does with `occ theming:config`. Ship no stylesheet. + - **In-house theme or custom CSS option** (theme file, custom CSS setting): ship the mapping of the app's variables onto the tokens through that option, as [web-app-gitea](../../../roles/web-app-gitea/templates/theme.css.j2) does with themes generated from Gitea's built-in ones. + - **Injected role stylesheet**, only for what no in-house option reaches: + - CSS variable design system: map the app's variables onto the tokens in `templates/style.css.j2`. + - Bootstrap app: set `bootstrap: true` in the role's `design:` entry to link the shared component mapping. Replace the app's hard-coded colors in the role stylesheet, as [web-app-dashboard](../../../roles/web-app-dashboard/files/style.css) does. + - No design of its own: the shared element defaults apply. The role stylesheet only covers what stays hard-coded. +5. Set logo and title through the app's own mechanism from `lookup('design', application_id)`. Declare the slot sizes the app renders in the role's `design:` entry: measure the box the app gives its logo in every place (expanded and collapsed navigation, sign-in page) and size one slot per shape. Where the app shows a symbol plus a wordmark, declare a wide slot, so the generated lockup carries the title next to the logo. A lone symbol in a wide box is a defect. +6. An app with its own theme switch ships `templates/design.js.j2` that mirrors the chosen theme into `data-design-theme` on ``. +7. Iterate without a second full deploy: + - a changed stylesheet or logo: `make design-sync app= variant=0`, + - a changed `design.js.j2`, task, template or `meta/` file: `make compose-role-sync role= variant=0`, which re-runs only the app role against the running stack, + - a changed spec or `playwright.env.j2`: add `pw="--grep design: --grep-invert gallery"` to that call. It stages the spec again, renders its `.env` again and runs the design assertions. + - a changed spec alone: `make compose-playwright role= pw="--grep design: --grep-invert gallery"`. It reuses the rendered `.env` and also works for a deployed role that a later deploy dropped from the inventory. +8. Write `files/playwright/test-design.js` and register it in `playwright.spec.js`: + - one test that calls `assertDesignTokens`, + - `assertToken` on a core surface, the primary action and the body text (the tokens, or the values the app's theming mechanism received), and assertions that logo and title are the configured ones, + - `assertLightAndDark` on a core surface and `assertReadable` on the core text. Every role MUST support light and dark mode, whatever carries its palette, + - every open question about the role as an assertion, proven once by a negative control on the running stack. Axes the stack cannot run (SSO with LDAP, Tor, Swarm, other variants) are left to CI, + - every failure found on the running stack and fixed as an assertion that fails on the state before the fix, + - one gallery test with at least 20 views of the frontend and, where the app has one, the backend. Prefer settings, administration, forms, lists and detail pages. Log in where the app has accounts and seed showcase content idempotently where a list would be empty. + - an account for the signed-in interface. When the role provisions none, add an Ansible task to the role that creates the platform administrator through the app's own CLI or API on every deploy, idempotent and with no password in `argv`. Use OIDC instead where the app supports it natively, and run the design pass of the identity provider in the same go. A gallery of visitor pages alone is not a finished pass. +9. Capture with `make design-gallery app=` and look at every screenshot in both modes and both viewports. +10. Check the palette with three further base colors, one after the other: blue `#001f3f`, red `#c62828`, green `#2e7d32`. + - `make compose-role-sync role= variant=0 base='' pw="--grep design: --grep-invert gallery"` renders the role, the shared CSS and the logo with that base and MUST leave the design spec green. + - `make design-gallery app=`, then copy `/tmp/design-gallery//after` to `/tmp/design-palette//` and look at the sign-in page, the start page, a form, a list and an administration page in both modes. + - A view that only works with one base color carries a hard-coded color or a value baked at another time than the tokens: fix it and repeat that base. + - Finish with the same sync without `base=`, so the stack is back on the color of the inventory. + - `base=` needs an inventory that a full deploy provisioned from a development inventory vars file (`INFINITO_INVENTORY_VARS_FILE`) that defines `DESIGN_BASE_COLOR`. +11. Run `make quality-high` to green. +12. Publish the gallery as one private Artifact for the role, with the three palette runs as further sections, link it under "Further Resources" in the role README and report the link. Do not wait for the answer; take the next role. +13. Commit only when the operator asks for it, one bundle per role (`roles//`). On rejection rework from the comment, run the gate again and republish to the same Artifact. + +## Rules for the stylesheet + +- Colors come from `--design-*` tokens only. +- Text and its background MUST come from the same source. A token color on an app-owned background, or the reverse, voids the contrast guarantee. +- Keep the app's contrast relations: frame against content, panel against page, selected against unselected. Flattening them is a regression. +- Hovered, pressed, open and selected controls use `--design-surface-hover`, `--design-surface-active` and `--design--hover`, `--design--active`. +- No gradients, no filter effects for state, no hard-coded hex values. +- Delete rules whose selectors match nothing in the deployed app. + +## Review checklist for every screenshot + +- Text, icons and control borders are readable against their background in light and in dark mode. +- Hover, focus, pressed, open and selected states are visible and readable. +- The view shows the state it is named after. A view that equals the start page is dead and MUST be replaced. +- No image is broken, no menu is clipped, nothing is caught in the middle of an animation. +- "Before" and "after" show the same page state. + +## Traps + +- **Measure, do not guess.** Add a temporary `diag:` test to the role spec, run it with `make compose-exec cmd="bash scripts/tests/e2e/rerun-spec.sh --grep diag:"`, read the computed styles or console errors, then delete the test. +- **Animated apps.** `captureDesignGallery` waits up to 5 seconds for finite animations before each screenshot. An app that animates longer, or that swaps content after the animation, needs its own wait in the view's `prepare`. +- **Framework state colors.** Frameworks hard-code hover, active and disabled colors per button variant. Map every state variable, not only the resting one. +- **Legacy stylesheets.** A role stylesheet inherited from before the overhaul may assign variables the app never reads. Verify every mapped name against the app's real CSS. +- **`getComputedStyle` and visited links.** It reports the unvisited color. A link that looks different in a screenshot is not proven different by the computed value. +- **`design-sync` and scripts.** It renders static files only. An injected script keeps its deployed content because its CSP hash lives in the vhost. `compose-role-sync` renders both. +- **Login URLs under SSO.** The variant that enables `design` usually enables `sso` too, and many apps then redirect their login URL to the identity provider. Sign in through the role's login helper and assert on a page the app renders itself. +- **Parallel spec runs.** Two spec runs of one role share a reports directory and fail with `ENOENT` under `/reports/test-results`. Run one at a time. +- **Overlays caught mid-animation.** `toBeVisible` passes on the first frame of an opening animation, and the gallery helper does not see animations inside shadow roots. A dialog, drawer, menu or sheet view waits in its `prepare` until the panel runs no animation and its opacity is 1. In the screenshots a panel the page shows through, or content that sits inset and half transparent, was captured too early. Check every such view at the mobile viewport in light and dark. +- **Untracked files and the gate.** Lints that enumerate through `git ls-files` skip a new file until `git add -N ` marks it. +- **Negative control without a sync.** For a stylesheet fix, strip the fixed rule from the response with `page.route()` in a temporary copy of the test, watch the assertion fail, then delete the route. The stack stays untouched. +- **Gallery links.** An Artifact whose sharing the operator changed can stop accepting updates from the session. Publish a new one, tell the operator that the old link stays on the old state, and update the README link. diff --git a/docs/agents/action/iteration/compose.md b/docs/agents/action/iteration/compose.md index 120331244e..978310348d 100644 --- a/docs/agents/action/iteration/compose.md +++ b/docs/agents/action/iteration/compose.md @@ -15,12 +15,12 @@ For iterating on GitHub Actions workflows with Act, see [Workflow Loop](workflow - Before starting the loop, you MUST propose disabling all non-necessary services via the `disable=` make arg to reduce resource usage. In the typical case, this means keeping only the database and disabling everything else. Only proceed without this proposal if the user has already confirmed a full-stack setup. - Non-essential provider toggle: - WHEN: before first deploy of iteration. - - ACTION: ask user "disable matomo, dashboard, prometheus, email, css providers? [Y/n]". + - ACTION: ask user "disable matomo, dashboard, prometheus, email, design providers? [Y/n]". - DEFAULT: yes (disable all five). - SKIP ASK: only if user already answered explicitly in this iteration. - - ON YES: pass `disable="matomo,dashboard,prometheus,email,css"` verbatim to every deploy command. The value is a comma-separated list of provider keys, NOT a glob, NOT a `web-app-*.services.*` path. + - ON YES: pass `disable="matomo,dashboard,prometheus,email,design"` verbatim to every deploy command. The value is a comma-separated list of provider keys, NOT a glob, NOT a `web-app-*.services.*` path. - ON NO: omit the arg entirely. - - SIDE EFFECT (yes): inventory initializer auto-removes the provider roles `web-app-matomo`, `web-app-dashboard`, `web-app-prometheus`, `web-app-mailu`, and `web-svc-css`. Do NOT list them in `apps=`. + - SIDE EFFECT (yes): inventory initializer auto-removes the provider roles `web-app-matomo`, `web-app-dashboard`, `web-app-prometheus`, `web-app-mailu`, and `web-svc-design`. Do NOT list them in `apps=`. - PERSIST: record answer at top of iteration. Reuse for all subsequent deploys without re-asking. - WHY IT BITES: `test-e2e-cli` runs in the destructor stage (`tasks/stages/03_destructor.yml`), i.e. after EVERY role of the play. A deploy that still carries the five providers therefore pays for matomo, dashboard and prometheus BEFORE the CLI test you are waiting for even starts. Dropping `disable=` does not only cost resources, it delays the evidence. - Every deploy opens with a `=== compose-deploy:` line listing the arguments it actually resolved. Read it instead of trusting the command you typed: rewriting `apps=` is where `disable=` and `full_cycle=` get lost, and the line shows what is missing before the play starts. diff --git a/docs/agents/files/role/style.css.md b/docs/agents/files/role/style.css.md index 1815b3571b..b4e2ea7377 100644 --- a/docs/agents/files/role/style.css.md +++ b/docs/agents/files/role/style.css.md @@ -6,23 +6,29 @@ For repository wiring, inventory keys, and the generated palette contract, see [ ## Goal +- You MUST use the app's own configuration before the role stylesheet. An in-house theming, theme or custom CSS option outranks injected CSS. - You MUST add the smallest possible theming layer on top of the role's existing CSS. - You MUST prefer token mapping over selector rewrites so the role keeps its native structure. - The result MUST feel like one coherent brand theme, not a collection of unrelated overrides. - The result MUST be visually appealing and pleasant for humans to look at. -## Color Categories +## Tokens -- You MUST use `--color-01-*` and `--color-rgb-01-*` as the primary palette. They MUST cover the majority of themed surfaces. -- Semantic state colors such as warnings, errors, and success indicators SHOULD keep their original application colors. You MUST add a contrast border in `--color-01-00` or `--color-01-99` around them so they remain visually integrated. -- Categories `02`โ€“`09` MAY be used but are NOT RECOMMENDED. Prefer `--color-01-*` for all surfaces where possible. -- If the application's primary background is dark or black, you MUST use `--color-01-00` as the default theme color. If it is light or white, you MUST use `--color-01-99`. All other application colors MUST be mapped to one of these two anchors. Colors from categories `02`โ€“`09` MUST be derived from and kept in visual relation to the chosen anchor. +- You MUST use the semantic `--design-*` tokens listed in [Contributing `style.css`](../../../contributing/artefact/files/role/style.css.md#design-tokens-) for every color. Hard-coded colors are forbidden. +- You MUST prefer semantic tokens (`--design-surface-*`, `--design-text*`, `--design-border*`, `--design-primary`, `--design-link`, status tokens) over the `--design-primary-*` and `--design-neutral-*` scales. Use a scale step only for brand accents a semantic token does not cover. +- You MUST map the app's status colors onto `--design-success`, `--design-warning`, `--design-danger` and `--design-info`, and the text on filled status surfaces onto the matching `--design-on-*` token. +- You MUST map brand-colored app chrome (sidebar, masthead, top bar) onto `--design-frame`, its text and icons onto `--design-on-frame`, and its hovered and selected entries onto `--design-frame-hover` and `--design-frame-active`. `--design-primary` is the accent of controls and MUST NOT fill a large area. On the frame element you MUST set `--design-focus: var(--design-on-frame)`, and set it back to `var(--design-link)` on a surface the frame hosts (a popup, a menu). +- You MUST NOT add your own `prefers-color-scheme` block for colors. The tokens switch with the mode. +- If the app has its own theme switch, you MUST mirror its state onto `` from `templates/design.js.j2` so the tokens follow the app, not only the browser. ## Replace - You MUST replace hard-coded theme values: colors, RGB channels, gradients, borders, shadows, overlays, placeholder and focus colors. -- You MUST map `--color-01-*` and `--color-rgb-01-*` onto existing framework or app variables first. Add selector-level overrides only when variable mapping is insufficient. +- You MUST map `--design-*` tokens onto existing framework or app variables first. Add selector-level overrides only when variable mapping is insufficient. - You MUST replace related values together: surface color, text color, border, hover, active, disabled, and alpha variants. +- A text color and its background MUST come from the same source. A token color on an app-owned background, or the reverse, voids the contrast guarantee. +- You MUST map hovered, pressed, open and selected controls onto `--design-surface-hover`, `--design-surface-active` and `--design--hover`, `--design--active`. +- You MUST verify every variable name you assign against the app's real stylesheet in the running stack. A mapping onto a name the app never reads has no effect. ## Do Not Replace @@ -32,14 +38,18 @@ For repository wiring, inventory keys, and the generated palette contract, see [ ## Workflow -1. Preserve the role's base CSS so the application styling stays intact. -2. Inspect which variables the role or framework already exposes (semantic tokens, palette variables, custom properties). -3. Map the repository palette onto those variables. Add selector overrides only for surfaces that cannot be reached through variables. -4. Keep gradients, transparency, text contrast, and surface hierarchy aligned. +1. Preserve the role's base CSS so the application styling stays intact, including its contrast relations (frame against content, panel against page, selected against unselected). +2. When the app has its own theming configuration (config, CLI, API or admin setting), feed the palette through it and ship no stylesheet. +3. When the app has an in-house theme or custom CSS option (theme file, custom CSS setting), ship the mapping through that option instead of the role stylesheet. +4. Use the role stylesheet only for what no in-house option reaches. Inspect which variables the role or framework already exposes (semantic tokens, palette variables, custom properties). +5. Map the design tokens onto those variables. Add selector overrides only for surfaces that cannot be reached through variables. +6. Keep transparency, text contrast, and surface hierarchy aligned. Replace upstream gradients with flat token surfaces. + +The full role pass, the review gallery and the work queue are described in the [Design Loop](../../action/design.md). ## Review - You MUST verify that primary actions, links, forms, cards, dialogs, navigation, and overlays still belong to the same visual system. - You MUST verify readable contrast for normal, hover, focus, active, and disabled states. -- You MUST inspect the running application, at minimum the start page and login page. +- You MUST inspect the running application in light and dark mode, at minimum the start page and login page, and the backend (admin surface) when the app has one. - If the change affects user-visible behavior, you MUST add or update the matching end-to-end coverage in [Role `playwright.spec.js`](playwright.spec.js.md). diff --git a/docs/architecture/decisions/0003-mcp-surface-per-provider.md b/docs/architecture/decisions/0003-mcp-surface-per-provider.md index 4d09e1b86d..d772391ecf 100644 --- a/docs/architecture/decisions/0003-mcp-surface-per-provider.md +++ b/docs/architecture/decisions/0003-mcp-surface-per-provider.md @@ -292,7 +292,7 @@ These UIs expose identity or database administration rather than a bounded appli **`duplicate_owner` (1):** `web-app-litellm`. This role is only the UI of the separately classified LiteLLM service role, which owns any future MCP gateway contract. -**`no_remote_surface` (27):** `svc-ai-ollama`, `svc-ai-robot`, `svc-ai-s1`, `svc-ai-searxng`, `svc-ai-tika`, `web-app-chess`, `web-app-dashboard`, `web-app-docs`, `web-app-fediwall`, `web-app-hugo`, `web-app-littlejs`, `web-app-meta`, `web-app-mini-qr`, `web-app-navigator`, `web-app-roulette-wheel`, `web-opt-rdr-domains`, `web-opt-rdr-www`, `web-svc-asset`, `web-svc-cdn`, `web-svc-coturn`, `web-svc-css`, `web-svc-file`, `web-svc-html`, `web-svc-legal`, `web-svc-logout`, `web-svc-mirror`, `web-svc-simpleicons`. +**`no_remote_surface` (27):** `svc-ai-ollama`, `svc-ai-robot`, `svc-ai-s1`, `svc-ai-searxng`, `svc-ai-tika`, `web-app-chess`, `web-app-dashboard`, `web-app-docs`, `web-app-fediwall`, `web-app-hugo`, `web-app-littlejs`, `web-app-meta`, `web-app-mini-qr`, `web-app-navigator`, `web-app-roulette-wheel`, `web-opt-rdr-domains`, `web-opt-rdr-www`, `web-svc-asset`, `web-svc-cdn`, `web-svc-coturn`, `web-svc-design`, `web-svc-file`, `web-svc-html`, `web-svc-legal`, `web-svc-logout`, `web-svc-mirror`, `web-svc-simpleicons`. These roles have no independently useful authenticated remote action contract at the pinned implementation. Static published content may later be consumed through one owning application's bounded `resource_readonly` adapter, but a new MCP sidecar that merely reimplements a static site's behaviour does not count as integration. Model tool calling in Ollama does not by itself make Ollama an MCP client or server. diff --git a/docs/contributing/artefact/files/plugins/lookup/applications.md b/docs/contributing/artefact/files/plugins/lookup/applications.md index c051176c84..af9ec8f005 100644 --- a/docs/contributing/artefact/files/plugins/lookup/applications.md +++ b/docs/contributing/artefact/files/plugins/lookup/applications.md @@ -35,7 +35,7 @@ Ansible forks a fresh worker process for every task. The in-process cache inside The constructor stage renders once through the [applications_carrier](../../../../../../plugins/action/applications_carrier.py) action and parks the result together with its cache key in the host fact `_INFINITO_APPLICATIONS_RENDERED` (the action calls `lookup('applications', carrier=True)`). Every later worker inherits that fact at fork time; `get_merged_applications` serves it whenever the key still matches and renders only when it does not (a changed `applications`, `users`, `DOMAIN_PRIMARY` or `SYSTEM_EMAIL_DOMAIN`). -- The task sits in `tasks/stages/01_constructor.yml` after the `networks`, `design` and `service_provider` merges, after the `add_host` placements and after the token store, so the payload renders with the same `group_names`, `groups` and user records a role would see. Moving it earlier bakes stale values into the play. +- The task sits in `tasks/stages/01_constructor.yml` after the `networks` and `service_provider` merges, after the `add_host` placements and after the token store, so the payload renders with the same `group_names`, `groups` and user records a role would see. Moving it earlier bakes stale values into the play. - The action masks its own result: the fact is the whole rendered tree with every application's credentials, so it never reaches a log regardless of `MASK_CREDENTIALS_IN_LOGS`. - User records inside the payload are the token store's state at render time. Readers of tokens captured later in the play MUST go through `lookup('users', ...)` or `lookup('config', , 'users....')`, both of which read the users cache fresh. - The carrier is private to the lookup. Consumers MUST NOT read `_INFINITO_APPLICATIONS_RENDERED`; they keep going through `lookup('applications')`, which is what makes the carrier transparent. diff --git a/docs/contributing/artefact/files/role/style.css.md b/docs/contributing/artefact/files/role/style.css.md index fa566a366a..7b6c520380 100644 --- a/docs/contributing/artefact/files/role/style.css.md +++ b/docs/contributing/artefact/files/role/style.css.md @@ -1,25 +1,60 @@ # `style.css` ๐ŸŽจ This page covers role-local CSS and theming. -Use this page for repository wiring, inventory keys, and palette mapping. +Use this page for repository wiring, inventory keys, and the design token contract. For implementation scope, override strategy, and live review, see [Agent `style.css`](../../../../agents/files/role/style.css.md). For browser-side validation requirements after visible UI changes, see [Playwright Tests](../../../actions/testing/playwright.md). ## `style.css.j2` โš™๏ธ -- `roles/web-app-taiga/templates/style.css.j2` is the Taiga role override. -- `sys-front-inj-css` renders it when `services.css.enabled` is enabled. -- The template maps the generated palette to semantic variables such as `--color-01-solid-primary`, `--color-01-link-primary`, grayscale steps, and `--color-rgb-01-*`. -- `CSS_GRADIENT_ANGLE` keeps the gradients consistent across surfaces. +- A role ships its override as `templates/style.css.j2` or `files/style.css`. +- `sys-front-inj-design` renders it when `services.design.enabled` is enabled. +- The shared element styles (`body`, links, buttons, form fields, tables, focus outline) sit in the cascade layer `infinito-design`. `layer.css` is linked first in `` and declares that layer before the app's own stylesheets, so every rule of the app wins over them, layered or not. They only style what the app leaves unstyled. +- The app's own configuration outranks the role stylesheet. A theming configuration carries the palette first (Nextcloud takes the primary color, logo, name and slogan via `occ theming:config` and ships no stylesheet), then an in-house theme or custom CSS option. +- An in-house theme carries a variable mapping natively (see [web-app-gitea](../../../../../roles/web-app-gitea/templates/theme.css.j2)). The role stylesheet maps the app's CSS variables onto the tokens only for what no in-house option reaches. +- The Bootstrap component mapping in `bootstrap.css` is unlayered. A role built on Bootstrap links it by setting `bootstrap: true` in its `design:` entry. Set in `web-svc-design`, the value applies to every role. +- A role stylesheet or design script that renders empty counts as absent: nothing is deployed, linked or injected for it. +- A role MAY ship `templates/design.js.j2`. `sys-front-inj-design` collapses it, adds its CSP hash and injects it whenever `services.design.enabled` is enabled, independent of `services.javascript.enabled`. ## Inventory ๐Ÿ“‹ -- You MUST set `design.css.colors.base` in the inventory as the single base color. -- You MUST keep `services.css.enabled` enabled in the role configuration or override it in the inventory when CSS injection should run. -- You SHOULD add `design.font.import_url` when typography and colors should be controlled together. +- You MUST set `applications.web-svc-design.services.design.colors.base` in the inventory as the single base color. +- You MUST keep `services.design.enabled` enabled in the role configuration or override it in the inventory when CSS injection should run. +- You MAY set `applications.web-svc-design.services.design.font.type` and `font.import_url` to change the typography. -## Color Logic ๐ŸŽจ +## Design Tokens ๐ŸŽจ -- The palette is generated from a base color through `colorscheme-generator`. -- Role-local CSS MAY use the full generated palette space: all color categories `01` through `07` and all brightness values `00` through `99`. -- You MUST combine the matching `--color-XX-*` and `--color-rgb-XX-*` tokens in a way that is both meaningful and aesthetically coherent so semantic mappings, surfaces, gradients, borders, and overlays work together as one design system. +The [design_palette](../../../../../plugins/lookup/design_palette.py) lookup derives every token from the base color in OKLCH and guarantees WCAG 2.2 contrast by construction. + +| Token | Use | +|---|---| +| `--design-surface-1` | Page background | +| `--design-surface-2` | Cards, panels, inputs | +| `--design-surface-3` | Hover, selected and inset areas, table heads | +| `--design-surface-hover`, `--design-surface-active` | Hovered and pressed or open neutral controls; body text stays AAA, muted text, links and status colors AA on both | +| `--design-text` | Body text, AAA against every surface | +| `--design-text-muted` | Secondary text, AA against every surface | +| `--design-border` | Decorative dividers | +| `--design-border-strong` | Input and control boundaries, 3:1 against `--design-surface-1` and `--design-surface-2` | +| `--design-primary` / `--design-on-primary` | Brand surfaces, 3:1 against `--design-surface-1` and `--design-surface-2`, and the text on them | +| `--design-frame` / `--design-on-frame` | Large brand surfaces such as a sidebar, masthead or top bar: a deep brand tone in light and dark mode, and the text on it at AAA | +| `--design-frame-hover`, `--design-frame-active` | Hovered and selected entries inside the frame; the on-color stays AAA | +| `--design-focus` | Color of the default focus outline. Unset, the outline uses `--design-link`. A frame sets it to `--design-on-frame` on its own element; every focusable it hosts then draws its outline in that color | +| `--design-link` | Links and focus, AA against every surface and never as dark or as light as body text | +| `--design-success`, `--design-warning`, `--design-danger`, `--design-info` | Status text and icons, AA against every surface and against their own `-subtle` background | +| `--design-on-` | Text on a filled status surface | +| `--design-primary-hover`, `--design-primary-active`, `--design--hover`, `--design--active` | Hovered and pressed filled controls, shifted away from their on-color so its contrast only grows | +| `--design--subtle`, `--design--border` | Alert backgrounds and borders | +| `--design-primary-50` to `--design-primary-950` | Brand scale | +| `--design-neutral-50` to `--design-neutral-950` | Tinted neutral scale | +| `--design-radius-sm`, `--design-radius`, `--design-radius-lg` | Corner radii | +| `--design-space-1` to `--design-space-6` | 4/8 px spacing steps | +| `--design-shadow-1` to `--design-shadow-3` | Elevation | +| `--design-focus-ring` | Focus indicator for Bootstrap buttons and nav links | +| `--design-focus-ring-inset` | Focus indicator for Bootstrap form fields, drawn inside the field so it never overlaps neighbours | +| `--design-invert` | `0` in light and `1` in dark mode. Use `filter: brightness(0) invert(var(--design-invert))` to render a monochrome image in the text tone | + +- Every color token also exists as `-rgb` for `rgba()` use. +- Scale step `50` sits next to the surface and `950` next to the text in light and dark mode, so a mapping onto the scale follows dark mode without a media query. +- Dark mode follows `prefers-color-scheme`. A role whose app has its own theme switch sets `data-design-theme="light"` or `data-design-theme="dark"` on `` from its `design.js.j2`; the attribute wins over the browser preference. +- Role CSS MUST use only `--design-*` tokens for colors. Hard-coded colors break the base color override. diff --git a/docs/contributing/tools/agents/cheatsheet.md b/docs/contributing/tools/agents/cheatsheet.md index 0f71e7e572..65a92eca21 100644 --- a/docs/contributing/tools/agents/cheatsheet.md +++ b/docs/contributing/tools/agents/cheatsheet.md @@ -23,6 +23,7 @@ from its procedure file. Run `make install-skills` to (re)install them. | Iterating on `svc-runner` or the self-hosted runner infrastructure | `i8-iterate-runner` | | Iterating on a GitHub Actions workflow | `i8-iterate-workflow` | | Writing or updating a Playwright spec for a `web-*` role | `i8-iterate-playwright` | +| Bringing UI roles into the corporate design, role by role from the design queue | `i8-designer` | | Running or validating tests for a specific scope | `i8-test` | | Running the quality gate (`make quality`) to green | `i8-quality` | | Running the full gate (`make quality-high`: quality plus every lint) to green | `i8-quality-high` | diff --git a/docs/requirements/028-web-app-atmo-events.md b/docs/requirements/028-web-app-atmo-events.md index 12aa1d6d5c..1361058fae 100644 --- a/docs/requirements/028-web-app-atmo-events.md +++ b/docs/requirements/028-web-app-atmo-events.md @@ -101,9 +101,9 @@ mobilizon: matomo: enabled: "{{ 'web-app-matomo' in group_names }}" shared: "{{ 'web-app-matomo' in group_names }}" -css: - enabled: "{{ 'web-svc-css' in group_names }}" - shared: "{{ 'web-svc-css' in group_names }}" +design: + enabled: "{{ 'web-svc-design' in group_names }}" + shared: "{{ 'web-svc-design' in group_names }}" atmo: image: atmo # self-built (Open Question 2) version: "" # concrete ref, never :latest diff --git a/docs/requirements/035-mcp-proxy-expansion.md b/docs/requirements/035-mcp-proxy-expansion.md index b54a092fd9..0a6f0e4a4f 100644 --- a/docs/requirements/035-mcp-proxy-expansion.md +++ b/docs/requirements/035-mcp-proxy-expansion.md @@ -28,6 +28,91 @@ A disposition change belongs in the ADR, because the audit is the authoritative This requirement covers requirement and design work only. It does not authorize enabling a new MCP endpoint, upgrading an application, installing an upstream plugin, or widening a credential in the same change that introduces this document. +`web-app-moodle`, `web-app-wordpress`. + +### adapter_server (16) + +`svc-db-qdrant`, `web-app-baserow`, `web-app-checkmk`, `web-app-fider`, `web-app-gitea`, `web-app-gitlab`, `web-app-jellyfin`, `web-app-jenkins`, `web-app-listmonk`, `web-app-mattermost`, `web-app-nextcloud`, `web-app-pretix`, `web-app-prometheus`, `web-app-snipe-it`, `web-app-zammad`, `web-svc-libretranslate`. + +### blocked (11) + +An upstream path exists or is claimed, and something concrete stops it here. Each row names what, using the reason vocabulary above, so "blocked" never reads as "nobody looked". + +`svc-ai-litellm`, `svc-ai-lmstudio`, `svc-db-elasticsearch`, `svc-db-mariadb`, `svc-db-redis`, `web-app-discourse`, `web-app-erpnext`, `web-app-matomo`, `web-app-odoo`, `web-app-penpot`, `web-app-shopware`. + +| role | reason | blocker | +| --- | --- | --- | +| `svc-ai-litellm` | `version_unverified` | The pinned release is inference-only; an MCP-capable one may be selected only after source inspection proves per-server routes, exact tool allowlists and the credential lifecycle. | +| `svc-ai-lmstudio` | `version_unverified` | The image is an unversioned preview; an explicit MCP-capable headless version has to replace it before a surface can be curated. | +| `svc-db-elasticsearch` | `missing_dependency` | The maintained native path needs Kibana Agent Builder with its index privileges and licence; the older sidecar is deprecated. | +| `svc-db-mariadb` | `shared_engine_isolation` | A global MCP server would attach to the shared engine; the alternative is one sidecar per consuming application with a database-scoped read-only principal. | +| `svc-db-redis` | `stdio_only` | The upstream server is stdio-oriented and broadly mutating over a cache several applications share. | +| `web-app-discourse` | `stdio_only` | The project-owned server passes ownership, licence, pinning and read-only default, but its HTTP transport serves one session per process, which upstream asserts in `src/test/transport.test.ts` at `v0.3.1`; the deploy probe alone would leave it restart-required. | +| `web-app-erpnext` | `version_unverified` | The Frappe MCP component is experimental and unverified against the pinned Frappe v16. | +| `web-app-matomo` | `unreviewed_third_party` | The project-owned plugin is unaudited: endpoint, transport, auth and tool scope are unverified in source. | +| `web-app-odoo` | `unreviewed_third_party` | Neither Odoo SA nor the OCA publishes a server; the leading third party carries 197 of 231 commits from one author, keeps its access control in a separate Odoo Apps store module outside any pinnable tag, and defaults to a mutating tool scope. | +| `web-app-penpot` | `interactive_browser_session` | The server needs an active browser tab and plugin connection, and can execute powerful design-context operations. | +| `web-app-shopware` | `version_unverified` | The pinned 6.7.8.2 predates the experimental native `/api/_mcp` server. | + +### adapter_candidate (38) + +An adapter could reach these, and none has been curated yet. The five that used to sit under "current MCP metadata requiring revalidation" are here because that revalidation found no shipped surface to revalidate. + +`svc-db-typesense`, `web-app-akaunting`, `web-app-bigbluebutton`, `web-app-bluesky`, `web-app-bookwyrm`, `web-app-bridgy-fed`, `web-app-confluence`, `web-app-decidim`, `web-app-espocrm`, `web-app-friendica`, `web-app-funkwhale`, `web-app-jira`, `web-app-jitsi`, `web-app-joomla`, `web-app-kix`, `web-app-magento`, `web-app-mailu`, `web-app-mastodon`, `web-app-matrix`, `web-app-mediawiki`, `web-app-minio`, `web-app-mobilizon`, `web-app-opencloud`, `web-app-openproject`, `web-app-opentalk`, `web-app-peertube`, `web-app-pihole`, `web-app-pixelfed`, `web-app-postmarks`, `web-app-seaweedfs`, `web-app-semaphore`, `web-app-socialhome`, `web-app-stalwart`, `web-app-suitecrm`, `web-app-taiga`, `web-app-xwiki`, `web-app-yourls`, `web-svc-xmpp`. + +### enabler (2) + +`svc-ai-mcp-adapter`, `web-app-keycloak`. + +`svc-ai-mcp-adapter` carries no MCP surface of its own. It is the adapter runtime a provider role instantiates, so its disposition is `enabler` and it MUST NOT appear in discovery as a provider or a consumer. + +### subordinate (2) + +`web-svc-collabora`, `web-svc-onlyoffice`. + +### no_surface (98) + +These roles remain out of shared MCP discovery. +A future exception requires a new requirement with a fixed operation list, dedicated identity, isolation boundary, human approval for mutations, and audit trail. + +**`host_execution_boundary` (39):** `desk-bluray-player`, `desk-chromium`, `desk-copyq`, `desk-docker`, `desk-dotlinker`, `desk-firefox`, `desk-git`, `desk-gnome`, `desk-gnome-caffeine`, `desk-gnome-extensions`, `desk-gnome-terminal`, `desk-gnucash`, `desk-jrnl`, `desk-keepassxc`, `desk-libreoffice`, `desk-micro`, `desk-neovim`, `desk-nextcloud`, `desk-obs`, `desk-qbittorrent`, `desk-retroarch`, `desk-spotify`, `desk-ssh`, `desk-torbrowser`, `desk-virtualbox`, `desk-zoom`, `dev-arduino`, `dev-core`, `dev-java`, `dev-locales`, `dev-make`, `dev-nix`, `dev-nodejs`, `dev-python`, `drv-epson-multiprinter`, `drv-intel`, `drv-lid-switch`, `drv-non-free`, `gen-hunspell`. +These roles operate a workstation, developer toolchain, device, or host package; bridging them would amount to shared shell, filesystem, browser-session, device, or host execution without an application-specific remote identity. + +**`privileged_control_plane` (26):** `svc-bkp-local-2-device`, `svc-bkp-nfs-2-local`, `svc-bkp-remote-2-local`, `svc-bkp-secrets-2-local`, `svc-bkp-volume-2-local`, `svc-dns-unbound`, `svc-net-firewall`, `svc-net-tor`, `svc-net-tor-smtp`, `svc-net-wireguard-core`, `svc-net-wireguard-firewalled`, `svc-net-wireguard-plain`, `svc-opt-keyboard-color`, `svc-opt-ssd-hdd`, `svc-opt-swapfile`, `svc-prx-openresty`, `svc-registry-cache`, `svc-registry-docker`, `svc-runner`, `svc-storage-nfs-client`, `svc-storage-nfs-server`, `svc-swarm-manager`, `svc-swarm-node`, `svc-virt-kata`, `update`, `web-app-openbao`. +These roles can recover secrets, alter routing or host state, run code, change deployment state, or reach storage/control-plane sockets; they require a separate audited operations gateway and human approval rather than general-purpose application MCP. + +**`shared_engine_isolation` (4):** `svc-db-memcached`, `svc-db-openldap`, `svc-db-postgres`, `svc-db-rabbitmq`. +A generic endpoint would bypass application and tenant authorization on a shared engine. +Any future exception requires a provider-application-specific account, namespace/database/schema/queue restriction, fixed named operations, and no engine administrator credential. + +**`administrative_surface` (5):** `web-app-fusiondirectory`, `web-app-lam`, `web-app-pgadmin`, `web-app-phpldapadmin`, `web-app-phpmyadmin`. +These UIs expose identity or database administration rather than a bounded application-domain API and MUST NOT be represented by a shared service-account tool surface. + +**`duplicate_owner` (1):** `web-app-litellm`. +This role is only the UI of the separately classified LiteLLM service role, which owns any future MCP gateway contract. + +**`no_remote_surface` (24):** `svc-ai-ollama`, `svc-ai-robot`, `web-app-chess`, `web-app-dashboard`, `web-app-fediwall`, `web-app-hugo`, `web-app-littlejs`, `web-app-mig`, `web-app-mini-qr`, `web-app-navigator`, `web-app-roulette-wheel`, `web-app-sphinx`, `web-opt-rdr-domains`, `web-opt-rdr-www`, `web-svc-asset`, `web-svc-cdn`, `web-svc-coturn`, `web-svc-design`, `web-svc-file`, `web-svc-html`, `web-svc-legal`, `web-svc-logout`, `web-svc-mirror`, `web-svc-simpleicons`. +These roles have no independently useful authenticated remote action contract at the pinned implementation. +Static published content MAY later be consumed through one owning application's bounded `resource_readonly` adapter, but a new MCP sidecar that merely reimplements a static site's behavior does not count as integration. +Model tool calling in Ollama does not by itself make Ollama an MCP client or server. + +## Tool and Adapter Safety Contract + +Every adapter MUST enforce request size, response size, timeout, concurrency, pagination, result-row, and stream-duration limits with explicit values in role metadata. +It MUST log provider `application_id`, consumer `application_id`, tool name, credential subject, result status, duration, and correlation identifier without logging credentials or payload bodies. + +Tool discovery MUST be allowlisted by exact name and JSON schema hash. +An unexpected added, removed, or changed upstream tool MUST fail closed until the checked-in contract is reviewed. +The policy gateway MUST enforce the same allowlist on `tools/call`; filtering only `tools/list` is insufficient. + +Resources, prompts, sampling, elicitation, roots, and any protocol capability added by an upstream MCP release MUST be independently classified. +The absence of a dangerous tool list does not authorize an unreviewed non-tool MCP capability. + +Mutations MUST be classified as reversible, irreversible, external-communication, financial, identity/permission, code-execution, or infrastructure-control. +Any enabled mutation requires a separate opt-in variant, a distinct RBAC role where practical, an idempotency strategy, a human confirmation boundary, and a tested audit event. +Infrastructure control, arbitrary code execution, unrestricted filesystem access, identity administration, and raw database mutation remain forbidden for shared clients. + +Sidecars and adapters MUST use an immutable version and digest, documented provenance and license, a non-root user, read-only root filesystem, dropped Linux capabilities, no host or control-plane socket, explicit CPU/memory/PID limits, a provider-only network, and no unrelated outbound network access. ## Acceptance Criteria diff --git a/docs/requirements/037-corporate-design-overhaul.md b/docs/requirements/037-corporate-design-overhaul.md new file mode 100644 index 0000000000..b075106c82 --- /dev/null +++ b/docs/requirements/037-corporate-design-overhaul.md @@ -0,0 +1,144 @@ +# 037 - Corporate Design Overhaul + +## User Story + +As an operator of Infinito.Nexus, I want every web UI to follow one configurable corporate design (palette, typography, logo, title, light and dark mode) so that all apps read as one platform while the base color stays changeable from a single setting. + +## Confirmed Decisions + +These choices are settled at requirement creation time and bound the implementation. Re-opening any of them MUST be recorded in the implementing PR. + +1. **One SPOT role.** `web-svc-css` is renamed to `web-svc-design`. The content of `group_vars/all/13_design.yml` moves into the `design` entity of `roles/web-svc-design/meta/services.yml`, the group_vars file is deleted, and the unused `filters` block is dropped. Inventories and docs are migrated. No compatibility shim. +2. **Service keys.** Consumers replace their `css:` key with `design:`. CSS injection is driven by `design` only. An enabled `design` always brings its own JavaScript channel: the role's optional `templates/design.js.j2`, collapsed, CSP-hashed and injected by `sys-front-inj-design`. The `javascript:` key stays independent and keeps gating the role's functional script (`javascript.js.j2`, which carries SSO and logout glue that must not run without SSO). `sys-front-inj-css` is renamed to `sys-front-inj-design` because injector feature names map one to one onto `sys-front-inj-` roles; `sys-front-inj-javascript` stays. +3. **Palette engine.** An in-repo OKLCH lookup plugin replaces the `colorscheme_generator` dependency. Its only input is `design.colors.base`. It derives a primary scale 50 to 950, tinted neutrals, status colors (success, warning, danger, info) with fixed hues and harmonised chroma, on-colors chosen by contrast, and a dedicated dark palette (no lightness inversion). Text tokens meet WCAG 2.2 AA (4.5:1), UI and large text meet 3:1, body text meets AAA (7:1). An invalid hex value fails the deploy. +4. **Semantic tokens.** `--design-primary`, `--design-on-primary`, `--design-link`, `--design-surface-1` to `--design-surface-3`, `--design-text`, `--design-text-muted`, `--design-border`, `--design-border-strong`, `--design-success`, `--design-warning`, `--design-danger`, `--design-info` with their `--design-on-*` partners, the interaction states `--design-surface-hover`, `--design-surface-active` and `--design--hover`, `--design--active` (each keeps its text at AA or better), and the `--design-primary-*` and `--design-neutral-*` scales 50 to 950 replace `--color-NN-SS` and `--color-rgb-NN-SS`. Every color also exists as `-rgb`. `--design-invert` is `0` in light and `1` in dark mode, so `filter: invert(var(--design-invert))` flips a monochrome image with the mode. Scale step 50 sits next to the surface and 950 next to the text in both modes, so a role mapping onto the scale follows dark mode without its own media query. Bootstrap `--bs-*` variables map onto the tokens. The Bootstrap component mapping (`bootstrap.css`) is linked only for roles whose `design:` entry sets `bootstrap: true`. The 22 existing role stylesheets are migrated mechanically in the base and refined in the role loop. +5. **Clean, flat base style.** No gradients on form controls and tables, subtle elevation shadows, one radius scale, 4/8 px spacing, visible focus rings, form state shown by border and icon. Font is the `system-ui` stack; `design.font` stays configurable. The shared element styles sit in the cascade layer `infinito-design`, so an app's own design system always wins over them and keeps its contrast relations. Such an app takes the palette through its own configuration first: a theming configuration, then an in-house theme or custom CSS option. Its role stylesheet maps the app's variables only for what no in-house option reaches. +6. **Dark mode.** An app's native theme toggle wins. Without one, the design follows `prefers-color-scheme`. No theme toggle is injected. +7. **Logo and title override semantics.** `design.logo` defaults to `assets/img/logo.png`, `design.title` defaults to `true`, which resolves to the role title (README H1). Set in `web-svc-design`, a value applies to every role. Set in a role's own `design:` entry, it applies to that role only. `false` or `0` disables the replacement for that scope. The legacy keys `title`, `titel`, `sitename` and `site_name` are migrated, the hardcoded titles in `web-app-joomla` and `web-app-pretix` are removed, and `web-app-decidim` and `web-app-socialhome` read the resolved title instead of `defaults_*`. +8. **Logo generator.** An SVG template renders the lockup, Pillow rasterises PNG and ICO variants. The variant is computed from the target slot format: square slot shows the logo only, wide slot shows logo and title, very wide or two-line slot adds the domain, text-only slot shows the title only. The background stays transparent. The text uses palette colors with an outline so it stands out on light and dark surfaces. +9. **Branch and stack.** One branch `feature/designer` and one draft PR, opened once the base is approved. Exactly one compose stack runs at a time. Base changes land as base commits on the same branch. Role changes stay under `roles//` and are committed per role after approval. +10. **Verification.** Every change passes `make quality-high` and a minimal compose deploy against the running stack: `make compose-deploy apps= variant=0 disable=` (default `initialize` mode, no teardown, single pass, no `full_cycle`). CSS and branding iterations run without a redeploy through `make design-sync app= variant=0` (re-renders shared CSS, role `style.css` and the generated logo assets). A changed `design.js`, task, template or `meta/` file runs through `make compose-role-sync role= variant=0`, which re-runs only the app role against the running stack and renders the CSP hash in the vhost with it. Swarm verification is out of scope. +11. **Review gallery.** Each role gets its own private Artifact with at least 20 views, each captured in light and dark mode and in a desktop (1440ร—900) and a mobile (390ร—844) viewport, so at least 80 before/after pairs per role. The views favour detail-rich surfaces: settings, administration, forms, lists and detail pages, logged in where the app has accounts, with idempotently seeded showcase content where a list or detail page would otherwise be empty. "Before" is the deployed app with every injected snippet stripped from the document (the body filter wraps its injections in `` markers), "after" is the same page with the corporate design. `make design-gallery app=` captures both sides in one spec run and copies them to `/tmp/design-gallery//`. The operator approves or rejects by comment. +12. **Frontend and backend.** Every role is styled and tested on its frontend and, where the app has one, on its separate backend (admin surface such as `wp-admin`, the Shopware or Magento admin, the Joomla administrator). A role with a backend shows backend views in its gallery in addition to the frontend views, and its Playwright spec covers both surfaces. +13. **Scope.** In-scope roles are invokable, carry a lifecycle inside the tested envelope (`alpha` to `maintenance`), and expose a web UI. + +## Acceptance Criteria + +### Base + +- [x] `roles/web-svc-css` no longer exists and `roles/web-svc-design` deploys and serves the shared CSS. +- [x] `group_vars/all/13_design.yml` no longer exists and the design configuration resolves from `roles/web-svc-design/meta/services.yml`, overridable per inventory. +- [x] No `roles/*/meta/services.yml` declares a `css:` key. +- [x] A role with `design` enabled, `javascript` disabled and a `templates/design.js.j2` receives the injected CSS and its design script, and no functional script. +- [ ] A role with `design` disabled and `javascript` enabled receives its functional script and no injected CSS or design script. +- [ ] A minimal deploy with `disable=design` injects neither the shared CSS nor a design script. +- [x] `colorscheme_generator` is no longer a dependency and the OKLCH lookup plugin produces the full token set. +- [x] A unit test proves AA contrast for text and UI tokens and AAA contrast for body text in light and dark mode across the base colors `#001f3f`, `#FFA500`, `#FFFF00`, `#00FF00`, `#808080` and `#FF00FF`. +- [x] An invalid `design.colors.base` fails the deploy with an error naming the value. +- [x] No `--color-NN-SS` or `--color-rgb-NN-SS` reference remains under `roles/`. +- [x] The shared CSS contains no gradient on form controls or tables. +- [x] The shared CSS switches palettes via `prefers-color-scheme` and injects no theme toggle. +- [x] The logo generator emits SVG, PNG and ICO variants with transparent background for square, wide, very wide and text-only slots. +- [x] A unit test proves the logo and title precedence: global value, per-role override, and `false`/`0` disabling. +- [x] No `roles/*/meta/services.yml` declares a site title as `title`, `titel`, `sitename`, `site_name` or `site_titel` on its primary entity; every site title lives in the role's `design` entry and is read through `lookup('design', application_id)`. +- [x] `web-app-joomla` and `web-app-pretix` carry no hardcoded site title. +- [ ] `web-app-decidim` and `web-app-socialhome` honour an inventory title override. +- [x] The base gallery on `web-app-dashboard`, `web-app-gitea` and `web-app-nextcloud` is approved by the operator. +- [ ] The draft PR from `feature/designer` is open and linked below. + +### Roles + +A role is checked when its frontend and, where present, its backend are styled, its CSS and JS use only `--design-*` tokens, its logo and title are set through the app's own mechanism in the slot format, its Playwright spec covers frontend and backend and asserts token colors, contrast of core elements, light and dark mode, the native toggle where one exists, and the visible logo and title, `make quality-high` and the minimal compose deploy are green, its gallery is approved and linked under "Further Resources" in the role README, and the change is committed. + +- [ ] web-app-akaunting +- [ ] web-app-baserow +- [ ] web-app-bigbluebutton +- [ ] web-app-bluesky +- [ ] web-app-bookwyrm +- [ ] web-app-bridgy-fed +- [ ] web-app-checkmk +- [ ] web-app-chess +- [ ] web-app-dashboard +- [ ] web-app-decidim +- [ ] web-app-discourse +- [ ] web-app-erpnext +- [ ] web-app-espocrm +- [ ] web-app-fediwall +- [ ] web-app-fider +- [ ] web-app-flowise +- [ ] web-app-friendica +- [ ] web-app-funkwhale +- [ ] web-app-fusiondirectory +- [ ] web-app-gitea +- [ ] web-app-gitlab +- [ ] web-app-hermes +- [ ] web-app-homeassistant +- [ ] web-app-hugo +- [ ] web-app-jellyfin +- [ ] web-app-jenkins +- [ ] web-app-jitsi +- [ ] web-app-joomla +- [ ] web-app-keycloak +- [ ] web-app-kix +- [ ] web-app-lam +- [ ] web-app-listmonk +- [ ] web-app-litellm +- [ ] web-app-littlejs +- [ ] web-app-magento +- [ ] web-app-mastodon +- [ ] web-app-matomo +- [ ] web-app-matrix +- [ ] web-app-mattermost +- [ ] web-app-mediawiki +- [ ] web-app-mig +- [ ] web-app-mini-qr +- [ ] web-app-mobilizon +- [ ] web-app-moodle +- [ ] web-app-n8n +- [ ] web-app-nextcloud +- [ ] web-app-odoo +- [ ] web-app-openbao +- [ ] web-app-openclaw +- [ ] web-app-opencloud +- [ ] web-app-openproject +- [ ] web-app-opentalk +- [ ] web-app-openwebui +- [ ] web-app-peertube +- [ ] web-app-penpot +- [ ] web-app-pgadmin +- [ ] web-app-phpmyadmin +- [ ] web-app-pihole +- [ ] web-app-pixelfed +- [ ] web-app-postmarks +- [ ] web-app-pretix +- [ ] web-app-prometheus +- [ ] web-app-roulette-wheel +- [ ] web-app-seaweedfs +- [ ] web-app-semaphore +- [ ] web-app-shopware +- [ ] web-app-snipe-it +- [ ] web-app-socialhome +- [ ] web-app-sphinx +- [ ] web-app-stalwart +- [ ] web-app-suitecrm +- [ ] web-app-taiga +- [ ] web-app-wordpress +- [ ] web-app-xwiki +- [ ] web-app-yourls +- [ ] web-app-zammad +- [ ] web-svc-collabora +- [ ] web-svc-html +- [ ] web-svc-legal +- [ ] web-svc-libretranslate +- [ ] web-svc-logout +- [ ] web-svc-onlyoffice + +## Cross-linking + +- Implementing PR: *to be linked*. + +## See Also + +- Role style files: [style.css.md](../contributing/artefact/files/role/style.css.md) +- Lifecycle envelope: [lifecycle.md](../contributing/design/role/services/lifecycle.md) +- Compose loop: [compose.md](../agents/action/iteration/compose.md) diff --git a/group_vars/all/13_design.yml b/group_vars/all/13_design.yml deleted file mode 100644 index 188e688e7f..0000000000 --- a/group_vars/all/13_design.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -defaults_design: - enabled: true - css: - colors: - base: "#001f3f" - filters: - saturation_change: 70 - hue_shift: 0 - font: - import_url: false - type: '"Liberation Sans", Arial, sans-serif' diff --git a/inventories/development/default.yml b/inventories/development/default.yml index f8007324cf..7c8daa8d49 100644 --- a/inventories/development/default.yml +++ b/inventories/development/default.yml @@ -32,10 +32,14 @@ networks: ip6: "{{ lookup('env', 'INFINITO_IP6') }}" dns: "{{ lookup('env', 'INFINITO_DNS_IP') }}" -design: - css: - colors: - base: "#FFA500" +DESIGN_BASE_COLOR: "#FFA500" + +applications: + web-svc-design: + services: + design: + colors: + base: "{{ DESIGN_BASE_COLOR }}" API: openai: diff --git a/playbook-sync.yml b/playbook-sync.yml new file mode 100644 index 0000000000..841bebce15 --- /dev/null +++ b/playbook-sync.yml @@ -0,0 +1,43 @@ +--- +- name: "Sync one deployed application against the running stack" + hosts: all + any_errors_fatal: true + become: true + environment: + CA_TRUST_CERT_HOST: "{{ CA_TRUST.cert_host }}" + CA_TRUST_WRAPPER_HOST: "{{ CA_TRUST.wrapper_host }}" + CA_TRUST_NAME: "{{ CA_TRUST.trust_name }}" + CA_TRUST_CERT_CONTAINER: "{{ CA_TRUST.inject_cert_container }}" + CA_TRUST_WRAPPER_CONTAINER: "{{ CA_TRUST.inject_wrapper_container }}" + CA_CONTAINER_ENABLED: "{{ CA_CONTAINER_ENABLED | int }}" + COMPOSE_HTTP_TIMEOUT: "600" + DOCKER_CLIENT_TIMEOUT: "600" + DOCKER_BUILDKIT: "{{ BUILDKIT_ENABLED | int }}" + COMPOSE_DOCKER_CLI_BUILD: "{{ BUILDKIT_ENABLED | int }}" + INFINITO_RESCUE_DIAGNOSTICS_DIR: "{{ DIR_RESCUE_DIAGNOSTICS }}" + CONTAINER_EXEC_TIMEOUT: "{{ SYS_TIMEOUT_CONTAINER_EXEC }}" + vars: + sync_application_id: "{{ APPLICATIONS_WHITELIST | first }}" + sync_scope: design + sync_playwright: false + tasks: + - name: โœ… Assert exactly one application and a known scope are targeted + ansible.builtin.assert: + that: + - APPLICATIONS_WHITELIST | length == 1 + - sync_scope in ['design', 'role'] + fail_msg: "Pass one application id in APPLICATIONS_WHITELIST and sync_scope=design|role, got {{ APPLICATIONS_WHITELIST }} and {{ sync_scope }}" + quiet: true + + - name: ๐Ÿ”€ Merge variables + ansible.builtin.include_tasks: tasks/utils/constructor/variables.yml + + - name: "๐Ÿ“ Place the shared services and the proxy on their hosts" + ansible.builtin.include_tasks: tasks/utils/constructor/placement.yml + when: sync_scope == 'role' + + - name: ๐ŸงŠ Render the applications SPOT once and carry it into every task's worker + applications_carrier: {} + + - name: "๐Ÿ” Sync the {{ sync_scope }} of '{{ sync_application_id }}'" + ansible.builtin.include_tasks: "tasks/utils/sync/{{ sync_scope }}.yml" diff --git a/plugins/action/design_assets.py b/plugins/action/design_assets.py new file mode 100644 index 0000000000..360291d102 --- /dev/null +++ b/plugins/action/design_assets.py @@ -0,0 +1,60 @@ +from __future__ import annotations + +import shutil +import tempfile +from pathlib import Path +from typing import Any + +from plugins.action.stack_host_copy import ActionModule as StackHostCopyAction +from utils.design.branding import is_disabled +from utils.design.logo import render_assets + +_REQUIRED = ("logo", "title", "domain", "fill", "stroke", "slots", "dest") + + +class ActionModule(StackHostCopyAction): + """ + Render the branding assets of one role on the controller and copy them to + the stack host. + + Args (task): + logo absolute logo path + title title text, or false + domain role domain + fill text color + stroke text outline color + slots {name: {width, height, text_only}} + dest destination directory on the stack host + """ + + def run( + self, tmp: Any = None, task_vars: dict[str, Any] | None = None + ) -> dict[str, Any]: + args = dict(self._task.args) + missing = [key for key in _REQUIRED if key not in args] + if missing: + return { + "failed": True, + "msg": f"design_assets: missing {', '.join(missing)}", + } + + workdir = Path(tempfile.mkdtemp(prefix="design-assets-")) + try: + title = False if is_disabled(args["title"]) else str(args["title"]) + assets = render_assets( + args["logo"], + title, + args["domain"], + args["fill"], + args["stroke"], + args["slots"], + ) + for name, content in assets.items(): + (workdir / name).write_bytes(content) + self._task.args = { + "src": f"{workdir}/", + "dest": f"{str(args['dest']).rstrip('/')}/", + } + return super().run(tmp=tmp, task_vars=task_vars) + finally: + shutil.rmtree(workdir, ignore_errors=True) diff --git a/plugins/lookup/colorscheme.py b/plugins/lookup/colorscheme.py deleted file mode 100644 index 1a2ffad080..0000000000 --- a/plugins/lookup/colorscheme.py +++ /dev/null @@ -1,18 +0,0 @@ -from ansible.plugins.lookup import LookupBase -from colorscheme_generator import generate_full_palette - - -class LookupModule(LookupBase): - def run(self, terms, variables=None, **kwargs): - base_color = terms[0] - count = kwargs.get("count") - shades = kwargs.get("shades") - invert_lightness = kwargs.get("invert_lightness", False) - return [ - generate_full_palette( - base_color, - count=count, - shades=shades, - invert_lightness=invert_lightness, - ) - ] diff --git a/plugins/lookup/design.py b/plugins/lookup/design.py new file mode 100644 index 0000000000..689edf184e --- /dev/null +++ b/plugins/lookup/design.py @@ -0,0 +1,63 @@ +from __future__ import annotations + +from pathlib import Path +from typing import Any + +from ansible.errors import AnsibleError +from ansible.plugins.loader import lookup_loader +from ansible.plugins.lookup import LookupBase + +from utils.design.branding import asset_urls, resolve_branding + +ASSET_DIR = "design" + + +class LookupModule(LookupBase): + """ + lookup('design', application_id) + + Returns the resolved corporate branding of one role: + logo absolute logo path, or False when the replacement is disabled + title title text, or False when the replacement is disabled + name role README H1 + label title, else name (for installers that require a site name) + slots {name: {width, height, text_only}} + domain canonical domain of the role + dest CDN directory the generated assets are written to + urls {"favicon_ico": url, "": {"png": url, "svg": url}} + """ + + def _sub(self, name: str, terms: list, variables: dict[str, Any]) -> Any: + plugin = lookup_loader.get( + name, + loader=getattr(self, "_loader", None), + templar=getattr(self, "_templar", None), + ) + return plugin.run(terms, variables=variables)[0] + + def run(self, terms, variables: dict[str, Any] | None = None, **kwargs): + variables = variables or {} + if len(terms) != 1: + raise AnsibleError("design: expects exactly one application_id") + application_id = str(terms[0]).strip() + root = variables.get("playbook_dir") + if not root: + raise AnsibleError("design: 'playbook_dir' is unavailable") + + applications = self._sub("applications", [], variables) + try: + branding = resolve_branding(applications, application_id, Path(str(root))) + except (KeyError, ValueError) as exc: + raise AnsibleError(f"design: {exc}") from exc + + cdn = self._sub("cdn", [application_id], variables) + base_url = f"{cdn['urls']['role']['release']['img'].rstrip('/')}/{ASSET_DIR}" + + return [ + { + **branding, + "domain": self._sub("domain", [application_id], variables), + "dest": str(Path(cdn["role"]["release"]["img"]) / ASSET_DIR), + "urls": asset_urls(base_url, branding["slots"]), + } + ] diff --git a/plugins/lookup/design_palette.py b/plugins/lookup/design_palette.py new file mode 100644 index 0000000000..5523f04d16 --- /dev/null +++ b/plugins/lookup/design_palette.py @@ -0,0 +1,27 @@ +from __future__ import annotations + +from ansible.errors import AnsibleError +from ansible.plugins.lookup import LookupBase + +from utils.design.palette import build_palette + + +class LookupModule(LookupBase): + """ + Return the corporate design palette for one base color. + + Usage: + {{ lookup('design_palette', '#001f3f') }} + -> {"scale": {...}, "light": {...}, "dark": {...}} + + Each mapping is keyed by CSS custom property name (``--design-*``) and + carries a ``-rgb`` triplet for every color. + """ + + def run(self, terms, variables=None, **kwargs): + if len(terms) != 1: + raise AnsibleError("design_palette: expects exactly one base color") + try: + return [build_palette(terms[0])] + except ValueError as exc: + raise AnsibleError(f"design_palette: {exc}") from exc diff --git a/pyproject.toml b/pyproject.toml index 0834868d10..8a94358a84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ dependencies = [ deploy = [ "ansible==14.4.0", "colorscheme-generator @ https://github.com/kevinveenbirkenbach/colorscheme-generator/archive/refs/tags/v0.3.0.zip", + "Pillow>=10.1", "tld", "passlib", "requests", diff --git a/roles/dev-arduino/README.md b/roles/dev-arduino/README.md index 7536650487..4c9eaadc08 100644 --- a/roles/dev-arduino/README.md +++ b/roles/dev-arduino/README.md @@ -10,6 +10,23 @@ Learn more at the [Arduino Project Website](https://www.arduino.cc/), [Arch Wiki Building upon the general developer persona, this role focuses on embedded and microcontroller development. It ensures that the system has the correct packages and permissions to work with Arduino boards via USB. +## Cosmos + +The diagram places Arduino Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dev_core["dev-core ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [dev-arduino ๐Ÿ’ป] + svc_arduino["arduino"] + end + dep_dev_core -- "1:1" --> svc_arduino +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The role enables a ready-to-use Arduino development setup by installing necessary tools and configuring user permissions for serial access. @@ -19,3 +36,9 @@ The role enables a ready-to-use Arduino development setup by installing necessar - **Installs Arduino IDE & Docs:** Provides GUI and offline references. - **User Group Configuration:** Adds the developer to `uucp` and `lock` groups for serial communication. - **Persona Integration:** Extends `dev-core` with embedded-specific tools. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-base-devel/README.md b/roles/dev-base-devel/README.md index 38f76f9791..144c60c7c0 100644 --- a/roles/dev-base-devel/README.md +++ b/roles/dev-base-devel/README.md @@ -8,6 +8,19 @@ Base development toolchains provide the core build tools (compilers, linkers, ma This role installs distro-specific equivalents of core build tooling so systems are ready for compiling software from source. After deploying this role, all common build dependencies are available on the system. +## Cosmos + +The diagram places Base Development Toolchain in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-base-devel ๐Ÿ’ป] + svc_base_devel["base-devel"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Installs distro-specific base development packages: @@ -21,3 +34,9 @@ This role installs distro-specific equivalents of core build tooling so systems - [Arch Linux: base-devel package](https://archlinux.org/packages/core/any/base-devel/) - [Debian package: build-essential](https://packages.debian.org/stable/build-essential) - [DNF groups: development-tools](https://dnf.readthedocs.io/en/latest/command_ref.html#group-command) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-core/README.md b/roles/dev-core/README.md index 6dae063722..6451262bce 100644 --- a/roles/dev-core/README.md +++ b/roles/dev-core/README.md @@ -8,6 +8,25 @@ This role builds upon core workstation and package management components to deliver a clean, editor-ready base for developers. It installs core tools and editors necessary to begin building, editing, and managing source code projects. +## Cosmos + +The diagram places Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-core ๐Ÿ’ป] + svc_core["core"] + end + subgraph dependents [Dependents] + dpt_dev_arduino["dev-arduino ๐Ÿ’ป โš™๏ธ"] + dpt_dev_python["dev-python ๐Ÿ’ป โš™๏ธ"] + end + svc_core -- "1:1" --> dpt_dev_arduino + svc_core -- "1:1" --> dpt_dev_python +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose To reduce setup time and ensure consistency across developer workstations, this role prepares a functional and extensible foundation for software engineering work. @@ -17,3 +36,9 @@ To reduce setup time and ensure consistency across developer workstations, this - **Installs Visual Studio Code:** A powerful code editor with a wide plugin ecosystem. - **Extensible Design:** Acts as a base layer for more specific development stacks (e.g., web, Python, embedded). - **Persona Integration:** Serves as a reusable foundation for developer-focused workstation bundles. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-fakeroot/README.md b/roles/dev-fakeroot/README.md index 6042179c6f..70e259a3d8 100644 --- a/roles/dev-fakeroot/README.md +++ b/roles/dev-fakeroot/README.md @@ -10,6 +10,19 @@ Learn more about fakeroot on the [Debian Wiki](https://wiki.debian.org/FakeRoot) This role automates the installation of fakeroot via the OS package manager, ensuring that users can simulate superuser operations without requiring elevated privileges. +## Cosmos + +The diagram places Fakeroot in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-fakeroot ๐Ÿ’ป] + svc_fakeroot["fakeroot"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the installation of fakeroot so that users can simulate superuser operations without requiring elevated privileges. This is particularly useful in development environments and during package building processes. @@ -19,3 +32,9 @@ The purpose of this role is to automate the installation of fakeroot so that use - **Automated Installation:** Installs fakeroot via the OS package manager. - **Idempotent Execution:** Ensures that fakeroot is installed and remains up to date. - **Simplified Setup:** Minimizes manual installation steps for environments where fakeroot is required. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-gcc/README.md b/roles/dev-gcc/README.md index 8f1f80a5d9..c971be1078 100644 --- a/roles/dev-gcc/README.md +++ b/roles/dev-gcc/README.md @@ -10,6 +10,19 @@ Learn more about GCC on [Wikipedia](https://en.wikipedia.org/wiki/GNU_Compiler_C Tailored for Arch Linux, this role installs GCC and optionally sets up additional development utilities. It ensures the package is installed via the system package manager and ready to compile code in a variety of programming languages. +## Cosmos + +The diagram places GCC in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-gcc ๐Ÿ’ป] + svc_gcc["gcc"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the provisioning of a development-ready environment by ensuring the GCC toolchain is properly installed and available. @@ -19,3 +32,9 @@ The purpose of this role is to automate the provisioning of a development-ready - **Installs GCC:** Uses `pacman` to install the `gcc` package. - **Minimal Setup:** No unnecessary dependencies are installed. - **Reusable Role:** Can be used as a foundational component for software development, CI/CD pipelines, and build environments. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-git/README.md b/roles/dev-git/README.md index 52d3a3a8e8..12a5d26dec 100644 --- a/roles/dev-git/README.md +++ b/roles/dev-git/README.md @@ -8,6 +8,19 @@ This Ansible role installs Git on the target system using the Pacman package man Designed for Arch Linux systems, this role leverages the `pacman` module to install Git. It uses a fact (`run_once_dev_git`) to control task execution, ensuring that the Git installation is performed only once per run. +## Cosmos + +The diagram places Git in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-git ๐Ÿ’ป] + svc_git["git"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the installation of Git in a consistent and idempotent manner. It is especially useful in environments where Git is a prerequisite for further automation or development tasks. @@ -17,3 +30,9 @@ The purpose of this role is to automate the installation of Git in a consistent - **Git Installation:** Uses the Pacman package manager to install Git. - **Idempotent Execution:** Sets a fact to guarantee that the installation tasks are executed only once. - **Optimized Deployment:** Suitable for use in multi-host environments to avoid redundant installations. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-java/README.md b/roles/dev-java/README.md index f9aa7e0777..9e8919d493 100644 --- a/roles/dev-java/README.md +++ b/roles/dev-java/README.md @@ -8,10 +8,33 @@ Installs OpenJDK 11 (`jdk11-openjdk`) on Pacman-based systems to provide a Java This README file is for the Java role, which is part of the `infinito`. The role is specifically designed to automate the installation of Java on a system, focusing on the OpenJDK 11 version. +## Cosmos + +The diagram places Java in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-java ๐Ÿ’ป] + svc_java["java"] + end + subgraph dependents [Dependents] + dpt_dsk_bluray_player["dsk-bluray-player ๐Ÿ’ป โš™๏ธ"] + end + svc_java -- "1:1" --> dpt_dsk_bluray_player +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Contents of the role The `main.yml` file within the `java` role consists of a single, but crucial task: diff --git a/roles/dev-locales/README.md b/roles/dev-locales/README.md index e9d44263f6..5950cd8da3 100644 --- a/roles/dev-locales/README.md +++ b/roles/dev-locales/README.md @@ -19,8 +19,27 @@ This Ansible role manages the system locale configuration by deploying `locale.g - Templates are only reapplied if changed - `locale-gen` only re-runs when the template changes +## Cosmos + +The diagram places Locales in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-locales ๐Ÿ’ป] + svc_locales["locales"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Full control over uncommented locales in `locale.gen` - Simple override via templates in your role directory - Works on any system supporting `locale-gen` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-make/README.md b/roles/dev-make/README.md index 8ee9a79314..2e4606dd55 100644 --- a/roles/dev-make/README.md +++ b/roles/dev-make/README.md @@ -10,6 +10,19 @@ Learn more about GNU Make on the [GNU Make Homepage](https://www.gnu.org/softwar This role ensures that GNU Make is installed on the target system. It is intended for environments where automated build processes or custom software compilation are required. +## Cosmos + +The diagram places Make Installation in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-make ๐Ÿ’ป] + svc_make["make"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide an automated, idempotent installation of GNU Make, ensuring that the tool is available system-wide for building software. It is ideal for developers and system administrators who require a reliable build system. @@ -19,3 +32,9 @@ The purpose of this role is to provide an automated, idempotent installation of - **Installs GNU Make:** Uses Pacman to install the `make` package. - **Idempotent Execution:** Ensures that Make is installed only once. - **System-Wide Availability:** Makes GNU Make available for all users on the system. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-nix/README.md b/roles/dev-nix/README.md index 77446d5793..0eff0bb052 100644 --- a/roles/dev-nix/README.md +++ b/roles/dev-nix/README.md @@ -18,6 +18,19 @@ up-to-date Nix installation. This role installs the Nix package manager via pacman on Arch x86_64 or via the official installer with SHA256 verification. +## Cosmos + +The diagram places dev-nix in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-nix ๐Ÿ’ป] + svc_nix["nix"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Installation Strategy The role automatically selects the appropriate installation method: @@ -79,3 +92,9 @@ checksum. - Nix project: - Nix releases: - Infinito.Nexus License: + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dev-nodejs/README.md b/roles/dev-nodejs/README.md index 8da5e81132..0d6e8edfde 100644 --- a/roles/dev-nodejs/README.md +++ b/roles/dev-nodejs/README.md @@ -8,11 +8,30 @@ This Ansible role installs Node.js on the target system using the native package Optimized for Archlinux and Debian-based systems, this role ensures the presence of Node.js for use in Node-based applications or scripts. It serves as a foundational role for projects that depend on Node.js runtimes or utilities like Puppeteer. +## Cosmos + +The diagram places Node.js in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-nodejs ๐Ÿ’ป] + svc_nodejs["nodejs"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Node.js Installation:** Installs the latest Node.js version available via the system's package manager. - **Idempotent Execution:** Ensures Node.js is only installed when missing. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## License Infinito.Nexus Community License (Non-Commercial) diff --git a/roles/dev-npm/README.md b/roles/dev-npm/README.md index 5cf020391b..a3e65770d5 100644 --- a/roles/dev-npm/README.md +++ b/roles/dev-npm/README.md @@ -8,12 +8,31 @@ This Ansible role installs npm and optionally runs `npm ci` within a given proje Designed for use in Node-based projects, this role installs npm and can execute a clean install (`npm ci`) to ensure consistent dependency trees. +## Cosmos + +The diagram places npm in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-npm ๐Ÿ’ป] + svc_npm["npm"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **npm Installation:** Ensures the `npm` package manager is installed. - **Optional Project Setup:** Runs `npm ci` in a specified folder to install exact versions from `package-lock.json`. - **Idempotent:** Skips `npm ci` if no folder is configured. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Configuration Set `npm_project_folder` to a directory containing `package.json` and `package-lock.json`: diff --git a/roles/dev-python/README.md b/roles/dev-python/README.md index 745aac1699..e6ffd17bb1 100644 --- a/roles/dev-python/README.md +++ b/roles/dev-python/README.md @@ -10,6 +10,23 @@ Learn more at the [Python Official Site](https://www.python.org/), the [Arch Wik This role provides the essential tooling for Python developers, enabling immediate use of `python` and `pip` from the command line. It supports both general-purpose scripting and advanced software engineering workflows. +## Cosmos + +The diagram places Python Development Utilities in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dev_core["dev-core ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [dev-python ๐Ÿ’ป] + svc_python["python"] + end + dep_dev_core -- "1:1" --> svc_python +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose To simplify and standardize the provisioning of Python-ready environments for developers, students, data scientists, and automation engineers. @@ -29,6 +46,12 @@ Supported distro families in the installer script: - Fedora - CentOS / RHEL +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Customization Easily extend this role with: diff --git a/roles/dev-shell/README.md b/roles/dev-shell/README.md index 485ca07b87..18af671628 100644 --- a/roles/dev-shell/README.md +++ b/roles/dev-shell/README.md @@ -8,6 +8,19 @@ This Ansible role ensures that [.profile](https://en.wikipedia.org/wiki/Bourne_s By standardizing `.profile` as the central source for environment configuration, this role ensures consistent shell behavior. It does **not** manage the contents of `.profile` itself; it only guarantees that it is sourced by supported shells. +## Cosmos + +The diagram places Shell in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [dev-shell ๐Ÿ’ป] + svc_shell["shell"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to unify shell environment setup across Bash and Zsh. It minimizes duplication and confusion by encouraging the use of `.profile` for shared configuration such as environment variables and agent settings. @@ -17,3 +30,9 @@ The purpose of this role is to unify shell environment setup across Bash and Zsh - **Centralized Configuration:** Promotes `.profile` as the single source for shared shell settings. - **Cross-Shell Compatibility:** Ensures both Bash and Zsh source `.profile` properly. - **Non-Invasive:** Does not alter the content of `.profile`. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-epson-multiprinter/README.md b/roles/drv-epson-multiprinter/README.md index 084c44b647..e51eee42fb 100644 --- a/roles/drv-epson-multiprinter/README.md +++ b/roles/drv-epson-multiprinter/README.md @@ -8,10 +8,68 @@ Installs Epson multifunction printer drivers and scanning utilities (escpr, imag This role installs Epson multifunction printer drivers and scanning utilities (escpr, imagescan) via Pacman and AUR on Arch Linux. +## Cosmos + +The diagram places Epson Multiprinter Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [drv-epson-multiprinter ๐Ÿ’ป] + svc_epson_multiprinter["epson-multiprinter"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Epson Multiprinter Driver onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=drv-epson-multiprinter full_cycle=false +``` + +### Production + +Install Epson Multiprinter Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=drv-epson-multiprinter +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Other Resources - diff --git a/roles/drv-intel/README.md b/roles/drv-intel/README.md index f08bea6d36..11da0a087d 100644 --- a/roles/drv-intel/README.md +++ b/roles/drv-intel/README.md @@ -13,11 +13,69 @@ Package name differs across distributions: - Fedora: `libva-intel-media-driver` - CentOS Stream 9: `libva-intel-hybrid-driver` (via EPEL) +## Cosmos + +The diagram places Intel Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [drv-intel ๐Ÿ’ป] + svc_intel["intel"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Idempotent installation of Intel media drivers - Supports Arch, Debian, Ubuntu, Fedora, CentOS Stream +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Intel Driver onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=drv-intel full_cycle=false +``` + +### Production + +Install Intel Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=drv-intel +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [Intel Media Driver upstream documentation](https://01.org/intel-media-sdk) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-lid-switch/README.md b/roles/drv-lid-switch/README.md index 115fcf4dcb..715495ca81 100644 --- a/roles/drv-lid-switch/README.md +++ b/roles/drv-lid-switch/README.md @@ -11,6 +11,19 @@ This role addresses a common issue on Linux laptops: closing the lid while docke - Hibernate on lid close when on battery - Lock the session when on AC power or docked +## Cosmos + +The diagram places LID Switch Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [drv-lid-switch ๐Ÿ’ป] + svc_lid_switch["lid-switch"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to enforce a consistent and predictable lid switch behavior across power states, improving usability on laptops that otherwise behave unpredictably when the lid is closed. @@ -21,3 +34,48 @@ The purpose of this role is to enforce a consistent and predictable lid switch b - **Systemd Integration:** Applies proper `logind.conf` settings for lid switch handling. - **Power-aware Configuration:** Differentiates between battery, AC power, and docked state. - **Idempotent Design:** Ensures safe re-runs and minimal unnecessary restarts. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LID Switch Driver onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=drv-lid-switch full_cycle=false +``` + +### Production + +Install LID Switch Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=drv-lid-switch +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/drv-non-free/README.md b/roles/drv-non-free/README.md index 24a1e71f57..9872754cce 100644 --- a/roles/drv-non-free/README.md +++ b/roles/drv-non-free/README.md @@ -10,6 +10,19 @@ This Ansible role installs non-free GPU drivers on Arch Linux systems by invokin - Automatically detects your PCI graphics adapter and installs the recommended non-free driver - Designed to be run once per host to provision proprietary GPU support +## Cosmos + +The diagram places Proprietary Drivers in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [drv-non-free ๐Ÿ’ป] + svc_non_free["non-free"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automatic Hardware Detection** @@ -21,6 +34,51 @@ This Ansible role installs non-free GPU drivers on Arch Linux systems by invokin - **Simple Execution** Single-task role with minimal overhead. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Proprietary Drivers onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=drv-non-free full_cycle=false +``` + +### Production + +Install Proprietary Drivers directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=drv-non-free +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [Arch Linux mhwd Package](https://archlinux.org/packages/?q=manjaro) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-base/README.md b/roles/dsk-base/README.md index 67b76646d7..ce8e990e71 100644 --- a/roles/dsk-base/README.md +++ b/roles/dsk-base/README.md @@ -10,11 +10,102 @@ It pulls in `user-workstation` and nothing else. Desktop roles declare it in the This role guarantees the workstation account before any desktop role writes for it. +## Cosmos + +The diagram places Base in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_user_workstation["user-workstation ๐Ÿ’ป"] + end + subgraph role [dsk-base ๐Ÿ’ป] + svc_base["base"] + svc_workstation["workstation"] + end + subgraph dependents [Dependents] + dpt_dsk_blender["dsk-blender ๐Ÿ’ป"] + dpt_dsk_bluray_player["dsk-bluray-player ๐Ÿ’ป"] + dpt_dsk_chromium["dsk-chromium ๐Ÿ’ป"] + dpt_dsk_code["dsk-code ๐Ÿ’ป"] + dpt_dsk_copyq["dsk-copyq ๐Ÿ’ป"] + dpt_dsk_docker["dsk-docker ๐Ÿ’ป"] + dpt_dsk_dotlinker["dsk-dotlinker ๐Ÿ’ป"] + dpt_dsk_firefox["dsk-firefox ๐Ÿ’ป"] + dpt_dsk_git["dsk-git ๐Ÿ’ป"] + dpt_dsk_gnome["dsk-gnome ๐Ÿ’ป"] + dpt_dsk_gnome_caffeine["dsk-gnome-caffeine ๐Ÿ’ป"] + dpt_dsk_gnome_extensions["dsk-gnome-extensions ๐Ÿ’ป"] + dpt_more["..."] + end + dep_user_workstation -- "1:1" --> svc_workstation + svc_base -- "1:1" --> dpt_dsk_blender + svc_base -- "1:1" --> dpt_dsk_bluray_player + svc_base -- "1:1" --> dpt_dsk_chromium + svc_base -- "1:1" --> dpt_dsk_code + svc_base -- "1:1" --> dpt_dsk_copyq + svc_base -- "1:1" --> dpt_dsk_docker + svc_base -- "1:1" --> dpt_dsk_dotlinker + svc_base -- "1:1" --> dpt_dsk_firefox + svc_base -- "1:1" --> dpt_dsk_git + svc_base -- "1:1" --> dpt_dsk_gnome + svc_base -- "1:1" --> dpt_dsk_gnome_caffeine + svc_base -- "1:1" --> dpt_dsk_gnome_extensions + svc_base -- "1:1" --> dpt_more +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. - **One premise, one place:** A second shared desktop prerequisite is added here rather than in every `dsk-*` role. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Base onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-base full_cycle=false +``` + +### Production + +Install Base directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-base +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage Declare it as a dependency in the desktop role's `meta/main.yml`: diff --git a/roles/dsk-blender/README.md b/roles/dsk-blender/README.md index 8fe12f8ff5..df021dfd07 100644 --- a/roles/dsk-blender/README.md +++ b/roles/dsk-blender/README.md @@ -14,6 +14,30 @@ Registration follows the host: the role declares `claude` and `code` as services The agents keep their own model wiring. `dsk-gnt-claude` already points at the LiteLLM gateway, so a prompt reaches the local gateway and the resulting tool calls reach Blender. +## Cosmos + +The diagram places Blender in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_dsk_code["dsk-code ๐Ÿ’ป"] + dep_dsk_gnt_claude["dsk-gnt-claude ๐Ÿ’ป"] + end + subgraph role [dsk-blender ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_blender["blender"] + svc_claude["claude"] + svc_code["code"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_dsk_code -. "0..1" .-> svc_code + dep_dsk_gnt_claude -. "0..1" .-> svc_claude +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Agent-driven modelling:** An MCP client creates, edits and renders scenes through Blender's own Python API. @@ -21,8 +45,53 @@ The agents keep their own model wiring. `dsk-gnt-claude` already points at the L - **Pinned bridge:** Add-on and server ship from one version-pinned distribution, so the two halves cannot drift apart. - **No remote installer:** The server arrives through pipx and the add-on through its own subcommand. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Blender onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-blender full_cycle=false +``` + +### Production + +Install Blender directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-blender +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [MCP for Blender](https://github.com/ahujasid/mcp-for-blender) - [Model Context Protocol](https://modelcontextprotocol.io) - [Blender Python API](https://docs.blender.org/api/current/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-bluray-player/README.md b/roles/dsk-bluray-player/README.md index b3e4cc54c6..d949391d7c 100644 --- a/roles/dsk-bluray-player/README.md +++ b/roles/dsk-bluray-player/README.md @@ -13,6 +13,26 @@ This Ansible role installs and configures all the software required for Blu-ray - Contains commented-out tasks for optional AUR packages (`aacskeys`, `libbdplus`) you can enable as needed. - Designed for idempotent execution on Arch Linux and derivatives. +## Cosmos + +The diagram places Blue-ray Disc in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dev_java["dev-java ๐Ÿ’ป โš™๏ธ"] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-bluray-player ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_bluray_player["bluray-player"] + end + dep_dev_java -- "1:1" --> svc_desktop_base + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **VLC Installation** @@ -30,8 +50,53 @@ This Ansible role installs and configures all the software required for Blu-ray - **Arch Linuxโ€“Optimized** Leverages Pacman for fast and reliable package management. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Blue-ray Disc onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-bluray-player full_cycle=false +``` + +### Production + +Install Blue-ray Disc directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-bluray-player +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [Arch Linux Wiki: Blu-ray Playback](https://wiki.archlinux.org/title/Blu-ray#Using_aacskeys) - [Play Blu-ray with VLC Guide](https://videobyte.de/play-blu-ray-with-vlc) - [FV Online DB โ€“ Blu-ray Tools](http://fvonline-db.bplaced.net/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-chromium/README.md b/roles/dsk-chromium/README.md index 8ec695e7a0..102bf414ce 100644 --- a/roles/dsk-chromium/README.md +++ b/roles/dsk-chromium/README.md @@ -8,6 +8,24 @@ This Ansible role installs and configures the Chromium browser along with essent Designed for various Linux distributions, this role manages the installation of the Chromium browser using the systemโ€™s package manager. It configures Chromium's managed policies to automatically deploy key browser extensions, ensuring that users always have a secure and consistent environment. This role integrates seamlessly with other system management roles for a holistic deployment. +## Cosmos + +The diagram places Chromium in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-chromium ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_chromium["chromium"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the provisioning of a secure Chromium environment in a consistent and maintainable way. It reduces manual configuration steps and guarantees that critical browser extensions are enforced, making it ideal for both production and personal deployments. @@ -20,6 +38,51 @@ The purpose of this role is to automate the provisioning of a secure Chromium en - **Cross-Platform Support:** Handles package variations for multiple Linux distributions. - **Seamless Integration:** Provides a stable and secure browsing setup as part of broader system automation workflows. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Chromium onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-chromium full_cycle=false +``` + +### Production + +Install Chromium directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-chromium +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Addons This role force-installs the following Chromium browser extensions via managed Enterprise Policies. They are declared in `meta/addons/` and rendered into the CRX install list. diff --git a/roles/dsk-code/README.md b/roles/dsk-code/README.md index 1c751a3573..0dfa00d1b1 100644 --- a/roles/dsk-code/README.md +++ b/roles/dsk-code/README.md @@ -12,9 +12,82 @@ The role also carries the editor extensions of the agents the same host deploys: `dsk-gnt-cursor` and `dsk-gnt-pi` carry no entry in that map. Cursor is a full editor rather than an extension, and neither vendor publishes an extension on Open VSX, so there is nothing to install into Code for them. Both agents are used from their own binary. +## Cosmos + +The diagram places Code in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_dsk_gnt_claude["dsk-gnt-claude ๐Ÿ’ป"] + dep_dsk_gnt_codex["dsk-gnt-codex ๐Ÿ’ป"] + end + subgraph role [dsk-code ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_code["code"] + svc_claude["claude"] + svc_codex["codex"] + end + subgraph dependents [Dependents] + dpt_dsk_blender["dsk-blender ๐Ÿ’ป"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_dsk_gnt_claude -. "0..1" .-> svc_claude + dep_dsk_gnt_codex -. "0..1" .-> svc_codex + svc_desktop_base -. "0..1" .-> dpt_dsk_blender +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Flavor selectable:** one setting switches between Code - OSS, VSCodium and the Microsoft build. - **Conflict-free switch:** the other flavors are removed first, because they claim the same binary. - **Agent-aware:** an agent role on the same host brings its editor extension along. - **Refused early:** an unknown flavor aborts the deploy with the list of carried flavors. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Code onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-code full_cycle=false +``` + +### Production + +Install Code directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-code +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-copyq/README.md b/roles/dsk-copyq/README.md index 9f2458fa28..4746e8fa7b 100644 --- a/roles/dsk-copyq/README.md +++ b/roles/dsk-copyq/README.md @@ -8,11 +8,74 @@ This role installs the CopyQ clipboard manager on Pacman-based systems (e.g. Arch Linux) and ensures it is started automatically for the current user. +## Cosmos + +The diagram places CopyQ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-copyq ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_copyq["copyq"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy CopyQ onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-copyq full_cycle=false +``` + +### Production + +Install CopyQ directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-copyq +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [CopyQ official site](https://hluk.github.io/CopyQ/) - [Arch Wiki: Clipboard](https://wiki.archlinux.org/title/Clipboard) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-docker/README.md b/roles/dsk-docker/README.md index 007d3c8ceb..5ac2313fc8 100644 --- a/roles/dsk-docker/README.md +++ b/roles/dsk-docker/README.md @@ -8,6 +8,24 @@ Installs Docker and Docker Compose, and adds a user to the Docker group for non- This playbook, `dsk-docker`, is part of a larger collection housed within the `infinito` repository. It is specifically tailored for setting up Docker and Docker Compose on personal computers (PCs) used for development purposes. The primary goal is to facilitate a development environment on individual workstations rather than configuring servers for hosting or distributing Docker images. +## Cosmos + +The diagram places Workstation Docker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-docker ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_docker["docker"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features The `main.yml` file in the `dsk-docker` role consists of two primary tasks: @@ -16,6 +34,51 @@ The `main.yml` file in the `dsk-docker` role consists of two primary tasks: 2. **User Group Configuration**: This task adds a specified user (denoted as `{{users.client.username}}`) to the Docker user group. This is crucial for allowing the specified user to interact with Docker without needing superuser permissions. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Workstation Docker onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-docker full_cycle=false +``` + +### Production + +Install Workstation Docker directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-docker +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Use Case The playbook is designed for developers who require Docker in their local development environments. It simplifies the process of Docker installation and configuration, making it straightforward for developers to start containerizing their applications without the complexities often encountered in a server or production environment. diff --git a/roles/dsk-dotlinker/README.md b/roles/dsk-dotlinker/README.md index 680a6521c2..4cd7a4d47b 100644 --- a/roles/dsk-dotlinker/README.md +++ b/roles/dsk-dotlinker/README.md @@ -12,10 +12,73 @@ It can be included multiple times from different roles, each time with a differe This role installs and applies dotlinker (doli) mappings (generic role). +## Cosmos + +The diagram places Dotlinker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-dotlinker ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_dotlinker["dotlinker"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Dotlinker onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-dotlinker full_cycle=false +``` + +### Production + +Install Dotlinker directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-dotlinker +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage Call this role via `include_role` and pass mappings through `dotlinker_mappings`: diff --git a/roles/dsk-firefox/README.md b/roles/dsk-firefox/README.md index f331a7c6d8..b92731f4cf 100644 --- a/roles/dsk-firefox/README.md +++ b/roles/dsk-firefox/README.md @@ -8,6 +8,24 @@ This Ansible role installs and configures Firefox on Arch Linux systems, enforci Tailored for Arch Linux, this role handles the installation of Firefox using the systemโ€™s package manager (`pacman`). It deploys a `policies.json` file to Firefoxโ€™s distribution directory, ensuring that critical extensions are automatically installed via Firefox Enterprise Policies. +## Cosmos + +The diagram places Firefox in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-firefox ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_firefox["firefox"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The role automates the provisioning of a secure Firefox environment, reducing manual configuration and ensuring consistency across deployments. It is ideal for environments where a standardized and secure browsing setup is required. @@ -19,6 +37,51 @@ The role automates the provisioning of a secure Firefox environment, reducing ma - **Streamlined Configuration:** Automatically creates necessary directories and applies correct file permissions. - **Seamless Integration:** Easily integrates with other automation roles for a complete system setup. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Firefox onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-firefox full_cycle=false +``` + +### Production + +Install Firefox directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-firefox +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Addons Role-level extensions are declared in `meta/addons/` (unified addon contract, requirement 026): diff --git a/roles/dsk-git/README.md b/roles/dsk-git/README.md index b1f6dfe79d..fa411da9e9 100644 --- a/roles/dsk-git/README.md +++ b/roles/dsk-git/README.md @@ -8,6 +8,28 @@ This role installs and configures Git on the target system using the Pacman pack This role installs Git and configures it using a custom git-configurator for personal computers. +## Cosmos + +The diagram places Git in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-git ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_git["git"] + end + subgraph dependents [Dependents] + dpt_dsk_ssh["dsk-ssh ๐Ÿ’ป โš™๏ธ"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + svc_desktop_base -- "1:1" --> dpt_dsk_ssh +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the installation and configuration of Git for personal computers. By leveraging a custom git-configurator, it sets up essential Git settings such as merge options, rebase preferences, user information, and GPG signing, ensuring a consistent environment for version control operations. @@ -18,3 +40,48 @@ The purpose of this role is to automate the installation and configuration of Gi - **Custom Git Configuration:** Invokes the git-configurator tool to merge user-specific configuration options. - **Idempotent Task Execution:** Uses host-level run-once artifacts to ensure that configuration tasks are executed only once per host. - **Integration:** Works alongside the pkgmgr role to streamline overall system setup. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Git onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-git full_cycle=false +``` + +### Production + +Install Git directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-git +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome-caffeine/README.md b/roles/dsk-gnome-caffeine/README.md index 3f18540d92..59efdc64d1 100644 --- a/roles/dsk-gnome-caffeine/README.md +++ b/roles/dsk-gnome-caffeine/README.md @@ -8,6 +8,24 @@ This role installs [caffeine-ng](https://codeberg.org/WhyNotHugo/caffeine-ng), a This role installs caffeine-ng and configures it to autostart for preventing screen sleep on GNOME. +## Cosmos + +The diagram places GNOME Caffeine in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnome-caffeine ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_gnome_caffeine["gnome-caffeine"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to ensure uninterrupted workflow by keeping the desktop active during long-running tasks or presentations. By automatically starting caffeine-ng, it prevents unwanted screen locking or sleep modes on GNOME systems. @@ -18,3 +36,48 @@ The purpose of this role is to ensure uninterrupted workflow by keeping the desk - Creates the autostart directory if it does not exist. - Deploys a customized desktop entry to ensure caffeine-ng starts automatically. - Enhances user experience by maintaining an active desktop environment. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy GNOME Caffeine onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnome-caffeine full_cycle=false +``` + +### Production + +Install GNOME Caffeine directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnome-caffeine +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome-extensions/README.md b/roles/dsk-gnome-extensions/README.md index ffea67124a..a9633b68b0 100644 --- a/roles/dsk-gnome-extensions/README.md +++ b/roles/dsk-gnome-extensions/README.md @@ -10,6 +10,24 @@ Learn more about the CLI tool on its [GitHub page](https://github.com/kevinveenb This role configures GNOME Shell extensions and installs the CLI GNOME Extension Manager for managing extensions. +## Cosmos + +The diagram places GNOME Extensions Manager in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnome-extensions ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_gnome_extensions["gnome-extensions"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to enhance and customize the GNOME desktop environment by managing shell extensions. It simplifies the process of installing and configuring extensions, thereby improving productivity and desktop functionality. @@ -21,6 +39,51 @@ The purpose of this role is to enhance and customize the GNOME desktop environme - Executes extension configuration commands for streamlined management. - Provides an automated method for managing and updating GNOME extensions. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy GNOME Extensions Manager onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnome-extensions full_cycle=false +``` + +### Production + +Install GNOME Extensions Manager directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnome-extensions +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Addons This role is a generic GNOME-extension installer driven by `services.gnome-extensions.plugins`, a 3-tuple list (`action`, `uuid`, `url`) consumed by `cli-gnome-extension-manager`. diff --git a/roles/dsk-gnome-terminal/README.md b/roles/dsk-gnome-terminal/README.md index 2a34357b3d..d2572faa84 100644 --- a/roles/dsk-gnome-terminal/README.md +++ b/roles/dsk-gnome-terminal/README.md @@ -10,6 +10,24 @@ Learn more about GNOME Terminal on [Wikipedia](https://en.wikipedia.org/wiki/GNO This role installs GNOME Terminal on Arch Linux, providing a modern terminal emulator for the GNOME desktop environment. +## Cosmos + +The diagram places GNOME Terminal in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnome-terminal ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_gnome_terminal["gnome-terminal"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to ensure that GNOME Terminal is installed and properly configured on Arch Linux systems, providing users with a robust and fully featured terminal emulator that integrates seamlessly with the GNOME desktop. @@ -20,3 +38,48 @@ The purpose of this role is to ensure that GNOME Terminal is installed and prope - Ensures the terminal emulator is available system-wide. - Supports modern features and configuration options offered by GNOME Terminal. - Enhances the overall usability and productivity of the GNOME desktop environment. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy GNOME Terminal onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnome-terminal full_cycle=false +``` + +### Production + +Install GNOME Terminal directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnome-terminal +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnome/README.md b/roles/dsk-gnome/README.md index c9a1681be9..d24b1aa205 100644 --- a/roles/dsk-gnome/README.md +++ b/roles/dsk-gnome/README.md @@ -12,6 +12,24 @@ This role aggregates various GNOME desktop components to ensure a cohesive and f This role aggregates essential GNOME desktop roles (including caffeine, extensions, and terminal) for a complete GNOME environment on Linux. +## Cosmos + +The diagram places GNOME Desktop in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnome ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_gnome["gnome"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide a complete GNOME desktop experience by orchestrating multiple sub-roles. This simplifies deployment and management by ensuring that all key components are installed and configured in a consistent, system-wide manner. @@ -24,6 +42,51 @@ The purpose of this role is to provide a complete GNOME desktop experience by or - Installs GNOME Terminal for a robust command-line interface. - Ensures a seamless and uniform GNOME environment on Arch Linux. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy GNOME Desktop onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnome full_cycle=false +``` + +### Production + +Install GNOME Desktop directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnome +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Addons Role-level GNOME Shell extensions are declared in `meta/addons/` (unified addon contract, requirement 026). diff --git a/roles/dsk-gnt-claude/README.md b/roles/dsk-gnt-claude/README.md index cadbeb306c..8c45786a3e 100644 --- a/roles/dsk-gnt-claude/README.md +++ b/roles/dsk-gnt-claude/README.md @@ -10,9 +10,81 @@ The agent speaks the Anthropic Messages API, which the LiteLLM gateway serves al The gateway mints its virtual keys from the inventory it is deployed from, and a workstation is deployed from a different one. The key is therefore an operator-supplied credential on the workstation side: mint it on the server, then put it into the workstation inventory. +## Cosmos + +The diagram places Claude Code in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + end + subgraph role [dsk-gnt-claude ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_claude["claude"] + svc_litellm["litellm"] + end + subgraph dependents [Dependents] + dpt_dsk_blender["dsk-blender ๐Ÿ’ป"] + dpt_dsk_code["dsk-code ๐Ÿ’ป"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_svc_ai_litellm -. "0..1" .-> svc_litellm + svc_desktop_base -. "0..1" .-> dpt_dsk_blender + svc_desktop_base -. "0..1" .-> dpt_dsk_code +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Gateway-backed:** `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` point the agent at the platform gateway. - **Explicit models:** `ANTHROPIC_MODEL` and `ANTHROPIC_DEFAULT_HAIKU_MODEL` name gateway aliases, because the vendor's own model ids do not exist there. - **No configuration without a key:** the settings file is written only once both the gateway URL and the key are set. - **User-owned:** the file belongs to the workstation user and is readable only by them. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Claude Code onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnt-claude full_cycle=false +``` + +### Production + +Install Claude Code directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnt-claude +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-codex/README.md b/roles/dsk-gnt-codex/README.md index f65747a043..1713f0bcbf 100644 --- a/roles/dsk-gnt-codex/README.md +++ b/roles/dsk-gnt-codex/README.md @@ -10,6 +10,76 @@ The role installs the `@openai/codex` npm package and, when the workstation also Codex reads its key from an environment variable rather than from its config file, so the role writes the key to a `0600` file under `~/.config/environment.d/` and names that variable in `config.toml`. A workstation whose gateway lives in another inventory leaves `services.codex.gateway_url` and `credentials.gateway_key` set by hand instead, and the loopback wiring stays out of the way. +## Cosmos + +The diagram places Codex in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + end + subgraph role [dsk-gnt-codex ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_codex["codex"] + svc_litellm["litellm"] + end + subgraph dependents [Dependents] + dpt_dsk_code["dsk-code ๐Ÿ’ป"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_svc_ai_litellm -. "0..1" .-> svc_litellm + svc_desktop_base -. "0..1" .-> dpt_dsk_code +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Feature:** Describe a capability. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Codex onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnt-codex full_cycle=false +``` + +### Production + +Install Codex directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnt-codex +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-cursor/README.md b/roles/dsk-gnt-cursor/README.md index dedbb438f1..85d2123af4 100644 --- a/roles/dsk-gnt-cursor/README.md +++ b/roles/dsk-gnt-cursor/README.md @@ -10,7 +10,70 @@ Cursor's CLI cannot be pointed at a custom OpenAI-compatible endpoint: it exchan The role therefore installs the editor and leaves the endpoint override to the operator. Nothing here pretends to configure a gateway that the product does not accept from a file. +## Cosmos + +The diagram places Cursor in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnt-cursor ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_cursor["cursor"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Installed, not faked:** the editor is provisioned; the endpoint override stays a documented operator step. - **Arch today:** the vendor ships neither a Debian nor an RPM repository, so only the Arch build is wired up. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Cursor onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnt-cursor full_cycle=false +``` + +### Production + +Install Cursor directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnt-cursor +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnt-pi/README.md b/roles/dsk-gnt-pi/README.md index 6c7d75fa02..9cb7c6d4c1 100644 --- a/roles/dsk-gnt-pi/README.md +++ b/roles/dsk-gnt-pi/README.md @@ -10,9 +10,75 @@ Pi reads its providers from `~/.pi/agent/models.json`. The role renders that fil As with every workstation agent here, the key is operator-supplied: the gateway mints it from the server inventory, and the workstation inventory carries it. +## Cosmos + +The diagram places Pi Coding Agent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + end + subgraph role [dsk-gnt-pi ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_pi["pi"] + svc_litellm["litellm"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_svc_ai_litellm -. "0..1" .-> svc_litellm +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Gateway-backed:** one provider entry, no vendor credentials on the machine. - **Explicit model list:** the aliases come from the inventory, so the agent offers exactly what the gateway serves. - **No configuration without a key:** the file is written only once URL, key and model list are set. - **User-owned:** the file belongs to the workstation user and is readable only by them. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Pi Coding Agent onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnt-pi full_cycle=false +``` + +### Production + +Install Pi Coding Agent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnt-pi +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-gnucash/README.md b/roles/dsk-gnucash/README.md index 681673f7d5..7c2441a1f8 100644 --- a/roles/dsk-gnucash/README.md +++ b/roles/dsk-gnucash/README.md @@ -8,10 +8,73 @@ Installs GnuCash finance management software on Pacman-based systems, ensuring t This Ansible role is responsible for installing GnuCash, a free and open-source financial management software, on systems utilizing the Pacman package manager. It's particularly useful for setting up GnuCash in a Linux environment with minimal manual intervention. +## Cosmos + +The diagram places GnuCash in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-gnucash ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_gnucash["gnucash"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy GnuCash onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-gnucash full_cycle=false +``` + +### Production + +Install GnuCash directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-gnucash +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Role: dsk-gnucash The `dsk-gnucash` role ensures that GnuCash is installed and maintained at its latest available version in the Pacman repositories. diff --git a/roles/dsk-jrnl/README.md b/roles/dsk-jrnl/README.md index d016b71edd..b90fc72caa 100644 --- a/roles/dsk-jrnl/README.md +++ b/roles/dsk-jrnl/README.md @@ -8,10 +8,73 @@ This role automates the installation of Jrnl using the `community.general.pacman` module for systems that support the Pacman package manager, ensuring that Jrnl is installed and up to date. +## Cosmos + +The diagram places Jrnl in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-jrnl ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_jrnl["jrnl"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Jrnl onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-jrnl full_cycle=false +``` + +### Production + +Install Jrnl directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-jrnl +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [Jrnl official documentation](https://jrnl.sh/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-keepassxc/README.md b/roles/dsk-keepassxc/README.md index a6601ad62f..05806c0748 100644 --- a/roles/dsk-keepassxc/README.md +++ b/roles/dsk-keepassxc/README.md @@ -9,6 +9,24 @@ This role installs the KeePassXC desktop application on Pacman-based workstations through the system package manager. It is intended for personal-workstation roles in the desktop tier and does not configure databases, browser integrations, or autofill helpers. +## Cosmos + +The diagram places KeePassXC in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-keepassxc ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_keepassxc["keepassxc"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Local-first vault:** Keeps the password database on the workstation, with no mandatory cloud sync. @@ -16,7 +34,52 @@ It is intended for personal-workstation roles in the desktop tier and does not c - **Workstation scope:** Targets the desktop tier (`dsk-*`) and stays out of server inventories. - **Minimal footprint:** Does not enable services or autostart entries beyond what the package itself provides. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy KeePassXC onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-keepassxc full_cycle=false +``` + +### Production + +Install KeePassXC directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-keepassxc +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [KeePassXC](https://keepassxc.org/) - [KeePassXC documentation](https://keepassxc.org/docs/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-laya/README.md b/roles/dsk-laya/README.md index 7d3eb931e4..80ba70aa2e 100644 --- a/roles/dsk-laya/README.md +++ b/roles/dsk-laya/README.md @@ -12,9 +12,72 @@ The pinned build is the amd64 AppImage, and the role refuses a host of another a Laya keeps its own settings in `~/.laya/`, including the model providers it talks to. This role does not render that file: upstream documents the provider types but not the on-disk schema, so the provider is an operator step in the application's own settings. Pointing it at the platform gateway means adding a provider of type `openai_compatible`. +## Cosmos + +The diagram places Laya in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-laya ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_laya["laya"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Pinned and verified:** the AppImage version and its sha256 live in the role, and a mismatch aborts the deploy. - **Architecture-guarded:** a host that is not amd64 aborts before the download. - **Distribution-independent:** the AppImage runs on every supported family, so no vendor repository is needed. - **No invented configuration:** the provider setup stays in the application, because its file schema is not documented upstream. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Laya onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-laya full_cycle=false +``` + +### Production + +Install Laya directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-laya +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-libreoffice/README.md b/roles/dsk-libreoffice/README.md index 42ce623025..56e3d8fafc 100644 --- a/roles/dsk-libreoffice/README.md +++ b/roles/dsk-libreoffice/README.md @@ -10,6 +10,26 @@ Learn more about LibreOffice on the [official website](https://www.libreoffice.o This role installs LibreOffice along with Liberation fonts and language packages on Arch Linux systems for a complete office suite experience. +## Cosmos + +The diagram places LibreOffice in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_gen_hunspell["gen-hunspell ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [dsk-libreoffice ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_libreoffice["libreoffice"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_gen_hunspell -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the installation and configuration of LibreOffice along with its language support on personal computers. This ensures that users have a consistent and fully functional office suite environment across their systems. @@ -20,3 +40,48 @@ The purpose of this role is to automate the installation and configuration of Li - **Customizable Flavor:** Supports installation of different LibreOffice flavors by dynamically setting the package name. - **Language Support:** Iterates through a list of desired language packages to ensure comprehensive localization. - **Seamless Integration:** Designed to work within a larger system setup environment, integrating with dependencies such as Hunspell for spell checking. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LibreOffice onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-libreoffice full_cycle=false +``` + +### Production + +Install LibreOffice directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-libreoffice +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-micro/README.md b/roles/dsk-micro/README.md index b3209244f2..94d848b02d 100644 --- a/roles/dsk-micro/README.md +++ b/roles/dsk-micro/README.md @@ -8,10 +8,67 @@ Installs micro CLI text editor on Pacmanโ€‘based systems. This role automates the installation of micro, a CLI text editor, on Pacmanโ€‘based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date. +## Cosmos + +The diagram places micro in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-micro ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_micro["micro"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy micro onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-micro full_cycle=false +``` + +### Production + +Install micro directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-micro +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Requirements - Ansible 2.9 or higher @@ -38,6 +95,12 @@ None. - Official micro documentation: +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Contributing Contributions are welcome! Please follow standard Ansible role conventions and best practices. diff --git a/roles/dsk-neovim/README.md b/roles/dsk-neovim/README.md index e372ef5e78..7a7e12abbc 100644 --- a/roles/dsk-neovim/README.md +++ b/roles/dsk-neovim/README.md @@ -8,10 +8,67 @@ Installs neovim CLI text editor on Pacmanโ€‘based systems. This role automates the installation of neovim, a CLI text editor, on Pacmanโ€‘based systems. It uses the `community.general.pacman` module to ensure the editor is installed and up to date. +## Cosmos + +The diagram places Neovim in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-neovim ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_neovim["neovim"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Neovim onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-neovim full_cycle=false +``` + +### Production + +Install Neovim directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-neovim +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Requirements - Ansible 2.9 or higher @@ -38,6 +95,12 @@ None. - Official neovim documentation: +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Contributing Contributions are welcome! Please follow standard Ansible role conventions and best practices. diff --git a/roles/dsk-nextcloud/README.md b/roles/dsk-nextcloud/README.md index 4767221d4a..1f3947ce94 100644 --- a/roles/dsk-nextcloud/README.md +++ b/roles/dsk-nextcloud/README.md @@ -8,6 +8,24 @@ This Ansible role installs and configures the Nextcloud desktop client on Arch L Targeting user environments on Arch Linux (e.g., Manjaro), this role sets up the official `nextcloud-client` and dynamically links key directories from the user's home folder to Nextcloud. This makes it easy to use the Nextcloud client without needing to manually configure folders. +## Cosmos + +The diagram places Nextcloud Client ๏ธ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-nextcloud ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_nextcloud["nextcloud"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the configuration of cloud-integrated user directories by ensuring that common folders like `Downloads`, `Music`, and `Workspaces` are transparently redirected into a centralized cloud structure. This makes it easier to maintain sys-bkp-friendly, cloud-ready setups for homelab and professional workflows. @@ -18,3 +36,48 @@ The purpose of this role is to automate the configuration of cloud-integrated us - **Symbolic Linking of User Folders:** Maps home folders (e.g., `Documents`, `Videos`, `Workspaces`) into their Nextcloud equivalents. - **Dynamic Cloud Directory Resolution:** Builds the target cloud directory path from user and cloud variables. - **Dump Folder Mapping:** Links `InstantUpload` from the cloud to a `~/Dump` folder for quick camera/file access. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Nextcloud Client ๏ธ onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-nextcloud full_cycle=false +``` + +### Production + +Install Nextcloud Client ๏ธ directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-nextcloud +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-obs/README.md b/roles/dsk-obs/README.md index 1f86f1608d..93cda641cd 100644 --- a/roles/dsk-obs/README.md +++ b/roles/dsk-obs/README.md @@ -9,6 +9,24 @@ This role installs the OBS Studio desktop application on Pacman-based workstations through the system package manager. It targets the desktop tier and does not configure scenes, capture devices, or streaming profiles. +## Cosmos + +The diagram places OBS Studio in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-obs ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_obs["obs"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Streaming and recording:** Provides the upstream OBS Studio binary for both live broadcasting and local recording. @@ -16,7 +34,52 @@ It targets the desktop tier and does not configure scenes, capture devices, or s - **Workstation scope:** Targets the desktop tier (`dsk-*`) and stays out of server inventories. - **No state changes beyond install:** Does not enable services or write per-user OBS configuration. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy OBS Studio onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-obs full_cycle=false +``` + +### Production + +Install OBS Studio directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-obs +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [OBS Studio](https://obsproject.com/) - [OBS Studio knowledge base](https://obsproject.com/kb/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-qbittorrent/README.md b/roles/dsk-qbittorrent/README.md index f7b7911be2..45620c275e 100644 --- a/roles/dsk-qbittorrent/README.md +++ b/roles/dsk-qbittorrent/README.md @@ -8,10 +8,73 @@ Installs the qBittorrent torrent client from the distribution repositories. This README is for the `dsk-qbittorrent` role within the `infinito` repository. This role is specifically crafted for installing qBittorrent, a popular open-source torrent client, on personal computers. +## Cosmos + +The diagram places QBittorrent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-qbittorrent ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_qbittorrent["qbittorrent"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy QBittorrent onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-qbittorrent full_cycle=false +``` + +### Production + +Install QBittorrent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-qbittorrent +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Role Tasks The `main.yml` file in the `dsk-qbittorrent` role includes the following task: diff --git a/roles/dsk-retroarch/README.md b/roles/dsk-retroarch/README.md index f5d2927035..22afcf1696 100644 --- a/roles/dsk-retroarch/README.md +++ b/roles/dsk-retroarch/README.md @@ -8,6 +8,24 @@ Designed for retro gaming enthusiasts, this role installs RetroArch along with its core assets and themes on Arch Linux systems. It ensures all UI styles are ready and provides a consistent emulator frontend interface. +## Cosmos + +The diagram places RetroArch in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-retroarch ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_retroarch["retroarch"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the deployment of a full-featured RetroArch environment, reducing manual setup and improving reproducibility across gaming setups. @@ -17,6 +35,45 @@ The purpose of this role is to automate the deployment of a full-featured RetroA - **Installs RetroArch:** Including the main [RetroArch package](https://archlinux.org/packages/extra/x86_64/retroarch/) and theme assets. - **UI Assets Support:** Both [XMB](https://docs.libretro.com/) and [Ozone](https://docs.libretro.com/) menu styles supported out of the box. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy RetroArch onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-retroarch full_cycle=false +``` + +### Production + +Install RetroArch directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-retroarch +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - ๐Ÿ•น๏ธ [RetroArch - Official Site](https://www.retroarch.com/) @@ -24,3 +81,9 @@ The purpose of this role is to automate the deployment of a full-featured RetroA - ๐Ÿ“š [RetroArch on ArchWiki](https://wiki.archlinux.org/title/RetroArch) - ๐Ÿง  [RetroArch - Wikipedia](https://en.wikipedia.org/wiki/RetroArch) - ๐ŸŽจ [UI Menus: XMB, Ozone, GLUI, RGUI](https://docs.libretro.com/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-spotify/README.md b/roles/dsk-spotify/README.md index 30a5593bcc..5c6f4dbab4 100644 --- a/roles/dsk-spotify/README.md +++ b/roles/dsk-spotify/README.md @@ -8,6 +8,24 @@ This Ansible role installs the [Spotify](https://www.spotify.com/) desktop clien Spotify is a digital music streaming service that gives you access to millions of songs and podcasts. The role calls `package_install` with the `spotify` id; [`meta/packages.yml`](meta/packages.yml) declares it as an AUR package on Arch Linux and as a deliberate no-op on the Debian and RedHat families, which do not archive the proprietary client. +## Cosmos + +The diagram places Spotify in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-spotify ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_spotify["spotify"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose To automate the installation of Spotify on Arch-based systems. @@ -17,6 +35,51 @@ To automate the installation of Spotify on Arch-based systems. - ๐ŸŽง Installs the official [Spotify AUR package](https://aur.archlinux.org/packages/spotify) - ๐Ÿ›  Resolves the package through the registry id `spotify` in [`meta/packages.yml`](meta/packages.yml) +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Spotify onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-spotify full_cycle=false +``` + +### Production + +Install Spotify directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-spotify +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Requirements - An Arch Linux based system; `package_install` sets up the unprivileged AUR build environment itself. diff --git a/roles/dsk-ssh/README.md b/roles/dsk-ssh/README.md index 950a91edff..bc7adf1e76 100644 --- a/roles/dsk-ssh/README.md +++ b/roles/dsk-ssh/README.md @@ -8,6 +8,26 @@ This role is intended for Manjaro/Arch systems where `gnome-keyring` no longer reliably manages `ssh-agent` due to changes in behavior under Wayland. It works by deploying a `systemd --user` service, making SSH Agent integration predictable and independent of graphical environment quirks. +## Cosmos + +The diagram places SSH Agent in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + dep_dsk_git["dsk-git ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [dsk-ssh ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_ssh["ssh"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base + dep_dsk_git -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the provisioning of SSH agent capabilities and synchronize the `.ssh` directory from a Git repository. This enables users to access private repositories or authenticate with remote servers immediately after login. @@ -19,3 +39,48 @@ The purpose of this role is to automate the provisioning of SSH agent capabiliti - **Ensures environment compatibility** by injecting the `SSH_AUTH_SOCK` variable into either `.bash_profile` or `.profile`. - **Fails gracefully** with an optional debug message if the Git repository is unreachable. - **KeePassXC ready**: Ensures compatibility with password managers that support SSH agent integration. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy SSH Agent onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-ssh full_cycle=false +``` + +### Production + +Install SSH Agent directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-ssh +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-torbrowser/README.md b/roles/dsk-torbrowser/README.md index 74d9d992f0..7a9ca2e6dc 100644 --- a/roles/dsk-torbrowser/README.md +++ b/roles/dsk-torbrowser/README.md @@ -11,13 +11,76 @@ The `dsk-torbrowser` role uses the `community.general.pacman` module to: 1. Install **tor** (the core Tor network service) 2. Install **torbrowser-launcher** (the launcher for Tor Browser) +## Cosmos + +The diagram places Torbrowser in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-torbrowser ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_torbrowser["torbrowser"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features * Idempotent installation of Tor and Tor Browser Launcher * Ensures the Tor service is available for anonymous network traffic * Simplifies first-time setup of Tor Browser +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Torbrowser onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-torbrowser full_cycle=false +``` + +### Production + +Install Torbrowser directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-torbrowser +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources * [Tor Project documentation](https://www.torproject.org/) * [Infinito.Nexus GitHub repository](https://s.infinito.nexus/code) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-virtualbox/README.md b/roles/dsk-virtualbox/README.md index 9da7007d15..5a6507de45 100644 --- a/roles/dsk-virtualbox/README.md +++ b/roles/dsk-virtualbox/README.md @@ -14,6 +14,69 @@ This role installs and configures VirtualBox and its kernel modules on Pacman-based systems, including extension packs and user group setup. +## Cosmos + +The diagram places Virtual Box in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-virtualbox ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_virtualbox["virtualbox"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Virtual Box onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-virtualbox full_cycle=false +``` + +### Production + +Install Virtual Box directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-virtualbox +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/dsk-zoom/README.md b/roles/dsk-zoom/README.md index bf157bc2a1..b2431c7e47 100644 --- a/roles/dsk-zoom/README.md +++ b/roles/dsk-zoom/README.md @@ -8,11 +8,74 @@ This role installs Zoom through `package_install` with the `zoom` id. [`meta/packages.yml`](meta/packages.yml) declares it as an AUR package on Arch Linux and as a deliberate no-op on the Debian and RedHat families, which do not archive the proprietary client. +## Cosmos + +The diagram places Zoom in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_dsk_base["dsk-base ๐Ÿ’ป"] + end + subgraph role [dsk-zoom ๐Ÿ’ป] + svc_desktop_base["desktop-base"] + svc_zoom["zoom"] + end + dep_dsk_base -- "1:1" --> svc_desktop_base +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Zoom onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=dsk-zoom full_cycle=false +``` + +### Production + +Install Zoom directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=dsk-zoom +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [AUR package page for Zoom](https://aur.archlinux.org/packages/zoom) - [AUR package page for Teams](https://aur.archlinux.org/packages?K=teams) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/gen-hunspell/README.md b/roles/gen-hunspell/README.md index 150468cc7c..d68914537a 100644 --- a/roles/gen-hunspell/README.md +++ b/roles/gen-hunspell/README.md @@ -8,10 +8,72 @@ Installs Hunspell and configured language packs on Pacman-based systems for spel This README accompanies the Hunspell Playbook, located within the `infinito` repository. The playbook is focused on installing Hunspell, a widely-used spell checker, along with various language packages to enhance its functionality. +## Cosmos + +The diagram places Hunspell in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [gen-hunspell ๐Ÿ’ป] + svc_hunspell["hunspell"] + end + subgraph dependents [Dependents] + dpt_dsk_libreoffice["dsk-libreoffice ๐Ÿ’ป โš™๏ธ"] + end + svc_hunspell -- "1:1" --> dpt_dsk_libreoffice +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Hunspell onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=gen-hunspell full_cycle=false +``` + +### Production + +Install Hunspell directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=gen-hunspell +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Playbook Contents The `main.yml` file in the `hunspell` role includes two primary tasks: diff --git a/roles/pkgmgr-install/README.md b/roles/pkgmgr-install/README.md index 8c295fda5e..398b7f2744 100644 --- a/roles/pkgmgr-install/README.md +++ b/roles/pkgmgr-install/README.md @@ -8,6 +8,19 @@ This Ansible role installs [Kevin's Package Manager](https://github.com/kevinvee The role abstracts package management operations using `pkgmgr`. It ensures the package manager itself is updated once per run and provides idempotent installation and update routines for specified packages. +## Cosmos + +The diagram places Package Manager Installation in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [pkgmgr-install ๐Ÿ’ป] + svc_pkgmgr_install["pkgmgr-install"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the installation and update process for Infinito.Nexus-related applications or other managed packages using `pkgmgr`. It simplifies package handling and enforces best practices for package deployment in automated environments. @@ -19,6 +32,12 @@ The purpose of this role is to automate the installation and update process for - **Flexible Notification:** Supports handler notification for post-install actions (e.g., Docker Compose builds). - **Optional Privilege Escalation:** Controlled via the `pkgmgr_become` variable (default: `true`). +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Role Variables | Name | Description | Default | diff --git a/roles/pkgmgr/README.md b/roles/pkgmgr/README.md index 267df10e56..a3af209280 100644 --- a/roles/pkgmgr/README.md +++ b/roles/pkgmgr/README.md @@ -13,6 +13,19 @@ This role automates the deployment of Kevin's Package Manager by: It ensures that the Package Manager is ready to manage repositories, perform Git operations, and streamline software management tasks. +## Cosmos + +The diagram places Kevins Package Manager in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [pkgmgr ๐Ÿ’ป] + svc_pkgmgr["pkgmgr"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to simplify the installation of Kevin's Package Manager, reducing manual steps and ensuring a consistent setup across environments. Ideal for developers and system administrators, it helps integrate repository management seamlessly into your automation workflows. @@ -23,3 +36,9 @@ The purpose of this role is to simplify the installation of Kevin's Package Mana - **Executable Setup:** Sets proper permissions on the main script. - **Alias Installation:** Runs the installation command to generate command aliases. - **Configurable Paths:** Allows customization of both the installation and binary directories. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-agent-broker/README.md b/roles/svc-ai-agent-broker/README.md index 7a2ef32b51..10d32069ba 100644 --- a/roles/svc-ai-agent-broker/README.md +++ b/roles/svc-ai-agent-broker/README.md @@ -8,6 +8,38 @@ Agent Broker is an OpenAI-compatible endpoint that gives every entitled user a p This role deploys the broker together with a container-API socket proxy in Compose and Swarm deployments. Open WebUI reaches the broker as a second OpenAI connection and forwards the caller's identity. The broker checks the caller's Keycloak group, creates or starts that caller's agent under the isolating runtime, forwards the request to it and streams the answer back. Agents reach their model only through the broker, which relays each call to the shared LiteLLM gateway with its own key and tags it with the owner. +## Cosmos + +The diagram places Agent Broker in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + dep_web_app_hermes["web-app-hermes ๐Ÿณ๐Ÿ"] + dep_web_app_keycloak["web-app-keycloak ๐Ÿณ๐Ÿ"] + dep_web_app_openclaw["web-app-openclaw ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-ai-agent-broker ๐Ÿณ๐Ÿ] + svc_agent_broker["agent-broker"] + svc_socket_proxy["socket-proxy"] + svc_litellm["litellm"] + svc_sso["sso"] + svc_hermes["hermes"] + svc_openclaw["openclaw"] + end + subgraph dependents [Dependents] + dpt_web_app_openwebui["web-app-openwebui ๐Ÿณ๐Ÿ"] + end + dep_svc_ai_litellm -- "1:1" --> svc_litellm + dep_web_app_hermes -- "1:1" --> svc_hermes + dep_web_app_keycloak -- "1:1" --> svc_sso + dep_web_app_openclaw -- "1:1" --> svc_openclaw + svc_agent_broker -. "0..1" .-> dpt_web_app_openwebui +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Agents on demand:** The first completion of a user for `hermes` or `openclaw` creates that user's agent; later requests reuse it, and a stopped agent is started again with its state volume re-attached. @@ -17,3 +49,48 @@ This role deploys the broker together with a container-API socket proxy in Compo - **Lifecycle settings:** `agents.idle_stop`, `agents.idle_minutes`, `agents.max_running`, `agents.start_timeout` and `agents.access_cache_seconds` in `meta/services.yml` control idle stops, the running-agent bound, the start wait and the membership cache; an inventory overrides them under `applications.svc-ai-agent-broker.services.agent-broker.agents`. An agent serving a request is never swept. - **Model and context:** `agents.model` names the gateway alias every agent runs on and defaults to the gateway's chat model, so agents can run on a larger model than Open WebUI's default. The context window of that alias comes from the model's `context` in the inventory and is written into the agent config as Hermes `model.context_length` and OpenClaw `contextWindow`. An agent prompt runs to tens of thousands of tokens, so a CPU-only local model spends minutes per turn on it; point `agents.model` at a remote model for interactive use. Hermes refuses a window below 64000 tokens and answers HTTP 500 on every prompt, so a platform whose minimum the selected alias misses is not offered at all: it is left out of `/v1/models` and answers 404, and the deploy says which platform it dropped and why. The rest of the broker keeps working, which is what makes a small model and OpenClaw a valid pairing. An alias that declares no window is reported instead of filtered, because an agent that does not know its window runs. - **Model relay:** Agents call `http://agent-broker:/llm/v1` with their own key; the broker forwards the call to LiteLLM with the broker's virtual key, sets the OpenAI `user` field to the owner and logs a JSON `relay` event with owner, platform, path and upstream status. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Agent Broker onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-agent-broker,svc-ai-ollama full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Agent Broker to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-agent-broker,svc-ai-ollama +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-jupyter/README.md b/roles/svc-ai-jupyter/README.md index 8379af924e..c76111afc6 100644 --- a/roles/svc-ai-jupyter/README.md +++ b/roles/svc-ai-jupyter/README.md @@ -10,8 +10,66 @@ The server starts with a token from the deployment's credential store, binds to The role declares no volume: a kernel that executes code a chat wrote gets a fresh filesystem on every restart. A consumer reaches it as `http://jupyter:8888` once it declares `jupyter` in its own `meta/services.yml` with `enabled` and `shared` set. `web-app-openwebui` ships that flag and sends `CODE_EXECUTION_ENGINE=jupyter` with it. +## Cosmos + +The diagram places Jupyter in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-jupyter ๐Ÿณ๐Ÿ] + svc_jupyter["jupyter"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Token protected:** every request carries a token from the credential store; the token is never handed to a browser user. - **Ephemeral:** no volume is mounted, so each restart discards whatever the executed code wrote. - **Internal only:** no published port and no proxy entry, so the kernel is reachable from the container network alone. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Jupyter onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-jupyter full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Jupyter to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-jupyter +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-libretranslate-engine/README.md b/roles/svc-ai-libretranslate-engine/README.md index 5fe7c2dcf5..4548460354 100644 --- a/roles/svc-ai-libretranslate-engine/README.md +++ b/roles/svc-ai-libretranslate-engine/README.md @@ -23,6 +23,23 @@ out, so the image carries the engine and its models and nothing else. - Models arrive lazily, at build time or by a post-deploy task, selected per deployment +## Cosmos + +The diagram places LibreTranslate Engine in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-libretranslate-engine ๐Ÿณ๐Ÿ] + svc_libretranslate_engine["libretranslate-engine"] + end + subgraph dependents [Dependents] + dpt_web_svc_translate["web-svc-translate ๐Ÿณ๐Ÿ"] + end + svc_libretranslate_engine -- "1:1" --> dpt_web_svc_translate +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Configurable container image and version @@ -33,6 +50,51 @@ out, so the image carries the engine and its models and nothing else. - Package-cache CA installed into the build context - Health check over the bundled interpreter +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LibreTranslate Engine onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-libretranslate-engine full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy LibreTranslate Engine to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-libretranslate-engine +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Configuration `meta/services.yml` carries the knobs: diff --git a/roles/svc-ai-litellm/README.md b/roles/svc-ai-litellm/README.md index a7b55378e0..f724c5471a 100644 --- a/roles/svc-ai-litellm/README.md +++ b/roles/svc-ai-litellm/README.md @@ -8,6 +8,61 @@ This role deploys LiteLLM as a shared gateway container in Compose and Swarm deployments, backed by the central PostgreSQL service. The gateway is headless: it binds its HTTP port on the container host and claims no domain of its own, and the browser-facing surface is published separately by the LiteLLM Admin UI. It renders the model list from the interchangeable local backends available on the host, Ollama and LM Studio, and adds the OpenAI, Anthropic and OpenRouter entries whose API key is configured. Once the gateway is up, it provisions one virtual key per consuming application through the gateway admin API. +## Cosmos + +The diagram places LiteLLM Gateway in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_ai_lmstudio["svc-ai-lmstudio ๐Ÿณ๐Ÿ"] + dep_svc_ai_ollama["svc-ai-ollama ๐Ÿณ๐Ÿ"] + dep_svc_ai_s1["svc-ai-s1 ๐Ÿณ๐Ÿ"] + dep_svc_db_postgres["svc-db-postgres ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-ai-litellm ๐Ÿณ๐Ÿ] + svc_litellm["litellm"] + svc_postgres["postgres"] + svc_s1["s1"] + svc_ollama["ollama"] + svc_lmstudio["lmstudio"] + end + subgraph dependents [Dependents] + dpt_dsk_gnt_claude["dsk-gnt-claude ๐Ÿ’ป"] + dpt_dsk_gnt_codex["dsk-gnt-codex ๐Ÿ’ป"] + dpt_dsk_gnt_pi["dsk-gnt-pi ๐Ÿ’ป"] + dpt_svc_ai_agent_broker["svc-ai-agent-broker ๐Ÿณ๐Ÿ"] + dpt_web_app_discourse["web-app-discourse ๐Ÿณ๐Ÿ"] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_hermes["web-app-hermes ๐Ÿณ๐Ÿ"] + dpt_web_app_litellm["web-app-litellm ๐Ÿ’ป"] + dpt_web_app_matrix["web-app-matrix ๐Ÿณ๐Ÿ"] + dpt_web_app_mattermost["web-app-mattermost ๐Ÿณ๐Ÿ"] + dpt_web_app_mediawiki["web-app-mediawiki ๐Ÿณ๐Ÿ"] + dpt_web_app_moodle["web-app-moodle ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_ai_lmstudio -. "0..1" .-> svc_lmstudio + dep_svc_ai_ollama -. "0..1" .-> svc_ollama + dep_svc_ai_s1 -. "0..1" .-> svc_s1 + dep_svc_db_postgres -. "0..1" .-> svc_postgres + svc_litellm -. "0..1" .-> dpt_dsk_gnt_claude + svc_litellm -. "0..1" .-> dpt_dsk_gnt_codex + svc_litellm -. "0..1" .-> dpt_dsk_gnt_pi + svc_litellm -- "1:1" --> dpt_more + svc_litellm -- "1:1" --> dpt_svc_ai_agent_broker + svc_litellm -. "0..1" .-> dpt_web_app_discourse + svc_litellm -. "0..1" .-> dpt_web_app_flowise + svc_litellm -. "0..1" .-> dpt_web_app_hermes + svc_litellm -- "1:1" --> dpt_web_app_litellm + svc_litellm -. "0..1" .-> dpt_web_app_matrix + svc_litellm -. "0..1" .-> dpt_web_app_mattermost + svc_litellm -. "0..1" .-> dpt_web_app_mediawiki + svc_litellm -. "0..1" .-> dpt_web_app_moodle +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **OpenAI-compatible API:** One HTTP endpoint serves every model listed in the gateway configuration. @@ -18,3 +73,48 @@ This role deploys LiteLLM as a shared gateway container in Compose and Swarm dep - **Per-consumer virtual keys:** Each consuming application receives its own virtual key, created through the gateway admin API under an alias naming that application. - **File-based model list:** The model list is mounted as a read-only config file, with database-stored model entries turned off. - **Managed credentials:** The gateway master key and the admin UI password are generated and kept as role credentials, and the admin UI username is the platform administrator name. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LiteLLM Gateway onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-litellm full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy LiteLLM Gateway to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-litellm +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-lmstudio/README.md b/roles/svc-ai-lmstudio/README.md index 4b594f6f8f..f3cc45a8cc 100644 --- a/roles/svc-ai-lmstudio/README.md +++ b/roles/svc-ai-lmstudio/README.md @@ -8,6 +8,28 @@ This role deploys LM Studio as a headless model server in a single container, in both Docker Compose and Docker Swarm deployments. The server listens on port 1234 on the internal container network and is not published through the reverse proxy, while downloaded models and server settings persist in a dedicated volume. The role downloads its declared models at deploy time and the LiteLLM Gateway publishes them under the same aliases Ollama uses, so a consumer asks for one model name and reaches whichever backend the deployment provides. +## Cosmos + +The diagram places LM Studio in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + end + subgraph role [svc-ai-lmstudio ๐Ÿณ๐Ÿ] + svc_lmstudio["lmstudio"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + svc_lmstudio -. "0..1" .-> dpt_svc_ai_litellm +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **OpenAI-compatible endpoint:** The headless server answers `/v1` requests on port 1234 inside the container network. @@ -18,3 +40,48 @@ This role deploys LM Studio as a headless model server in a single container, in - **Gateway backend:** The LiteLLM Gateway publishes those aliases, which are the names Ollama serves too, so the same model name routes to whichever local backend a deployment runs. - **Bounded resources:** The container is capped at 4 CPUs, 8 GB of memory and 2048 processes, and the role declares a minimum of 4 GB free storage for building the image; downloaded models grow the volume beyond that. - **Backup integration:** Backup Docker Volumes snapshots the model volume when that role is present, without stopping the container. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LM Studio onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-lmstudio full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy LM Studio to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-lmstudio +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-ltengine/README.md b/roles/svc-ai-ltengine/README.md index ba9414acfe..0bc4d4950b 100644 --- a/roles/svc-ai-ltengine/README.md +++ b/roles/svc-ai-ltengine/README.md @@ -8,6 +8,24 @@ This role builds LTEngine from the upstream sources at a pinned commit and runs it as an internal engine without a browser surface. The gateway [`web-svc-translate`](../web-svc-translate/) consumes it over the shared overlay network; nothing publishes it to the internet. +## Cosmos + +The diagram places LTEngine in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-ltengine ๐Ÿณ๐Ÿ] + svc_ltengine["ltengine"] + svc_tor["tor โŒ"] + end + subgraph dependents [Dependents] + dpt_web_svc_translate["web-svc-translate ๐Ÿณ๐Ÿ"] + end + svc_ltengine -. "0..1" .-> dpt_web_svc_translate +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **LibreTranslate API:** `POST /translate`, `POST /detect` and `GET /languages` in the published request and response shapes. @@ -15,6 +33,51 @@ This role builds LTEngine from the upstream sources at a pinned commit and runs - **Weights on a volume:** the GGUF file is downloaded once into `ltengine_models` and reused across restarts. - **Built from source:** upstream ships no release image, so the role compiles the pinned commit against its own base images. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy LTEngine onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-ltengine full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy LTEngine to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-ltengine +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Further resources - [LTEngine](https://github.com/LibreTranslate/LTEngine) diff --git a/roles/svc-ai-mcp-adapter/README.md b/roles/svc-ai-mcp-adapter/README.md index 9889c4233a..0790704a97 100644 --- a/roles/svc-ai-mcp-adapter/README.md +++ b/roles/svc-ai-mcp-adapter/README.md @@ -8,6 +8,19 @@ A reusable [Model Context Protocol](https://modelcontextprotocol.io/) adapter, i Several applications have a useful read API but no MCP server, and several projects ship an MCP server that authenticates *to* the application without authenticating the client calling it. Putting either behind this adapter gives the surface a bearer of its own, an exact tool allowlist, and enforced ceilings. The deployment renders one contract per instance, so the same image serves every provider without any of them sharing a credential or a trust boundary. +## Cosmos + +The diagram places MCP Adapter in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-mcp-adapter] + svc_mcp_adapter["mcp-adapter"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Client-facing authentication:** The adapter issues its own bearer. The upstream credential authenticates the adapter to the provider and says nothing about who called the adapter, which is the gap the project-owned MCP sidecars leave open. @@ -18,6 +31,51 @@ Several applications have a useful read API but no MCP server, and several proje - **Fail-closed on drift:** A tool contract whose hash no longer matches its pinned `schema_sha256` refuses to start. - **Redacted audit trail:** Every call emits provider, consumer, tool, credential subject, status, duration and correlation id, and never the arguments, the response body or the credential. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy MCP Adapter onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-mcp-adapter full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy MCP Adapter to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-mcp-adapter +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Contract The deployment renders one `ADAPTER_CONTRACT` JSON document per instance: diff --git a/roles/svc-ai-ollama/README.md b/roles/svc-ai-ollama/README.md index 24e461da45..a7a694e70f 100644 --- a/roles/svc-ai-ollama/README.md +++ b/roles/svc-ai-ollama/README.md @@ -8,6 +8,34 @@ This role deploys Ollama as a local model server using Docker Compose. It integrates with Open WebUI for chat and Flowise for AI workflow automation, and configures local model caching so models can be reused across sessions or run fully offline. +## Cosmos + +The diagram places Ollama in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + end + subgraph role [svc-ai-ollama ๐Ÿณ๐Ÿ] + svc_ollama["ollama"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_minio["web-app-minio ๐Ÿณ๐Ÿ"] + dpt_web_svc_translate["web-svc-translate ๐Ÿณ๐Ÿ"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + svc_ollama -. "0..1" .-> dpt_svc_ai_litellm + svc_ollama -. "0..1" .-> dpt_web_app_flowise + svc_ollama -. "0..1" .-> dpt_web_app_minio + svc_ollama -. "0..1" .-> dpt_web_svc_translate +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Local model execution:** Run popular open models (chat, code, embeddings) on your own hardware. @@ -16,6 +44,51 @@ This role deploys Ollama as a local model server using Docker Compose. It integr - **Integrations:** Works seamlessly with Open WebUI and Flowise. - **Offline support:** Fully offline-capable for air-gapped deployments. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Ollama onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-ollama full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Ollama to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-ollama +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Further resources - [Ollama](https://ollama.com) diff --git a/roles/svc-ai-robot/README.md b/roles/svc-ai-robot/README.md index 511d8e0b2e..cb1bcf9331 100644 --- a/roles/svc-ai-robot/README.md +++ b/roles/svc-ai-robot/README.md @@ -14,6 +14,27 @@ Because that grant is irreversible once the container starts, the checks run ins Which agent embodies the device follows from the deployment itself: whichever of Hermes Agent and OpenClaw is present is the one that runs, and Hermes Agent wins if both are. A device with neither aborts instead of deploying an empty robot. +## Cosmos + +The diagram places Robot Platform in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_web_app_hermes["web-app-hermes ๐Ÿณ๐Ÿ"] + dep_web_app_openclaw["web-app-openclaw ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-ai-robot ๐Ÿ’ป] + svc_robot["robot"] + svc_hermes["hermes"] + svc_openclaw["openclaw"] + end + dep_web_app_hermes -. "0..1" .-> svc_hermes + dep_web_app_openclaw -. "0..1" .-> svc_openclaw +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Blast radius The agent can do anything the granted devices allow. A GPIO or I2C grant means it can drive whatever is wired to those pins; a video grant means it can watch the room; a serial grant means it can talk to whatever sits on the bus. The allowlist is the entire boundary, which is why an empty one is refused and why the device must be dedicated, single-tenant and network-segmented. @@ -25,3 +46,48 @@ The agent can do anything the granted devices allow. A GPIO or I2C grant means i - **Checks precede the grant:** The admission checks run inside the agent role before it deploys, so a refusal prevents the embodied container rather than following it. - **Selectable agent:** Whichever agent role the deployment carries embodies the device, Hermes Agent taking precedence; the matrix deploys both so neither path rots. - **Agent reuse:** The embodied deployment is the agent role itself, so image, configuration and model routing stay identical to the isolated deployments. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Robot Platform onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-robot full_cycle=false +``` + +### Production + +Install Robot Platform directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-ai-robot +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-s1/README.md b/roles/svc-ai-s1/README.md index 3c22facdaf..9c1aec62bd 100644 --- a/roles/svc-ai-s1/README.md +++ b/roles/svc-ai-s1/README.md @@ -10,6 +10,27 @@ Self-hosted System One decision service. It answers typed questions (`choice`, ` `services.s1.flavor` selects which implementation answers that contract. `laya` runs [Laya](https://huggingface.co/convaiinnovations/laya), the default; `torch` and `onnx` run [jeff](https://github.com/logan-markewich/jeff) over a GLiFormer encoder, which is what the role carried before. Neither upstream ships a container image, so the role builds one and bakes the checkpoints into it. Baking keeps the deploy free of a download at container start, which is the failure mode a sibling role's model pull already hit. +## Cosmos + +The diagram places System One in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-s1 ๐Ÿณ๐Ÿ] + svc_s1["s1"] + end + subgraph dependents [Dependents] + dpt_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + dpt_web_svc_s1["web-svc-s1 ๐Ÿ’ป"] + dpt_web_svc_translate["web-svc-translate ๐Ÿณ๐Ÿ"] + end + svc_s1 -. "0..1" .-> dpt_svc_ai_litellm + svc_s1 -- "1:1" --> dpt_web_svc_s1 + svc_s1 -. "0..1" .-> dpt_web_svc_translate +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **One contract, three flavors.** `laya` serves multilingual checkpoints and preloads them at start; `torch` runs the GLiFormer checkpoint as published; `onnx` exports an int8 graph at build time and needs roughly a quarter of the memory. Every flavor answers the same `POST /v1/systemone`, so the gateway does not know which one it asked. @@ -17,6 +38,51 @@ Self-hosted System One decision service. It answers typed questions (`choice`, ` - **Build-time model.** The checkpoint is a cached image layer rather than a download the first container start waits for. - **Bearer authentication.** An empty key list would disable auth, so the role always renders one. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy System One onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-s1 full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy System One to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-s1 +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Settings | Setting | Meaning | diff --git a/roles/svc-ai-searxng/README.md b/roles/svc-ai-searxng/README.md index 80cfbbf4ea..f0b1690b3a 100644 --- a/roles/svc-ai-searxng/README.md +++ b/roles/svc-ai-searxng/README.md @@ -10,8 +10,66 @@ The role renders `settings.yml` from the deployment's own secret key and mounts A consumer reaches it as `http://searxng:8080/search?q=` once it declares `searxng` in its own `meta/services.yml` with `enabled` and `shared` set. `web-app-openwebui` ships that flag and sends `WEB_SEARCH_ENGINE=searxng` with it. +## Cosmos + +The diagram places Searxng in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-searxng ๐Ÿณ๐Ÿ] + svc_searxng["searxng"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **JSON enabled:** the settings add the `json` output format, which upstream ships disabled and which every API client needs. - **Internal only:** no published port, no proxy entry; the limiter is off because the clients are platform services. - **Named state:** the configuration and cache directories the image declares as volumes are pinned to named volumes, so no anonymous volume is left behind. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Searxng onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-searxng full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Searxng to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-searxng +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-ai-tika/README.md b/roles/svc-ai-tika/README.md index b48b62b2d7..0269955adb 100644 --- a/roles/svc-ai-tika/README.md +++ b/roles/svc-ai-tika/README.md @@ -10,8 +10,66 @@ The role runs the `-full` image, which carries the OCR and language packs, and s A consumer reaches it as `http://tika:9998` once it declares `tika` in its own `meta/services.yml` with `enabled` and `shared` set, which is what attaches the consumer to this role's network. `web-app-openwebui` ships that flag and sends `CONTENT_EXTRACTION_ENGINE=tika` with it. +## Cosmos + +The diagram places Tika in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-ai-tika ๐Ÿณ๐Ÿ] + svc_tika["tika"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Internal only:** the server listens on the container network; nothing is published to a host port or a proxy. - **Full extraction set:** the `-full` image ships the OCR and language detection dependencies, so scanned documents are extracted too. - **Shared instance:** one container serves every consumer that carries the service flag. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Tika onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-ai-tika full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Tika to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-ai-tika +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-bkp-local-2-device/README.md b/roles/svc-bkp-local-2-device/README.md index 3484e724ff..fe0b6c7869 100644 --- a/roles/svc-bkp-local-2-device/README.md +++ b/roles/svc-bkp-local-2-device/README.md @@ -10,6 +10,23 @@ The transfer is hard-link deduplicated against the previous snapshot, so each pl This role asserts that the mount, source, and target configuration values are present, deploys the rsync-driver script, and installs a systemd mount unit plus a oneshot service. The oneshot service is triggered automatically when the configured mount path appears, so the only operator action is to physically plug the device in. +## Cosmos + +The diagram places Backup to External Device in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-bkp-local-2-device ๐Ÿ’ป] + svc_local_2_device["local-2-device"] + end + subgraph dependents [Dependents] + dpt_svc_bkp_remote_2_local["svc-bkp-remote-2-local ๐Ÿ’ป"] + end + svc_local_2_device -. "0..1" .-> dpt_svc_bkp_remote_2_local +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Schema ```mermaid @@ -33,6 +50,51 @@ flowchart TD - **Configuration-asserted:** missing mount/source/target values fail the deploy early, before any partial state lands. - **Idempotent:** repeated plug-ins re-use existing snapshots and only sync deltas. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Backup to External Device onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-bkp-local-2-device full_cycle=false +``` + +### Production + +Install Backup to External Device directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-bkp-local-2-device +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Recover Run `files/python/recover.py` on the host with the backup device attached: diff --git a/roles/svc-bkp-nfs-2-local/README.md b/roles/svc-bkp-nfs-2-local/README.md index 59d2cdc056..e0f1cf1381 100644 --- a/roles/svc-bkp-nfs-2-local/README.md +++ b/roles/svc-bkp-nfs-2-local/README.md @@ -11,6 +11,30 @@ This role installs the backup script and the systemd service that drives it on t The source path is the NFS export base resolved from the [svc-storage-nfs-server](../svc-storage-nfs-server/) services SPOT; deploy the role on the host that serves the export. Deploy [sys-ctl-cln-bkps](../sys-ctl-cln-bkps/) to keep the snapshot tree bounded and [user-backup](../user-backup/) so downstream hosts can pull the tree. +## Cosmos + +The diagram places Backup NFS in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_storage_nfs_server["svc-storage-nfs-server ๐Ÿ’ป"] + dep_sys_ctl_cln_faild_bkps["sys-ctl-cln-faild-bkps ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-bkp-nfs-2-local ๐Ÿ’ป] + svc_nfs_server["nfs-server"] + svc_nfs_2_local["nfs-2-local"] + end + subgraph dependents [Dependents] + dpt_svc_storage_nfs_server["svc-storage-nfs-server ๐Ÿ’ป"] + end + dep_svc_storage_nfs_server -. "0..1" .-> svc_nfs_server + dep_sys_ctl_cln_faild_bkps -- "1:1" --> svc_nfs_2_local + svc_nfs_2_local -. "0..1" .-> dpt_svc_storage_nfs_server +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Schema ```mermaid @@ -33,6 +57,51 @@ flowchart TD - **Baudolo-compatible layout:** snapshots land in the same `//` tree as the container backups, so pull and cleanup tooling applies unchanged. - **Schedule-coordinated:** the systemd unit is part of the global manipulation group, so it never races backup/cleanup/repair jobs on the same host. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Backup NFS onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-bkp-nfs-2-local full_cycle=false +``` + +### Production + +Install Backup NFS directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-bkp-nfs-2-local +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Recover Run `files/python/recover.py` on the host that serves the NFS export: diff --git a/roles/svc-bkp-remote-2-local/README.md b/roles/svc-bkp-remote-2-local/README.md index 540d91a909..b495dd81fe 100644 --- a/roles/svc-bkp-remote-2-local/README.md +++ b/roles/svc-bkp-remote-2-local/README.md @@ -10,6 +10,26 @@ The receiving side is the trust anchor: each retrieval is a discrete snapshot, h This role deploys the Python pull script that talks to each remote provider, installs the systemd service that drives it on the configured schedule (`SYS_SCHEDULE_BACKUP_REMOTE_TO_LOCAL`), and serialises the run against the rest of the manipulation group via `sys-lock`. The remote side must expose a chrooted SSH/SFTP endpoint that publishes its backup tree: deploy [user-backup](../user-backup/) for the chrooted pull account and [sys-ctl-cln-bkps](../sys-ctl-cln-bkps/) to keep the published tree bounded. +## Cosmos + +The diagram places Backup Remote Server in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_local_2_device["svc-bkp-local-2-device ๐Ÿ’ป"] + dep_sys_ctl_cln_faild_bkps["sys-ctl-cln-faild-bkps ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-bkp-remote-2-local ๐Ÿ’ป] + svc_remote_2_local["remote-2-local"] + svc_local_2_device["local-2-device"] + end + dep_svc_bkp_local_2_device -. "0..1" .-> svc_local_2_device + dep_sys_ctl_cln_faild_bkps -- "1:1" --> svc_remote_2_local +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Schema ```mermaid @@ -32,6 +52,45 @@ flowchart TD - **Snapshot-aware:** rsync `--link-dest` against the previous local snapshot deduplicates unchanged files. - **Schedule-coordinated:** the systemd unit is part of the global manipulation group, so it never races backup/cleanup/repair jobs on the same host. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Backup Remote Server onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-bkp-remote-2-local full_cycle=false +``` + +### Production + +Install Backup Remote Server directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-bkp-remote-2-local +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Recover This role's direction is one-way by design (`files/python/recover.py.nocheck`): it pulls provider backups onto this host, so the pulled tree under `////` IS the recovery store and there is no live target here to restore into. @@ -41,3 +100,9 @@ To recover a source system, transfer the wanted generation to it (the provider's ## Further Resources - [How I backup dedicated root servers](https://blog.veen.world/2020/12/26/how-i-backup-dedicated-root-servers/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-bkp-secrets-2-local/README.md b/roles/svc-bkp-secrets-2-local/README.md index 656312d62b..7d37bd569a 100644 --- a/roles/svc-bkp-secrets-2-local/README.md +++ b/roles/svc-bkp-secrets-2-local/README.md @@ -20,6 +20,27 @@ self-signed mode). The generation joins the same backup tree the pull and device roles consume, so it flows to the backup host and the encrypted device automatically. +## Cosmos + +The diagram places Backup Host Secrets in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_sys_ctl_cln_faild_bkps["sys-ctl-cln-faild-bkps ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-bkp-secrets-2-local ๐Ÿ’ป] + svc_secrets_2_local["secrets-2-local"] + end + subgraph dependents [Dependents] + dpt_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + end + dep_sys_ctl_cln_faild_bkps -- "1:1" --> svc_secrets_2_local + svc_secrets_2_local -- "1:1" --> dpt_svc_bkp_volume_2_local +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Schema ```mermaid @@ -47,6 +68,51 @@ flowchart TD so `svc-bkp-remote-2-local` pulls it and `svc-bkp-local-2-device` mirrors it onto the encrypted device without extra wiring. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Backup Host Secrets onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-bkp-secrets-2-local full_cycle=false +``` + +### Production + +Install Backup Host Secrets directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-bkp-secrets-2-local +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Recover Run `files/python/recover.py` on the target host: diff --git a/roles/svc-bkp-volume-2-local/README.md b/roles/svc-bkp-volume-2-local/README.md index 9179add82e..215a3fbcd1 100644 --- a/roles/svc-bkp-volume-2-local/README.md +++ b/roles/svc-bkp-volume-2-local/README.md @@ -10,6 +10,55 @@ File payloads are captured with rsync hard-link snapshots; databases register th This role installs the `baudolo` CLI, lays out the on-host backup tree, deploys the systemd service that drives the periodic run, and wires the cleanup-of-failed-backups dependency so partial snapshots are not retained. Database seeding for individual apps is contributed by the consumer roles via `tasks/03_seed-database-to-backup.yml`, which they include conditionally once `svc-bkp-volume-2-local` is in `group_names`. +## Cosmos + +The diagram places Backup Docker Volumes in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_secrets_2_local["svc-bkp-secrets-2-local ๐Ÿ’ป"] + dep_sys_ctl_cln_faild_bkps["sys-ctl-cln-faild-bkps ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-bkp-volume-2-local ๐Ÿ’ป] + svc_volume_2_local["volume-2-local"] + svc_test["test โŒ"] + svc_secrets_backup["secrets_backup"] + end + subgraph dependents [Dependents] + dpt_svc_ai_lmstudio["svc-ai-lmstudio ๐Ÿณ๐Ÿ"] + dpt_svc_ai_ollama["svc-ai-ollama ๐Ÿณ๐Ÿ"] + dpt_svc_cache_package["svc-cache-package ๐Ÿณ"] + dpt_svc_db_elasticsearch["svc-db-elasticsearch ๐Ÿณ๐Ÿ"] + dpt_svc_db_mariadb["svc-db-mariadb ๐Ÿณ๐Ÿ"] + dpt_svc_db_openldap["svc-db-openldap ๐Ÿณ๐Ÿ"] + dpt_svc_db_postgres["svc-db-postgres ๐Ÿณ๐Ÿ"] + dpt_svc_db_qdrant["svc-db-qdrant ๐Ÿณ๐Ÿ"] + dpt_svc_db_rabbitmq["svc-db-rabbitmq ๐Ÿณ๐Ÿ"] + dpt_svc_db_redis["svc-db-redis ๐Ÿณ๐Ÿ"] + dpt_svc_db_typesense["svc-db-typesense ๐Ÿณ๐Ÿ"] + dpt_svc_dns_unbound["svc-dns-unbound ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_bkp_secrets_2_local -- "1:1" --> svc_secrets_backup + dep_sys_ctl_cln_faild_bkps -- "1:1" --> svc_volume_2_local + svc_volume_2_local -- "1:1" --> dpt_more + svc_volume_2_local -. "0..1" .-> dpt_svc_ai_lmstudio + svc_volume_2_local -. "0..1" .-> dpt_svc_ai_ollama + svc_volume_2_local -- "1:1" --> dpt_svc_cache_package + svc_volume_2_local -. "0..1" .-> dpt_svc_db_elasticsearch + svc_volume_2_local -. "0..1" .-> dpt_svc_db_mariadb + svc_volume_2_local -. "0..1" .-> dpt_svc_db_openldap + svc_volume_2_local -. "0..1" .-> dpt_svc_db_postgres + svc_volume_2_local -. "0..1" .-> dpt_svc_db_qdrant + svc_volume_2_local -. "0..1" .-> dpt_svc_db_rabbitmq + svc_volume_2_local -- "1:1" --> dpt_svc_db_redis + svc_volume_2_local -. "0..1" .-> dpt_svc_db_typesense + svc_volume_2_local -- "1:1" --> dpt_svc_dns_unbound +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Schema How an NFS-backed volume is captured exactly once and restored only through @@ -43,6 +92,51 @@ flowchart TD - **Systemd-driven:** a generated unit fires on the configured schedule (`SYS_SCHEDULE_BACKUP_CONTAINER_TO_LOCAL`), serialised against other backup/cleanup/repair groups by `sys-lock`. - **Self-cleaning:** failed backup attempts are torn down by `sys-ctl-cln-faild-bkps` so a broken run cannot poison the next. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Backup Docker Volumes onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-bkp-volume-2-local full_cycle=false +``` + +### Production + +Install Backup Docker Volumes directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-bkp-volume-2-local +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Filesystem snapshots `services.volume-2-local.snapshot_mode` (declared in `meta/services.yml`, overridable diff --git a/roles/svc-cache-package/README.md b/roles/svc-cache-package/README.md index 9d2c0ec9ca..d94efa5cf7 100644 --- a/roles/svc-cache-package/README.md +++ b/roles/svc-cache-package/README.md @@ -12,9 +12,76 @@ The role deploys two containers on its inventory group's host: the repository ma `compose.cache-consumer.yml.j2`, `apt.list.j2`, `npmrc.j2` and `pip.conf.j2` under `templates/`, and the shell scripts under `files/`, belong to the development compose stack, which drives them through [render.py](../../utils/cache/render.py) and [compose.py](../../cli/administration/deploy/development/compose.py). The Ansible deployment reads none of them. +## Cosmos + +The diagram places Package cache in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_swarm_node["svc-swarm-node ๐Ÿ’ป"] + end + subgraph role [svc-cache-package ๐Ÿณ] + svc_node["node"] + svc_package["package"] + svc_frontend["frontend"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup + dep_svc_swarm_node -- "1:1" --> svc_node +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Declaration driven:** Every proxied repository and every answered hostname comes from the `cache:` declarations, collected by the `cache_upstreams` and `cache_repos` lookups. A new upstream is added by declaring it there. - **Mirror failover:** A repository that declares a mirror is served through a guarded location: a 5xx from its primary remote re-runs the same path against the sibling repository, while a 404 is passed straight back. - **Persistent store:** Proxied artefacts live in a named volume, so a redeploy reuses what earlier runs already pulled. - **Backup free:** The volume is backup-disabled and its backup consumer stays off; every artefact in it is re-fetchable from its upstream. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Package cache onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-cache-package full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Package cache to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-cache-package +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-elasticsearch/README.md b/roles/svc-db-elasticsearch/README.md index be5a212742..7cec1e0f6d 100644 --- a/roles/svc-db-elasticsearch/README.md +++ b/roles/svc-db-elasticsearch/README.md @@ -12,6 +12,27 @@ Built for environments that demand reliability and ease of management, this role - Deploys a single-node Elasticsearch container with minimal security and automated healthchecks. - Automates per-consumer provisioning (index-scoped role, user, and namespace) to streamline your workflows. +## Cosmos + +The diagram places Elasticsearch in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-elasticsearch ๐Ÿณ๐Ÿ] + svc_elasticsearch["elasticsearch"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide an effortless way to deploy a central Elasticsearch engine via Docker so that application roles stay stateless, unpinned and NFS-shareable in swarm while the engine keeps its on-disk index state node-local. See [docs/architecture/central-engines.md](../../docs/architecture/central-engines.md). @@ -22,3 +43,48 @@ The purpose of this role is to provide an effortless way to deploy a central Ela - **Per-Consumer Isolation:** Each consumer gets a role and user scoped to its own `-*` index namespace. - **Enhanced Security:** The service is bound to `127.0.0.1:9200`, restricting access and enhancing security. - **Seamless Docker Integration:** Works harmoniously with Docker Compose and other roles in your infrastructure. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Elasticsearch onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-elasticsearch full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Elasticsearch to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-elasticsearch +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-mariadb/README.md b/roles/svc-db-mariadb/README.md index b8b9337a0d..6f4847a73f 100644 --- a/roles/svc-db-mariadb/README.md +++ b/roles/svc-db-mariadb/README.md @@ -8,6 +8,55 @@ The Docker MariaDB Role offers an easy and efficient way to deploy a MariaDB ser This Ansible role facilitates the deployment of a MariaDB server using Docker. It is designed to ensure ease of installation and configuration, with the flexibility to adapt to different environments. +## Cosmos + +The diagram places MariaDB in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-mariadb ๐Ÿณ๐Ÿ] + svc_mariadb["mariadb"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_web_app_akaunting["web-app-akaunting ๐Ÿณ๐Ÿ"] + dpt_web_app_erpnext["web-app-erpnext ๐Ÿณ๐Ÿ"] + dpt_web_app_espocrm["web-app-espocrm ๐Ÿณ๐Ÿ"] + dpt_web_app_friendica["web-app-friendica ๐Ÿณ๐Ÿ"] + dpt_web_app_gitea["web-app-gitea ๐Ÿณ๐Ÿ"] + dpt_web_app_joomla["web-app-joomla ๐Ÿณ๐Ÿ"] + dpt_web_app_mailu["web-app-mailu ๐Ÿณ๐Ÿ"] + dpt_web_app_matomo["web-app-matomo ๐Ÿณ๐Ÿ"] + dpt_web_app_mediawiki["web-app-mediawiki ๐Ÿณ๐Ÿ"] + dpt_web_app_moodle["web-app-moodle ๐Ÿณ๐Ÿ"] + dpt_web_app_nextcloud["web-app-nextcloud ๐Ÿณ๐Ÿ"] + dpt_web_app_phpmyadmin["web-app-phpmyadmin ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_mariadb -- "1:1" --> dpt_more + svc_mariadb -. "0..1" .-> dpt_web_app_akaunting + svc_mariadb -. "0..1" .-> dpt_web_app_erpnext + svc_mariadb -. "0..1" .-> dpt_web_app_espocrm + svc_mariadb -. "0..1" .-> dpt_web_app_friendica + svc_mariadb -. "0..1" .-> dpt_web_app_gitea + svc_mariadb -. "0..1" .-> dpt_web_app_joomla + svc_mariadb -. "0..1" .-> dpt_web_app_mailu + svc_mariadb -. "0..1" .-> dpt_web_app_matomo + svc_mariadb -. "0..1" .-> dpt_web_app_mediawiki + svc_mariadb -. "0..1" .-> dpt_web_app_moodle + svc_mariadb -. "0..1" .-> dpt_web_app_nextcloud + svc_mariadb -. "0..1" .-> dpt_web_app_phpmyadmin +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Dockerized MariaDB**: Leverages Docker for MariaDB deployment, ensuring consistency across different environments. @@ -16,6 +65,45 @@ This Ansible role facilitates the deployment of a MariaDB server using Docker. I - **Idempotent Design**: Ensures that repeat runs of the playbook do not result in unwanted changes. - **Security Focused**: Implements best practices for securing the MariaDB root password. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy MariaDB onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-mariadb full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy MariaDB to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-mariadb +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## Prerequisites Before using this role, ensure you have the following: @@ -40,3 +128,9 @@ Contributions to this project are welcome. Please submit issues and pull request ## Further Resources - [Reset Password for MariaDB/MySQL in Docker](https://wolfgang.gassler.org/reset-password-mariadb-mysql-docker/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-memcached/README.md b/roles/svc-db-memcached/README.md index b626ee348c..3a6796a2fe 100644 --- a/roles/svc-db-memcached/README.md +++ b/roles/svc-db-memcached/README.md @@ -12,6 +12,28 @@ Built as one of the central engine roles described in `docs/architecture/central - Waits until the container is running and the engine answers the `version` handshake. - Ships an embedded sidecar snippet (`templates/service.yml.j2`) for the `shared: false` opt-out path. +## Cosmos + +The diagram places Memcached in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-memcached ๐Ÿณ๐Ÿ] + svc_memcached["memcached"] + svc_tor["tor"] + end + subgraph dependents [Dependents] + dpt_web_app_zammad["web-app-zammad ๐Ÿณ๐Ÿ"] + end + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_memcached -. "0..1" .-> dpt_web_app_zammad +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Per-consumer isolation Memcached has no native auth or namespace. Consumer isolation is key-prefix only and is resolved by `lookup('engine', 'memcached', consumer_id)` at consume time, so `tasks/01_init.yml` is a no-op. @@ -22,8 +44,53 @@ Memcached has no native auth or namespace. Consumer isolation is key-prefix only - **Central or embedded:** Same `shared` toggle as the central databases. - **Readiness gating:** Bootstrap blocks until the engine accepts connections. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Memcached onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-memcached full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Memcached to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-memcached +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## Further Resources - [Official Memcached Docker image on Docker Hub](https://hub.docker.com/_/memcached) - [Memcached official documentation](https://memcached.org/) - [Docker Compose reference](https://docs.docker.com/compose/compose-file/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-openldap/README.md b/roles/svc-db-openldap/README.md index c3af65c74d..41affc7a56 100644 --- a/roles/svc-db-openldap/README.md +++ b/roles/svc-db-openldap/README.md @@ -8,6 +8,56 @@ Unleash the potential of centralized identity management with [OpenLDAP](https:/ Deploy OpenLDAP in a Docker environment with support for TLS-secured communication via an NGINX stream proxy. OpenLDAP offers advanced directory management capabilities, including flexible schema definitions, dynamic configuration overlays, and comprehensive query support with LDAP search utilities. +## Cosmos + +The diagram places OpenLDAP in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-openldap ๐Ÿณ๐Ÿ] + svc_openldap["openldap"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_web_app_akaunting["web-app-akaunting ๐Ÿณ๐Ÿ"] + dpt_web_app_bigbluebutton["web-app-bigbluebutton ๐Ÿณ๐Ÿ"] + dpt_web_app_bluesky["web-app-bluesky ๐Ÿณ๐Ÿ"] + dpt_web_app_checkmk["web-app-checkmk ๐Ÿณ๐Ÿ"] + dpt_web_app_discourse["web-app-discourse ๐Ÿณ๐Ÿ"] + dpt_web_app_erpnext["web-app-erpnext ๐Ÿณ๐Ÿ"] + dpt_web_app_espocrm["web-app-espocrm ๐Ÿณ๐Ÿ"] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_friendica["web-app-friendica ๐Ÿณ๐Ÿ"] + dpt_web_app_funkwhale["web-app-funkwhale ๐Ÿณ๐Ÿ"] + dpt_web_app_fusiondirectory["web-app-fusiondirectory ๐Ÿณ๐Ÿ"] + dpt_web_app_gitea["web-app-gitea ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_openldap -- "1:1" --> dpt_more + svc_openldap -- "0..0" --> dpt_web_app_akaunting + svc_openldap -- "1:1" --> dpt_web_app_bigbluebutton + svc_openldap -- "0..0" --> dpt_web_app_bluesky + svc_openldap -. "0..1" .-> dpt_web_app_checkmk + svc_openldap -- "0..0" --> dpt_web_app_discourse + svc_openldap -. "0..1" .-> dpt_web_app_erpnext + svc_openldap -. "0..1" .-> dpt_web_app_espocrm + svc_openldap -- "0..0" --> dpt_web_app_flowise + svc_openldap -. "0..1" .-> dpt_web_app_friendica + svc_openldap -. "0..1" .-> dpt_web_app_funkwhale + svc_openldap -- "1:1" --> dpt_web_app_fusiondirectory + svc_openldap -. "0..1" .-> dpt_web_app_gitea + linkStyle 3,5,7,10 stroke:red; +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Centralized Identity Management:** Maintain a unified repository for all users and groups with robust organizational structures. @@ -17,6 +67,45 @@ Deploy OpenLDAP in a Docker environment with support for TLS-secured communicati - **Comprehensive Query Capabilities:** Utilize LDAP search tools to efficiently query and manage directory data. - **High Performance and Scalability:** Designed to handle large-scale deployments with rapid lookup and authentication response times. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy OpenLDAP onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-openldap full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy OpenLDAP to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-openldap +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## User Password Update Policy By default, LDAP user passwords are updated on every deployment run. @@ -42,3 +131,9 @@ For the LDAP variable tree, DN layout, attribute SPOT, and the rules for pairing - [phpLDAPadmin Documentation](https://github.com/leenooks/phpLDAPadmin/wiki/Docker-Container) - [LDAP Account Manager](https://github.com/LDAPAccountManager/docker) - [RBAC Wikipedia](https://de.wikipedia.org/wiki/Role_Based_Access_Control) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-postgres/README.md b/roles/svc-db-postgres/README.md index eb209896e2..08f193c498 100644 --- a/roles/svc-db-postgres/README.md +++ b/roles/svc-db-postgres/README.md @@ -12,6 +12,55 @@ Built for environments that demand reliability and ease of management, this role - Deploys a PostgreSQL container with secure configurations and automated healthchecks. - Automates tasks like database creation, user setup, and privilege assignments to streamline your workflows. +## Cosmos + +The diagram places PostgreSQL in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-postgres ๐Ÿณ๐Ÿ] + svc_postgres["postgres"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_svc_ai_litellm["svc-ai-litellm ๐Ÿณ๐Ÿ"] + dpt_web_app_baserow["web-app-baserow ๐Ÿณ๐Ÿ"] + dpt_web_app_bookwyrm["web-app-bookwyrm ๐Ÿณ๐Ÿ"] + dpt_web_app_chess["web-app-chess ๐Ÿณ๐Ÿ"] + dpt_web_app_confluence["web-app-confluence ๐Ÿณ๐Ÿ"] + dpt_web_app_decidim["web-app-decidim ๐Ÿณ๐Ÿ"] + dpt_web_app_discourse["web-app-discourse ๐Ÿณ๐Ÿ"] + dpt_web_app_fider["web-app-fider ๐Ÿณ๐Ÿ"] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_funkwhale["web-app-funkwhale ๐Ÿณ๐Ÿ"] + dpt_web_app_gitlab["web-app-gitlab ๐Ÿณ๐Ÿ"] + dpt_web_app_jira["web-app-jira ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_postgres -- "1:1" --> dpt_more + svc_postgres -. "0..1" .-> dpt_svc_ai_litellm + svc_postgres -. "0..1" .-> dpt_web_app_baserow + svc_postgres -. "0..1" .-> dpt_web_app_bookwyrm + svc_postgres -. "0..1" .-> dpt_web_app_chess + svc_postgres -. "0..1" .-> dpt_web_app_confluence + svc_postgres -. "0..1" .-> dpt_web_app_decidim + svc_postgres -. "0..1" .-> dpt_web_app_discourse + svc_postgres -. "0..1" .-> dpt_web_app_fider + svc_postgres -. "0..1" .-> dpt_web_app_flowise + svc_postgres -. "0..1" .-> dpt_web_app_funkwhale + svc_postgres -. "0..1" .-> dpt_web_app_gitlab + svc_postgres -. "0..1" .-> dpt_web_app_jira +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide an effortless way to deploy a PostgreSQL database via Docker. It minimizes manual interventions while ensuring that your database is configured securely and reliably for both production and development scenarios. @@ -22,3 +71,48 @@ The purpose of this role is to provide an effortless way to deploy a PostgreSQL - **Robust Administration:** Automatically creates databases, users, and assigns privileges. - **Enhanced Security:** The service is bound to `127.0.0.1:5432`, restricting access and enhancing security. - **Seamless Docker Integration:** Works harmoniously with Docker Compose and other roles in your infrastructure. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy PostgreSQL onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-postgres full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy PostgreSQL to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-postgres +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-qdrant/README.md b/roles/svc-db-qdrant/README.md index 868438f694..801bb2a3d4 100644 --- a/roles/svc-db-qdrant/README.md +++ b/roles/svc-db-qdrant/README.md @@ -12,6 +12,46 @@ Built for environments that demand reliability and ease of management, this role - Deploys a Qdrant container with secure configurations and an HTTP readiness healthcheck. - Provides a connection lookup (`engine`) so consumers resolve the central instance and their own per-consumer collection prefix. +## Cosmos + +The diagram places Qdrant in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + dep_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dep_web_app_hermes["web-app-hermes ๐Ÿณ๐Ÿ"] + dep_web_app_openclaw["web-app-openclaw ๐Ÿณ๐Ÿ"] + dep_web_app_openwebui["web-app-openwebui ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-qdrant ๐Ÿณ๐Ÿ] + svc_qdrant["qdrant"] + svc_qdrantmcp["qdrantmcp"] + svc_tor["tor"] + svc_container_backup["container_backup"] + svc_openwebui["openwebui"] + svc_hermes["hermes"] + svc_openclaw["openclaw"] + svc_flowise["flowise"] + end + subgraph dependents [Dependents] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_openwebui["web-app-openwebui ๐Ÿณ๐Ÿ"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + dep_web_app_flowise -. "0..1" .-> svc_flowise + dep_web_app_hermes -. "0..1" .-> svc_hermes + dep_web_app_openclaw -. "0..1" .-> svc_openclaw + dep_web_app_openwebui -. "0..1" .-> svc_openwebui + svc_qdrant -. "0..1" .-> dpt_web_app_flowise + svc_qdrant -. "0..1" .-> dpt_web_app_openwebui +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide an effortless way to deploy a Qdrant vector database via Docker. It minimizes manual interventions while ensuring that the engine is configured securely and reliably for both production and development scenarios. @@ -23,3 +63,48 @@ The purpose of this role is to provide an effortless way to deploy a Qdrant vect - **Per-Consumer Isolation:** OSS Qdrant has no per-user auth; each consumer is isolated by the collection-name prefix `{entity}_`. - **Enhanced Security:** The service is bound to `127.0.0.1:6333`, restricting access and enhancing security. - **Seamless Docker Integration:** Works harmoniously with Docker Compose and other roles in your infrastructure. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Qdrant onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-qdrant full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Qdrant to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-qdrant +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-rabbitmq/README.md b/roles/svc-db-rabbitmq/README.md index b2e419bc57..745df2225a 100644 --- a/roles/svc-db-rabbitmq/README.md +++ b/roles/svc-db-rabbitmq/README.md @@ -14,6 +14,27 @@ The central stack (`templates/compose.yml.j2`) runs the `rabbitmq` image with: Per-consumer provisioning (`tasks/01_init.yml`) runs with `application_id=svc-db-rabbitmq` and `database_consumer_id=`; it resolves the consumer's vhost name, username and password via `lookup('engine', 'rabbitmq', , ...)` and reconciles an idempotent vhost, user and `set_permissions` grant scoped to that vhost. Existing vhosts and users are skipped, and the consumer password is realigned with the inventory on every deploy. +## Cosmos + +The diagram places RabbitMQ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-rabbitmq ๐Ÿณ๐Ÿ] + svc_rabbitmq["rabbitmq"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Central broker** one shared RabbitMQ stack consumed by many roles. @@ -22,8 +43,53 @@ Per-consumer provisioning (`tasks/01_init.yml`) runs with `application_id=svc-db - **Idempotent provisioning** vhosts, users and permissions reconciled on every deploy via `rabbitmqctl`. - **Built-in healthcheck** `rabbitmq-diagnostics ping`. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy RabbitMQ onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-rabbitmq full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy RabbitMQ to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-rabbitmq +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## Further Resources - [Official RabbitMQ Docker image on Docker Hub](https://hub.docker.com/_/rabbitmq) - [rabbitmqctl management documentation](https://www.rabbitmq.com/docs/cli) - [Docker Compose reference](https://docs.docker.com/compose/compose-file/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-redis/README.md b/roles/svc-db-redis/README.md index 92a301175d..bc56fcb070 100644 --- a/roles/svc-db-redis/README.md +++ b/roles/svc-db-redis/README.md @@ -20,6 +20,55 @@ Per-consumer provisioning (`tasks/01_init.yml`) runs with `application_id=svc-db The embedded snippet (`templates/service.yml.j2`) keeps the previous single-host behaviour: an unauthenticated in-memory Redis attached to the consumer stack's default network. +## Cosmos + +The diagram places Redis in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-redis ๐Ÿณ๐Ÿ] + svc_redis["redis"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_web_app_akaunting["web-app-akaunting ๐Ÿณ๐Ÿ"] + dpt_web_app_baserow["web-app-baserow ๐Ÿณ๐Ÿ"] + dpt_web_app_bookwyrm["web-app-bookwyrm ๐Ÿณ๐Ÿ"] + dpt_web_app_decidim["web-app-decidim ๐Ÿณ๐Ÿ"] + dpt_web_app_discourse["web-app-discourse ๐Ÿณ๐Ÿ"] + dpt_web_app_erpnext["web-app-erpnext ๐Ÿณ๐Ÿ"] + dpt_web_app_fider["web-app-fider ๐Ÿณ๐Ÿ"] + dpt_web_app_flowise["web-app-flowise ๐Ÿณ๐Ÿ"] + dpt_web_app_funkwhale["web-app-funkwhale ๐Ÿณ๐Ÿ"] + dpt_web_app_gitea["web-app-gitea ๐Ÿณ๐Ÿ"] + dpt_web_app_gitlab["web-app-gitlab ๐Ÿณ๐Ÿ"] + dpt_web_app_magento["web-app-magento ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_redis -- "1:1" --> dpt_more + svc_redis -. "0..1" .-> dpt_web_app_akaunting + svc_redis -. "0..1" .-> dpt_web_app_baserow + svc_redis -. "0..1" .-> dpt_web_app_bookwyrm + svc_redis -. "0..1" .-> dpt_web_app_decidim + svc_redis -. "0..1" .-> dpt_web_app_discourse + svc_redis -. "0..1" .-> dpt_web_app_erpnext + svc_redis -. "0..1" .-> dpt_web_app_fider + svc_redis -. "0..1" .-> dpt_web_app_flowise + svc_redis -. "0..1" .-> dpt_web_app_funkwhale + svc_redis -. "0..1" .-> dpt_web_app_gitea + svc_redis -. "0..1" .-> dpt_web_app_gitlab + svc_redis -. "0..1" .-> dpt_web_app_magento +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Central or embedded** selected per consumer via `services.redis.shared`. @@ -28,8 +77,53 @@ The embedded snippet (`templates/service.yml.j2`) keeps the previous single-host - **Manager-pinned** central on-disk state stays node-local (never on NFS) in swarm. - **Built-in healthcheck** authenticated `redis-cli ping`. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Redis onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-redis full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Redis to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-redis +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## Further Resources - [Official Redis Docker image on Docker Hub](https://hub.docker.com/_/redis) - [Redis ACL documentation](https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/) - [Docker Compose reference](https://docs.docker.com/compose/compose-file/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-db-typesense/README.md b/roles/svc-db-typesense/README.md index be11565cc6..1dab6b2067 100644 --- a/roles/svc-db-typesense/README.md +++ b/roles/svc-db-typesense/README.md @@ -12,6 +12,31 @@ Built for environments that demand reliability and ease of management, this role - Deploys a Typesense container with healthchecks and a bootstrap admin API key. - Provisions a per-consumer scoped API key (limited to collections prefixed `_`) over the Typesense `/keys` API, idempotently. +## Cosmos + +The diagram places Typesense in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-db-typesense ๐Ÿณ๐Ÿ] + svc_typesense["typesense"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + subgraph dependents [Dependents] + dpt_web_app_funkwhale["web-app-funkwhale ๐Ÿณ๐Ÿ"] + end + dep_svc_bkp_volume_2_local -. "0..1" .-> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor + svc_typesense -. "0..1" .-> dpt_web_app_funkwhale +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide an effortless way to run a shared Typesense engine via Docker while giving each consumer its own isolated, scoped credential. It minimizes manual interventions while keeping engine on-disk state node-local (it cannot live on NFS). @@ -22,3 +47,48 @@ The purpose of this role is to provide an effortless way to run a shared Typesen - **Per-Consumer Isolation:** Issues a scoped API key per consumer, restricted to its own collection namespace. - **Enhanced Security:** The service is bound to `127.0.0.1:8108`, restricting access and enhancing security. - **Seamless Docker Integration:** Works harmoniously with Docker Compose and other roles in your infrastructure. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Typesense onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-db-typesense full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Typesense to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-db-typesense +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-dns-unbound/README.md b/roles/svc-dns-unbound/README.md index 535bc93f0f..441da03be5 100644 --- a/roles/svc-dns-unbound/README.md +++ b/roles/svc-dns-unbound/README.md @@ -12,6 +12,24 @@ Built as a central engine (mirroring `svc-db-postgres`), this role: - Deploys an Unbound container at a static IP on that network. - Waits until the resolver answers before consumers are wired to it. +## Cosmos + +The diagram places Unbound in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + end + subgraph role [svc-dns-unbound ๐Ÿณ๐Ÿ] + svc_unbound["unbound"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to externalise the static-IP DNS resolver out of large multi-service stacks (such as mail) into a single-service stack. Keeping the static-IP allocation in a trivial 1-service / 1-network stack avoids the swarm VIP-allocation deadlock that a 13-service / 4-network stack triggers, and lets consumer roles stay stateless and unpinned. @@ -22,3 +40,48 @@ The purpose of this role is to externalise the static-IP DNS resolver out of lar - **Static IP:** Exposes a fixed resolver address on its own network for `dns:` targeting. - **DinD-aware:** Forwards to public resolvers in nested-Docker/CI where iterative resolution via root-hints is unsupported. - **Seamless Docker Integration:** Works with Docker Compose and the central-engine deploy machinery. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Unbound onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-dns-unbound full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Unbound to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-dns-unbound +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-net-firewall/README.md b/roles/svc-net-firewall/README.md index e5f4fd00b0..f5bb3bd5bc 100644 --- a/roles/svc-net-firewall/README.md +++ b/roles/svc-net-firewall/README.md @@ -12,6 +12,19 @@ One table per role is what makes the rules composable. A fragment replaces its o Replacing beats adding. `nft -f` on an existing table merges, so a rule dropped from the declaration would stay in the kernel and the ruleset could only ever grow. Each fragment therefore creates, deletes and redeclares its table in one transaction, which is also why the table is never observed empty: unlike a flush followed by rules, there is no window in which the boundary is gone. +## Cosmos + +The diagram places Firewall ruleset in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-net-firewall ๐Ÿ’ป] + svc_firewall["firewall"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Owned per role:** Each consumer declares one table under its own name, so rules are added and retired with the role that needs them. @@ -27,8 +40,53 @@ Replacing beats adding. `nft -f` on an existing table merges, so a rule dropped A fragment can only ever be stricter than the host already is. In nftables an `accept` terminates its own base chain and nothing more: the packet still traverses every other chain at that hook, and a `drop` in any of them wins. A rule that has to overrule a policy someone else set, such as the `DROP` docker installs on forwarded packets, does not belong in a fragment at all; it belongs in the chain that carries that policy. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Firewall ruleset onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-firewall full_cycle=false +``` + +### Production + +Install Firewall ruleset directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-net-firewall +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [nftables Wiki](https://wiki.nftables.org/) - [nft(8) manual page](https://www.netfilter.org/projects/nftables/manpage.html) - [Moving from iptables to nftables](https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-net-tor-smtp/README.md b/roles/svc-net-tor-smtp/README.md index c4410489e1..6a6f56b2cc 100644 --- a/roles/svc-net-tor-smtp/README.md +++ b/roles/svc-net-tor-smtp/README.md @@ -18,6 +18,23 @@ tor-smtp โ”€โ”€(SOCKS5, remote DNS)โ”€โ”€โ–ถ Tor โ”€โ”€โ–ถ .onion Clearnet mail is untouched โ€” it stays on the provider's normal MX delivery. The gateway only ever accepts `.onion` recipients; it is not an open relay. +## Cosmos + +The diagram places Tor SMTP Gateway (svc-net-tor-smtp) in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-net-tor-smtp ๐Ÿณ๐Ÿ] + svc_tor_smtp["tor-smtp"] + end + subgraph dependents [Dependents] + dpt_web_app_stalwart["web-app-stalwart ๐Ÿณ๐Ÿ"] + end + svc_tor_smtp -. "0..1" .-> dpt_web_app_stalwart +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Onion-only relay:** accepts a recipient only when its domain ends with @@ -29,6 +46,51 @@ gateway only ever accepts `.onion` recipients; it is not an open relay. - **Clearnet untouched:** normal SMTP reputation, DKIM and SPF delivery never pass through Tor. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Tor SMTP Gateway (svc-net-tor-smtp) onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-tor-smtp full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Tor SMTP Gateway (svc-net-tor-smtp) to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-net-tor-smtp +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Alejandro Roman Ibanez](https://social.infinito.nexus/profile/alexromanibanez/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Design Decisions - **A dedicated role, not Stalwart config.** Stalwart has no outbound SOCKS diff --git a/roles/svc-net-tor/README.md b/roles/svc-net-tor/README.md index 44b2356e24..8e430dd192 100644 --- a/roles/svc-net-tor/README.md +++ b/roles/svc-net-tor/README.md @@ -10,6 +10,52 @@ When `svc-net-tor` is deployed, the node's `DOMAIN_PRIMARY` is the minted `.onio The onion key is minted offline during inventory build (`cli.administration.inventory.onion`) and stored in the inventory, so the address is stable across redeploys and restorable from a backup. +## Cosmos + +The diagram places Tor Onion Service in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_web_svc_mirror["web-svc-mirror ๐Ÿ’ป"] + end + subgraph role [svc-net-tor ๐Ÿณ๐Ÿ] + svc_mirror["mirror"] + svc_tor["tor"] + end + subgraph dependents [Dependents] + dpt_svc_db_elasticsearch["svc-db-elasticsearch ๐Ÿณ๐Ÿ"] + dpt_svc_db_mariadb["svc-db-mariadb ๐Ÿณ๐Ÿ"] + dpt_svc_db_memcached["svc-db-memcached ๐Ÿณ๐Ÿ"] + dpt_svc_db_openldap["svc-db-openldap ๐Ÿณ๐Ÿ"] + dpt_svc_db_postgres["svc-db-postgres ๐Ÿณ๐Ÿ"] + dpt_svc_db_qdrant["svc-db-qdrant ๐Ÿณ๐Ÿ"] + dpt_svc_db_rabbitmq["svc-db-rabbitmq ๐Ÿณ๐Ÿ"] + dpt_svc_db_redis["svc-db-redis ๐Ÿณ๐Ÿ"] + dpt_svc_db_typesense["svc-db-typesense ๐Ÿณ๐Ÿ"] + dpt_svc_prx_openresty["svc-prx-openresty ๐Ÿณ๐Ÿ"] + dpt_web_app_akaunting["web-app-akaunting ๐Ÿณ๐Ÿ"] + dpt_web_app_baserow["web-app-baserow ๐Ÿณ๐Ÿ"] + dpt_more["..."] + end + dep_web_svc_mirror -- "1:1" --> svc_mirror + svc_mirror -- "1:1" --> dpt_more + svc_mirror -. "0..1" .-> dpt_svc_db_elasticsearch + svc_mirror -. "0..1" .-> dpt_svc_db_mariadb + svc_mirror -. "0..1" .-> dpt_svc_db_memcached + svc_mirror -. "0..1" .-> dpt_svc_db_openldap + svc_mirror -. "0..1" .-> dpt_svc_db_postgres + svc_mirror -. "0..1" .-> dpt_svc_db_qdrant + svc_mirror -. "0..1" .-> dpt_svc_db_rabbitmq + svc_mirror -. "0..1" .-> dpt_svc_db_redis + svc_mirror -. "0..1" .-> dpt_svc_db_typesense + svc_mirror -. "0..1" .-> dpt_svc_prx_openresty + svc_mirror -. "0..1" .-> dpt_web_app_akaunting + svc_mirror -. "0..1" .-> dpt_web_app_baserow +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Full onion node:** `DOMAIN_PRIMARY` becomes the node `.onion`; the entire stack shifts to Tor with no domain-transform logic. @@ -19,6 +65,52 @@ The onion key is minted offline during inventory build (`cli.administration.inve - **Optional public domains:** extra clearnet domains added to an app keep their own TLS flavor and deploy alongside the onion. - **Configurable egress:** inbound is always onion; outbound torification is on by default (`TOR_EGRESS_ROUTER_ENABLED`). +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Tor Onion Service onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-tor full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Tor Onion Service to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-net-tor +HOST="" +DOMAIN="" +DNS="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e DNS="$DNS" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"networks\": {\"internet\": {\"dns\": \"$DNS\"}}, \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Limitations - Targets **fresh** onion nodes; converting an existing clearnet node is out of scope (the LDAP base DN and all identities would shift). diff --git a/roles/svc-net-wireguard-core/README.md b/roles/svc-net-wireguard-core/README.md index bd6ef1df75..8e89dc3730 100644 --- a/roles/svc-net-wireguard-core/README.md +++ b/roles/svc-net-wireguard-core/README.md @@ -13,6 +13,23 @@ Optimized for both [Arch Linux](https://wiki.archlinux.org/index.php/WireGuard) - Deploys a host-specific Wireguard configuration file to `/etc/wireguard/wg0.infinito.conf`. - Uses systemd handlers to restart the Wireguard service and reload sysctl settings. +## Cosmos + +The diagram places Wireguard in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-net-wireguard-core ๐Ÿ’ป] + svc_wireguard_core["wireguard-core"] + end + subgraph dependents [Dependents] + dpt_svc_net_wireguard_plain["svc-net-wireguard-plain ๐Ÿ’ป โš™๏ธ"] + end + svc_wireguard_core -- "1:1" --> dpt_svc_net_wireguard_plain +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to set up and manage a Wireguard VPN configuration on the host. By automating package installation and configuration file deployment, it ensures that the VPN service is enabled with optimal network settings for secure connectivity. @@ -24,6 +41,51 @@ The primary purpose of this role is to set up and manage a Wireguard VPN configu - **Wireguard Configuration:** Copies a host-specific Wireguard configuration file to `/etc/wireguard/wg0.infinito.conf`. - **Service Management:** Provides handlers to restart the Wireguard service and reload sysctl settings. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Wireguard onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-wireguard-core full_cycle=false +``` + +### Production + +Install Wireguard directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-net-wireguard-core +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Administration For detailed client setup instructions, please see the [Administration](./Administration.md) file. diff --git a/roles/svc-net-wireguard-firewalled/README.md b/roles/svc-net-wireguard-firewalled/README.md index 0aceca5188..bb67a06fb5 100644 --- a/roles/svc-net-wireguard-firewalled/README.md +++ b/roles/svc-net-wireguard-firewalled/README.md @@ -12,6 +12,23 @@ Optimized for environments with network address translation (NAT), this role: - Allows traffic from the WireGuard client interface (e.g. `wg0-client`) and sets up NAT masquerading on the external interface (e.g. `eth0`). - Works as an extension to the native WireGuard client role. +## Cosmos + +The diagram places WireGuard Client behind NAT in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_net_wireguard_plain["svc-net-wireguard-plain ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-net-wireguard-firewalled ๐Ÿ’ป] + svc_wireguard_firewalled["wireguard-firewalled"] + end + dep_svc_net_wireguard_plain -- "1:1" --> svc_wireguard_firewalled +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to enable proper routing and connectivity for a WireGuard client situated behind a firewall or NAT device. By adapting iptables rules, it ensures that the client can communicate effectively with external networks. @@ -22,6 +39,51 @@ The primary purpose of this role is to enable proper routing and connectivity fo - **NAT Support:** Configures the external interface for proper masquerading. - **Role Integration:** Depends on the [svc-net-wireguard-plain](../svc-net-wireguard-plain/README.md) role to ensure that WireGuard is properly configured before applying firewall rules. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy WireGuard Client behind NAT onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-wireguard-firewalled full_cycle=false +``` + +### Production + +Install WireGuard Client behind NAT directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-net-wireguard-firewalled +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [Debian Wiki: iptables](https://wiki.debian.org/iptables) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-net-wireguard-plain/README.md b/roles/svc-net-wireguard-plain/README.md index c7ff55e2b9..50c2cc10a5 100644 --- a/roles/svc-net-wireguard-plain/README.md +++ b/roles/svc-net-wireguard-plain/README.md @@ -12,6 +12,27 @@ Optimized for client configurations, this role: - Uses a Jinja2 template to generate the `set-mtu.sh` script. - Ensures that the MTU is configured correctly before starting WireGuard with [wg-quick](https://www.wireguard.com/quickstart/). +## Cosmos + +The diagram places Wireguard Client in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_net_wireguard_core["svc-net-wireguard-core ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [svc-net-wireguard-plain ๐Ÿ’ป] + svc_wireguard_plain["wireguard-plain"] + end + subgraph dependents [Dependents] + dpt_svc_net_wireguard_firewalled["svc-net-wireguard-firewalled ๐Ÿ’ป โš™๏ธ"] + end + dep_svc_net_wireguard_core -- "1:1" --> svc_wireguard_plain + svc_wireguard_plain -- "1:1" --> dpt_svc_net_wireguard_firewalled +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to configure WireGuard on a client by setting appropriate MTU values on network interfaces. This ensures a stable and optimized VPN connection. @@ -23,6 +44,45 @@ The primary purpose of this role is to configure WireGuard on a client by settin - **Administration Support:** For client key creation and further setup, please refer to the [Administration](./Administration.md) file. - **Modular Design:** Easily integrates with other WireGuard roles or network configuration roles. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Wireguard Client onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-net-wireguard-plain full_cycle=false +``` + +### Production + +Install Wireguard Client directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-net-wireguard-plain +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + ## Further Resources - [WireGuard Documentation](https://www.wireguard.com/) @@ -34,3 +94,9 @@ The primary purpose of this role is to configure WireGuard on a client by settin - [WireGuard Connection Dies on Ubuntu](https://serverfault.com/questions/1086297/wireguard-connection-dies-on-ubuntu-peer) - [SSH Fails with WireGuard IP](https://unix.stackexchange.com/questions/624987/ssh-fails-to-start-when-listenaddress-is-set-to-wireguard-vpn-ip) - [WireGuard NAT and Firewall Issues](https://serverfault.com/questions/210408/cannot-ssh-debug1-expecting-ssh2-msg-kex-dh-gex-reply) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-opt-keyboard-color/README.md b/roles/svc-opt-keyboard-color/README.md index 06ef84be8c..c90d03d43e 100644 --- a/roles/svc-opt-keyboard-color/README.md +++ b/roles/svc-opt-keyboard-color/README.md @@ -8,7 +8,65 @@ This role sets up dynamic keyboard color change on MSI laptops running Arch Linux. It requires an MSI laptop and the `msi-perkeyrgb` tool installed on the system. +## Cosmos + +The diagram places MSI Keyboard Driver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-opt-keyboard-color ๐Ÿ’ป] + svc_keyboard_color["keyboard-color"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Dynamic Color Control:** Enables per-key RGB color configuration via `msi-perkeyrgb`. - **Configurable Hardware ID:** Requires `vendor_and_product_id` to be set to the vendor and product ID of the MSI laptop. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy MSI Keyboard Driver onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-opt-keyboard-color full_cycle=false +``` + +### Production + +Install MSI Keyboard Driver directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-opt-keyboard-color +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-opt-ssd-hdd/README.md b/roles/svc-opt-ssd-hdd/README.md index 3ebea92a21..724f000d0a 100644 --- a/roles/svc-opt-ssd-hdd/README.md +++ b/roles/svc-opt-ssd-hdd/README.md @@ -13,6 +13,19 @@ The role performs the following tasks: - Manages container stopping and restarting during the migration process. - Creates symbolic links to preserve consistent file paths. +## Cosmos + +The diagram places Storage Optimizer in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-opt-ssd-hdd ๐Ÿ’ป] + svc_ssd_hdd["ssd-hdd"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to enhance system performance by ensuring that Docker volumes are stored on the most appropriate storage medium, optimizing both speed and capacity. @@ -23,3 +36,48 @@ The primary purpose of this role is to enhance system performance by ensuring th - **Symbolic Link Creation:** Maintains consistent access paths after migration. - **Container Management:** Safely stops and starts containers during volume migration. - **Performance Optimization:** Improves overall system performance by leveraging appropriate storage media. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Storage Optimizer onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-opt-ssd-hdd full_cycle=false +``` + +### Production + +Install Storage Optimizer directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-opt-ssd-hdd +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-opt-swapfile/README.md b/roles/svc-opt-swapfile/README.md index 0f6415fdb3..570f42811c 100644 --- a/roles/svc-opt-swapfile/README.md +++ b/roles/svc-opt-swapfile/README.md @@ -12,6 +12,19 @@ The role performs the following tasks: - Executes the script with the provided swapfile size to create a swapfile. - Helps ensure that the system has adequate swap space for improved performance and stability. +## Cosmos + +The diagram places Swapfile in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-opt-swapfile ๐Ÿ’ป] + svc_swapfile["swapfile"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to automate the process of swapfile creation, ensuring that the system has sufficient swap space to handle memory-intensive tasks and maintain overall performance. @@ -21,3 +34,48 @@ The primary purpose of this role is to automate the process of swapfile creation - **Script Cloning:** Retrieves the latest swapfile creation script from a Git repository. - **Swapfile Creation:** Executes the script to create a swapfile of a specified size. - **Performance Enhancement:** Ensures adequate swap space for optimal system performance. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Swapfile onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-opt-swapfile full_cycle=false +``` + +### Production + +Install Swapfile directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-opt-swapfile +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-prx-openresty/README.md b/roles/svc-prx-openresty/README.md index cdb1d0d76d..b1554f2ebd 100644 --- a/roles/svc-prx-openresty/README.md +++ b/roles/svc-prx-openresty/README.md @@ -16,10 +16,76 @@ This role deploys an OpenResty container via Docker Compose, validates its confi 3. Defines handlers to validate and restart the container 4. Triggers a restart on configuration changes +## Cosmos + +The diagram places OpenResty in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_net_tor["svc-net-tor ๐Ÿณ๐Ÿ"] + end + subgraph role [svc-prx-openresty ๐Ÿณ๐Ÿ] + svc_openresty["openresty"] + svc_tor["tor"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup + dep_svc_net_tor -. "0..1" .-> svc_tor +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy OpenResty onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-prx-openresty full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy OpenResty to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-prx-openresty +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Further Reading - [OpenResty Docker Hub](https://hub.docker.com/r/openresty/openresty) diff --git a/roles/svc-registry-cache/README.md b/roles/svc-registry-cache/README.md index 240343a841..24bc04b208 100644 --- a/roles/svc-registry-cache/README.md +++ b/roles/svc-registry-cache/README.md @@ -18,6 +18,27 @@ shared daemon.json template then emits a `registry-mirrors` block pointing at `http://:` plus an `insecure-registries` entry so plain-HTTP communication with the cache is permitted. +## Cosmos + +The diagram places Docker Registry Cache in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_swarm_node["svc-swarm-node ๐Ÿ’ป"] + end + subgraph role [svc-registry-cache ๐Ÿณ] + svc_node["node"] + svc_cache["cache"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup + dep_svc_swarm_node -- "1:1" --> svc_node +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Transparent Docker Hub mirror via `registry:2`'s built-in proxy mode. @@ -29,3 +50,48 @@ plain-HTTP communication with the cache is permitted. over LAN. On a 3-node cluster pulling identical base images this is the difference between three full Hub downloads and one Hub download plus two LAN copies. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Docker Registry Cache onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-registry-cache full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Docker Registry Cache to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-registry-cache +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-registry-docker/README.md b/roles/svc-registry-docker/README.md index 609814ae0b..a0f22dce1d 100644 --- a/roles/svc-registry-docker/README.md +++ b/roles/svc-registry-docker/README.md @@ -16,6 +16,27 @@ deploy` and on reschedule, removing the need for out-of-band Storage lives in an NFS-backed volume so the registry contents survive container restarts and manager reschedules. +## Cosmos + +The diagram places Docker Registry in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป"] + dep_svc_swarm_node["svc-swarm-node ๐Ÿ’ป"] + end + subgraph role [svc-registry-docker ๐Ÿณ] + svc_node["node"] + svc_docker["docker"] + svc_container_backup["container_backup"] + end + dep_svc_bkp_volume_2_local -- "1:1" --> svc_container_backup + dep_svc_swarm_node -- "1:1" --> svc_node +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Manager-pinned, stateful:** Single instance per cluster; bypasses swarm @@ -26,3 +47,48 @@ container restarts and manager reschedules. runs on the manager's host network and binds only the address the manager hostname resolves to, so no other interface listens. Each swarm node trusts the manager's `:5000` via `daemon.json.insecure-registries`. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Docker Registry onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-registry-docker full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Docker Registry to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-registry-docker +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-runner/README.md b/roles/svc-runner/README.md index 1bf1285e58..5856faa8fd 100644 --- a/roles/svc-runner/README.md +++ b/roles/svc-runner/README.md @@ -12,6 +12,21 @@ Registration tokens are fetched from the GitHub API at container start time via The `RUNNER_DISTRIBUTION` variable selects distro-specific package installation tasks (Debian, Ubuntu, Arch Linux, or Fedora/EL). The role is designed to be driven by the `make runner-ci-deploy` target; see the end-to-end guide below. +## Cosmos + +The diagram places Self-Hosted Runner in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-runner ๐Ÿณ๐Ÿ] + svc_runner["runner"] + svc_buildkit["buildkit โŒ"] + svc_act_runner["act-runner โŒ"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Self-hosted:** Run CI jobs on your own server without consuming GitHub-hosted runner minutes. @@ -23,6 +38,45 @@ The `RUNNER_DISTRIBUTION` variable selects distro-specific package installation - **Idempotent:** Re-running the deploy rebuilds the image and restarts containers cleanly without manual cleanup. - **CI workflow ready:** All deploy-test workflows route to GitHub-hosted runners by default; set `CI_SELF_HOSTED_RUNNER_COUNT` to overflow jobs to your runners. +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Self-Hosted Runner onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-runner full_cycle=false +``` + +### Production + +Run the published image to provision the inventory and deploy Self-Hosted Runner to a managed server (the mounted volume persists the inventory): + +```bash +APP=svc-runner +HOST="" +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" + +docker run --rm -it \ + -v "$PWD/inventories:/etc/infinito.nexus/inventories" \ + -e APP="$APP" -e HOST="$HOST" -e DOMAIN="$DOMAIN" -e TLS_MODE="$TLS_MODE" -e SSH_PUBLIC_KEY="$SSH_PUBLIC_KEY" \ + ghcr.io/infinito-nexus/core/debian:latest bash -c ' + INVENTORY=/etc/infinito.nexus/inventories/production + infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host "$HOST" \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" && + infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv' +``` + ## End-to-end guide ### Prerequisites @@ -215,3 +269,9 @@ chain and the CLI e2e suite run in full. - [GitHub Actions self-hosted runner documentation](https://docs.github.com/en/actions/hosting-your-own-runners) - [actions/runner releases](https://github.com/actions/runner/releases) + +## Credits + +Implemented by **[Alejandro Roman Ibanez](https://social.infinito.nexus/profile/alexromanibanez/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-storage-nfs-client/README.md b/roles/svc-storage-nfs-client/README.md index 131fe0a219..fc122666ff 100644 --- a/roles/svc-storage-nfs-client/README.md +++ b/roles/svc-storage-nfs-client/README.md @@ -16,6 +16,24 @@ svc-storage-nfs-server services.yml SPOT to confirm reachability and writability at deploy time. The actual docker volume mounts happen later, driven by the Docker engine at container start. +## Cosmos + +The diagram places NFS Client in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_storage_nfs_server["svc-storage-nfs-server ๐Ÿ’ป"] + end + subgraph role [svc-storage-nfs-client ๐Ÿ’ป] + svc_nfs_server["nfs-server"] + svc_nfs_client["nfs-client"] + end + dep_svc_storage_nfs_server -. "0..1" .-> svc_nfs_server +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Distro-aware packages:** Installs `nfs-common` on Debian/Ubuntu, @@ -25,3 +43,48 @@ mounts happen later, driven by the Docker engine at container start. container boot. - **Strict assertion:** Missing `storage.nfs.server` or fails the deploy with a precise error. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy NFS Client onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-storage-nfs-client full_cycle=false +``` + +### Production + +Install NFS Client directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-storage-nfs-client +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-storage-nfs-server/README.md b/roles/svc-storage-nfs-server/README.md index e1f26dbb13..6353cd3222 100644 --- a/roles/svc-storage-nfs-server/README.md +++ b/roles/svc-storage-nfs-server/README.md @@ -18,6 +18,30 @@ flavor and from the ganesha configuration template for ganesha. NFS server HA, Kerberos integration, and client-side mounting are out of scope; client mounts are handled by `svc-storage-nfs-client`. +## Cosmos + +The diagram places NFS Server in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_bkp_nfs_2_local["svc-bkp-nfs-2-local ๐Ÿ’ป"] + end + subgraph role [svc-storage-nfs-server ๐Ÿ’ป] + svc_nfs_server["nfs-server"] + svc_nfs_backup["nfs_backup"] + end + subgraph dependents [Dependents] + dpt_svc_bkp_nfs_2_local["svc-bkp-nfs-2-local ๐Ÿ’ป"] + dpt_svc_storage_nfs_client["svc-storage-nfs-client ๐Ÿ’ป"] + end + dep_svc_bkp_nfs_2_local -. "0..1" .-> svc_nfs_backup + svc_nfs_server -. "0..1" .-> dpt_svc_bkp_nfs_2_local + svc_nfs_server -. "0..1" .-> dpt_svc_storage_nfs_client +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Distro-aware install:** Installs `nfs-kernel-server` on Debian / @@ -27,3 +51,48 @@ mounts are handled by `svc-storage-nfs-client`. - **Reload-on-change:** Re-running the role overwrites `/etc/exports` with the current allowed-IP set; the handler reloads via `exportfs -ra` only when the file changed. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy NFS Server onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-storage-nfs-server full_cycle=false +``` + +### Production + +Install NFS Server directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-storage-nfs-server +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-swarm-manager/README.md b/roles/svc-swarm-manager/README.md index 6fb23ddf51..b1d86eea82 100644 --- a/roles/svc-swarm-manager/README.md +++ b/roles/svc-swarm-manager/README.md @@ -13,7 +13,70 @@ validator accepts `svc-swarm-manager` as a legitimate application_id. The actual swarm-init logic lives in `svc-swarm-node` and dispatches on `'svc-swarm-manager' in group_names`. +## Cosmos + +The diagram places Docker Swarm Manager in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_svc_swarm_node["svc-swarm-node ๐Ÿ’ป"] + end + subgraph role [svc-swarm-manager ๐Ÿ’ป] + svc_node["node"] + svc_manager["manager"] + end + dep_svc_swarm_node -. "0..1" .-> svc_node +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Marker role:** Carries no tasks; selects which `svc-swarm-node` member runs the manager-init flow. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Docker Swarm Manager onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-swarm-manager full_cycle=false +``` + +### Production + +Install Docker Swarm Manager directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-swarm-manager +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-swarm-node/README.md b/roles/svc-swarm-node/README.md index 7babb3dbd3..6c93ef2964 100644 --- a/roles/svc-swarm-node/README.md +++ b/roles/svc-swarm-node/README.md @@ -16,6 +16,29 @@ worker. Membership is expressed via group membership only, never via duplicated lists in `group_vars`. Inventory node labels are pushed to the cluster after the join phase. +## Cosmos + +The diagram places Docker Swarm in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-swarm-node ๐Ÿ’ป] + svc_node["node"] + end + subgraph dependents [Dependents] + dpt_svc_cache_package["svc-cache-package ๐Ÿณ"] + dpt_svc_registry_cache["svc-registry-cache ๐Ÿณ"] + dpt_svc_registry_docker["svc-registry-docker ๐Ÿณ"] + dpt_svc_swarm_manager["svc-swarm-manager ๐Ÿ’ป"] + end + svc_node -- "1:1" --> dpt_svc_cache_package + svc_node -- "1:1" --> dpt_svc_registry_cache + svc_node -- "1:1" --> dpt_svc_registry_docker + svc_node -. "0..1" .-> dpt_svc_swarm_manager +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Single-manager bootstrap:** Initialises the cluster on the manager @@ -28,3 +51,48 @@ the cluster after the join phase. inventory are applied to the joining node. - **Mode-selection trigger:** Membership in `svc-swarm-node` resolves `DEPLOYMENT_MODE = swarm` for every web-app role on that host. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Docker Swarm onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-swarm-node full_cycle=false +``` + +### Production + +Install Docker Swarm directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-swarm-node +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/svc-virt-kata/README.md b/roles/svc-virt-kata/README.md index c8c3237d9b..2b21398d80 100644 --- a/roles/svc-virt-kata/README.md +++ b/roles/svc-virt-kata/README.md @@ -8,6 +8,25 @@ This role provisions the isolating runtime layer of a container host. It installs the pinned gVisor binary, then re-runs the daemon configuration of the container role so the freshly installed runtime is registered and the daemon is restarted onto it. In swarm mode it additionally labels the node as sandbox-isolating, which is the placement constraint that keeps sandboxed workloads off nodes that still default to the shared kernel. +## Cosmos + +The diagram places Kata & gVisor in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [svc-virt-kata ๐Ÿ’ป] + svc_kata["kata"] + end + subgraph dependents [Dependents] + dpt_web_app_hermes["web-app-hermes ๐Ÿณ๐Ÿ"] + dpt_web_app_openclaw["web-app-openclaw ๐Ÿณ๐Ÿ"] + end + svc_kata -- "1:1" --> dpt_web_app_hermes + svc_kata -- "1:1" --> dpt_web_app_openclaw +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **gVisor runtime:** The pinned `runsc` release is fetched to `/usr/local/bin/runsc` and verified against its published SHA-512 checksum. The Kata shim is taken from the host as it is; the role does not install it. @@ -16,3 +35,48 @@ This role provisions the isolating runtime layer of a container host. It install - **Swarm default runtime:** `docker stack deploy` drops the per-service `runtime:` key, so a swarm worker carries the sandbox as its daemon-wide `default-runtime` instead. The stack host keeps the shared kernel for the platform's own services. - **Node labelling:** In swarm mode the node is labelled `kata-capable=true`, and sandboxed services are constrained to that label. A deploy without a single such node is refused rather than left pending. - **Runtime pinning:** In compose mode Hermes Agent and OpenClaw pin `SANDBOX_RUNTIME` on their service directly. + +## Quick Setup + +### Development + +Clone, set up the workstation, and deploy Kata & gVisor onto the local stack: + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +make onboard +make compose-deploy mode=reinstall apps=svc-virt-kata full_cycle=false +``` + +### Production + +Install Kata & gVisor directly onto the target machine: clone the repository, install the OS prerequisites and the repository toolchain, then deploy against localhost over a local connection (no SSH, no container): + +```bash +git clone https://github.com/infinito-nexus/core.git +cd core +bash scripts/install/package.sh +make install +source scripts/meta/env/load.sh + +APP=svc-virt-kata +DOMAIN="" +TLS_MODE=self_signed +SSH_PUBLIC_KEY="" +INVENTORY=inventories/production +infinito administration inventory provision "$INVENTORY" \ + --inventory-file "$INVENTORY/devices.yml" \ + --host localhost \ + --include "$APP" \ + --vars "{\"TLS_MODE\": \"$TLS_MODE\", \"DOMAIN_PRIMARY\": \"$DOMAIN\", \"users\": {\"administrator\": {\"authorized_keys\": [\"$SSH_PUBLIC_KEY\"]}}}" +infinito administration deploy dedicated "$INVENTORY/devices.yml" \ + --password-file "$INVENTORY/.password" \ + --diff -vv +``` + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ca-selfsigned/README.md b/roles/sys-ca-selfsigned/README.md index d41f0121cf..7596f7e20e 100644 --- a/roles/sys-ca-selfsigned/README.md +++ b/roles/sys-ca-selfsigned/README.md @@ -15,10 +15,29 @@ The generated Root CA certificate can be injected into containers (e.g. via `sys This role provisions a local Root CA (self-signed, CA:TRUE) for trusting internal TLS endpoints. Produces /etc/infinito.nexus/ca/root-ca.crt for sys-svc-compose-ca injection. +## Cosmos + +The diagram places sys-ca-selfsigned in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ca-selfsigned ๐Ÿ’ป] + svc_ca_selfsigned["ca-selfsigned"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Outputs - `CA_ROOT.cert_host` (default: `/etc/infinito.nexus/ca/root-ca.crt`) diff --git a/roles/sys-cleanup/README.md b/roles/sys-cleanup/README.md index 7799dc48a3..f92e2f65d4 100644 --- a/roles/sys-cleanup/README.md +++ b/roles/sys-cleanup/README.md @@ -21,6 +21,19 @@ The role is designed to be **distribution-agnostic** and works on: - Designed for CI, container, and build environments - Prevents disk pressure and runaway image sizes +## Cosmos + +The diagram places sys-cleanup in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-cleanup ๐Ÿ’ป] + svc_cleanup["cleanup"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Cross-Distro Support:** Automatically detects the available package manager. @@ -44,3 +57,9 @@ The role is designed to be **distribution-agnostic** and works on: - [dnf](https://dnf.readthedocs.io/en/latest/) - [yum](https://man7.org/linux/man-pages/man8/yum.8.html) - [Filesystem Hierarchy Standard](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-cli/README.md b/roles/sys-cli/README.md index e89702f666..a07191e18a 100644 --- a/roles/sys-cli/README.md +++ b/roles/sys-cli/README.md @@ -10,6 +10,19 @@ After deploying this role, you will have access to the `infinito` command-line i This role this role installs and provides the Infinito.Nexus CLI, enabling you to manage your entire Infinito.Nexus environment from the command line. After deployment, the `infinito` command is available. +## Cosmos + +The diagram places Infinito.Nexus CLI in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-cli ๐Ÿ’ป] + svc_cli["cli"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Usage Once this role has been applied, you can run all CLI commands using: @@ -31,3 +44,9 @@ to get a list of available commands and options. ## Further Resources - [Infinito.Nexus Documentation](https://s.infinito.nexus/code/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-alm-compose/README.md b/roles/sys-ctl-alm-compose/README.md index 7bb1db8cb5..c12fb66d30 100644 --- a/roles/sys-ctl-alm-compose/README.md +++ b/roles/sys-ctl-alm-compose/README.md @@ -8,6 +8,19 @@ This role installs a systemd service that sends notifications via both [sys-ctl- Optimized for prompt and comprehensive failure alerts, this role configures a unified notification service. It leverages the capabilities of both Telegram and Email notifications to ensure that administrators are quickly informed about service issues, enabling rapid troubleshooting. +## Cosmos + +The diagram places Unified Service Failure Notifier in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-alm-compose ๐Ÿ’ป] + svc_compose["compose"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to provide a centralized mechanism for service failure notifications. By integrating with both the Telegram and Email notifier roles, it delivers reliable alerts through multiple channels, enhancing overall system observability and responsiveness. @@ -18,3 +31,9 @@ The primary purpose of this role is to provide a centralized mechanism for servi - **Dependency Integration:** Works seamlessly with the [sys-ctl-alm-telegram](../sys-ctl-alm-telegram/README.md) and [sys-ctl-alm-email](../sys-ctl-alm-email/README.md) roles. - **Automated Service Management:** Automatically restarts the notifier service upon configuration changes. - **Centralized Alerting:** Provides a unified approach to monitor and notify about service failures. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-alm-email/README.md b/roles/sys-ctl-alm-email/README.md index aa0cfa5d4b..c227454236 100644 --- a/roles/sys-ctl-alm-email/README.md +++ b/roles/sys-ctl-alm-email/README.md @@ -8,6 +8,23 @@ This role installs and configures the necessary components for sending email not Optimized for secure and reliable service failure notifications, this role is an integral part of the overall `sys-ctl-alm-compose` suite. It ensures that, upon failure of a critical service, an email alert is sent automatically to enable prompt troubleshooting. +## Cosmos + +The diagram places Automated Email Alerts for Service Failures in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_web_app_stalwart["web-app-stalwart ๐Ÿณ๐Ÿ"] + end + subgraph role [sys-ctl-alm-email ๐Ÿ’ป] + svc_email["email"] + end + dep_web_app_stalwart -- "1:1" --> svc_email +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to provide a comprehensive solution for automated email notifications in a systemd environment. By integrating with msmtp and customizable templates, it delivers clear and timely alerts about service failures, thereby enhancing system reliability. @@ -18,3 +35,9 @@ The primary purpose of this role is to provide a comprehensive solution for auto - **Customizable Templates:** Supports tailoring email templates for service failure notifications. - **Secure Notifications:** Integrates with systemd to trigger email alerts when services fail. - **Suite Integration:** Part of the `sys-ctl-alm-compose` suite, offering a unified approach to service failure notifications. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-alm-telegram/README.md b/roles/sys-ctl-alm-telegram/README.md index ac251c7d0d..96491f362b 100644 --- a/roles/sys-ctl-alm-telegram/README.md +++ b/roles/sys-ctl-alm-telegram/README.md @@ -8,6 +8,19 @@ This role installs and configures the necessary components for sending notificat Optimized for real-time alerts, this role is a key component of the overall `sys-ctl-alm-compose` suite. It ensures that, upon failure of a critical service, a Telegram message is automatically sent to notify administrators and enable prompt troubleshooting. +## Cosmos + +The diagram places Automated Telegram Alerts for Service Failures in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-alm-telegram ๐Ÿ’ป] + svc_telegram["telegram"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to provide a robust solution for automated Telegram notifications in a systemd environment. By integrating with Telegramโ€™s Bot API and using customizable message templates, it delivers clear and timely alerts about service failures, thereby enhancing system observability and reliability. @@ -18,3 +31,9 @@ The primary purpose of this role is to provide a robust solution for automated T - **Customizable Templates:** Supports tailored Telegram message templates for service failure notifications. - **Secure Notifications:** Leverages systemd to trigger alerts automatically when services fail. - **Suite Integration:** Part of the `sys-ctl-alm-compose` suite which includes related roles such as [sys-ctl-alm-email](../sys-ctl-alm-email/README.md) and others. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-cln-anon-volumes/README.md b/roles/sys-ctl-cln-anon-volumes/README.md index ea67a08f72..3a0fd7b798 100644 --- a/roles/sys-ctl-cln-anon-volumes/README.md +++ b/roles/sys-ctl-cln-anon-volumes/README.md @@ -8,6 +8,19 @@ This Ansible role installs and executes [`dockreap`](https://github.com/kevinvee The role installs `dockreap` using Python tooling and runs it with the `--no-confirmation` flag to ensure automatic, non-interactive cleanup. +## Cosmos + +The diagram places Cleanup Docker Anonymous Volumes in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-anon-volumes ๐Ÿ’ป] + svc_anon_volumes["anon-volumes"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose This role automates the removal of orphaned Docker volumes that consume unnecessary disk space. It is especially useful in backup, CI/CD, or maintenance routines. @@ -18,3 +31,9 @@ This role automates the removal of orphaned Docker volumes that consume unnecess - **Python-based Install:** Installs `dockreap` (isolated, system-friendly CLI install). - **Idempotent Execution:** Ensures the tool is installed and run only once per playbook run. - **Symlink-Aware:** Safely handles symlinked `_data` directories and their targets. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-cln-bkps/README.md b/roles/sys-ctl-cln-bkps/README.md index 4a3bcfe882..2fe6996fd0 100644 --- a/roles/sys-ctl-cln-bkps/README.md +++ b/roles/sys-ctl-cln-bkps/README.md @@ -13,6 +13,19 @@ Optimized for effective disk space management, this role: - Deploys a Python script that deletes old backup directories when disk usage is too high. - Configures a systemd service to run the cleanup script, with notifications via [sys-ctl-alm-compose](../sys-ctl-alm-compose/README.md). +## Cosmos + +The diagram places Cleanup Backups Service in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-bkps ๐Ÿ’ป] + svc_bkps["bkps"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to maintain optimal backup storage by automatically removing outdated backup versions when disk usage exceeds a specified threshold. @@ -24,6 +37,12 @@ The primary purpose of this role is to maintain optimal backup storage by automa - **Systemd Integration:** Configures a systemd service to run cleanup tasks. - **Dependency Integration:** Works in conjunction with related roles for comprehensive backup management. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Other Resources - diff --git a/roles/sys-ctl-cln-certs/README.md b/roles/sys-ctl-cln-certs/README.md index 55c315f022..ca21dcb314 100644 --- a/roles/sys-ctl-cln-certs/README.md +++ b/roles/sys-ctl-cln-certs/README.md @@ -10,6 +10,23 @@ - Integrates with `sys-ctl-alm-compose` to send failure notifications - Ensures idempotent execution with a `run_once_sys_ctl_cln_certs` flag +## Cosmos + +The diagram places Certbot Reaper in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-certs ๐Ÿ’ป] + svc_certs["certs"] + end + subgraph dependents [Dependents] + dpt_sys_ctl_mtn_cert_renew["sys-ctl-mtn-cert-renew ๐Ÿ’ป โš™๏ธ"] + end + svc_certs -- "1:1" --> dpt_sys_ctl_mtn_cert_renew +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Certificate Cleanup Tool Installation** @@ -32,3 +49,9 @@ - [Ansible community.general.pacman module](https://docs.ansible.com/ansible/latest/collections/community/general/pacman_module.html) - [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license) - [systemd.unit(5) manual](https://www.freedesktop.org/software/systemd/man/systemd.unit.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-cln-disc-space/README.md b/roles/sys-ctl-cln-disc-space/README.md index 43448500a1..464ed6e2e9 100644 --- a/roles/sys-ctl-cln-disc-space/README.md +++ b/roles/sys-ctl-cln-disc-space/README.md @@ -13,6 +13,19 @@ Optimized for efficient storage management, this role: - Configures a systemd service to run the disk cleanup script. - Optionally integrates with backup cleanup if backup variables are defined. +## Cosmos + +The diagram places Cleanup Disc Space in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-disc-space ๐Ÿ’ป] + svc_disc_space["disc-space"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to ensure that disk space remains within safe limits by automating cleanup tasks, thereby improving system performance and stability. @@ -23,3 +36,9 @@ The primary purpose of this role is to ensure that disk space remains within saf - **Threshold-Based Execution:** Triggers cleanup when disk usage exceeds a defined percentage. - **Systemd Integration:** Configures a systemd service to manage the disk cleanup process. - **Docker and Backup Integration:** Optionally cleans Docker resources and backups if configured. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-cln-docker/README.md b/roles/sys-ctl-cln-docker/README.md index 00e5cf7a28..7179dc98df 100644 --- a/roles/sys-ctl-cln-docker/README.md +++ b/roles/sys-ctl-cln-docker/README.md @@ -18,6 +18,19 @@ Optimized for maintaining a clean and efficient Docker environment, this role: * `container system prune -a -f` to remove unused Docker resources. * Allows forced execution during maintenance runs (`MODE_CLEANUP`). +## Cosmos + +The diagram places Cleanup Docker Resources in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-docker ๐Ÿ’ป] + svc_docker["docker"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to prevent storage bloat caused by unused Docker images, volumes, and build artifacts. @@ -37,6 +50,12 @@ Regular pruning ensures: * **Force Execution Mode:** When `MODE_CLEANUP=true`, cleanup is executed immediately. * **Safe Execution:** Includes validation for missing services and Docker availability. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Script Behavior The cleanup script: diff --git a/roles/sys-ctl-cln-faild-bkps/README.md b/roles/sys-ctl-cln-faild-bkps/README.md index 4d78c45968..b611ad78b9 100644 --- a/roles/sys-ctl-cln-faild-bkps/README.md +++ b/roles/sys-ctl-cln-faild-bkps/README.md @@ -14,10 +14,39 @@ To avoid accidental data loss, the role **keeps the most recent backups by defau This role cleans up failed Docker backups by configuring a systemd service and timer to execute the cleanup operations periodically. +## Cosmos + +The diagram places Cleanup Failed Backups in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-cln-faild-bkps ๐Ÿ’ป] + svc_faild_bkps["faild-bkps"] + end + subgraph dependents [Dependents] + dpt_svc_bkp_nfs_2_local["svc-bkp-nfs-2-local ๐Ÿ’ป โš™๏ธ"] + dpt_svc_bkp_remote_2_local["svc-bkp-remote-2-local ๐Ÿ’ป โš™๏ธ"] + dpt_svc_bkp_secrets_2_local["svc-bkp-secrets-2-local ๐Ÿ’ป โš™๏ธ"] + dpt_svc_bkp_volume_2_local["svc-bkp-volume-2-local ๐Ÿ’ป โš™๏ธ"] + end + svc_faild_bkps -- "1:1" --> dpt_svc_bkp_nfs_2_local + svc_faild_bkps -- "1:1" --> dpt_svc_bkp_remote_2_local + svc_faild_bkps -- "1:1" --> dpt_svc_bkp_secrets_2_local + svc_faild_bkps -- "1:1" --> dpt_svc_bkp_volume_2_local +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## What this role does - Installs the *cleanback* cleanup tool diff --git a/roles/sys-ctl-hlth-btrfs/README.md b/roles/sys-ctl-hlth-btrfs/README.md index 15339eddf9..b79f21bd94 100644 --- a/roles/sys-ctl-hlth-btrfs/README.md +++ b/roles/sys-ctl-hlth-btrfs/README.md @@ -8,6 +8,19 @@ Checks the health of all mounted Btrfs filesystems by inspecting device error co This role health-check for Btrfs filesystems, alerts on any device error counters. +## Cosmos + +The diagram places sys-ctl-hlth-btrfs in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-btrfs ๐Ÿ’ป] + svc_btrfs["btrfs"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Iterates over every Btrfs filesystem. @@ -15,6 +28,12 @@ This role health-check for Btrfs filesystems, alerts on any device error counter - Hooks into systemd and a timer for regular checks. - On failure, calls `sys-ctl-alm-compose.infinito@โ€ฆ` for notification. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage Just include this role in your playbook; it will: diff --git a/roles/sys-ctl-hlth-container/README.md b/roles/sys-ctl-hlth-container/README.md index decafc26b6..69489b4ea4 100644 --- a/roles/sys-ctl-hlth-container/README.md +++ b/roles/sys-ctl-hlth-container/README.md @@ -9,6 +9,19 @@ This role monitors the health status of Docker containers on the system. It dete The role installs a health check script along with a `systemd` service and timer to run these checks at scheduled intervals. If unhealthy or failed containers are detected, the configured failure notifier (via `sys-ctl-alm-compose`) is triggered. +## Cosmos + +The diagram places Docker Container Health Check in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-container ๐Ÿ’ป] + svc_container["container"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to ensure that Docker-based services remain operational. By automatically monitoring container health, it enables administrators to react quickly to failures, reducing downtime and preventing unnoticed service degradation. @@ -24,3 +37,9 @@ The primary purpose of this role is to ensure that Docker-based services remain - [Docker Health Checks Documentation](https://docs.docker.com/engine/reference/run/#healthcheck) - [Systemd Timers Documentation](https://www.freedesktop.org/software/systemd/man/systemd.timer.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-hlth-csp/README.md b/roles/sys-ctl-hlth-csp/README.md index 1132295949..b90cf134f6 100644 --- a/roles/sys-ctl-hlth-csp/README.md +++ b/roles/sys-ctl-hlth-csp/README.md @@ -8,6 +8,20 @@ This Ansible role automates the validation of [Content Security Policy (CSP)](ht Designed for Archlinux systems, this role periodically checks whether web resources (JavaScript, fonts, images, etc.) are blocked by CSP headers. It integrates Python and Node.js tooling and installs a systemd service with timer support. +## Cosmos + +The diagram places Health CSP Crawler in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-csp ๐Ÿ’ป] + svc_csp["csp"] + svc_csp_checker["csp-checker"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **CSP Resource Validation:** Uses Puppeteer to simulate browser requests and detect blocked resources. @@ -16,6 +30,12 @@ Designed for Archlinux systems, this role periodically checks whether web resour - **Error Notification:** Integrates with `sys-ctl-alm-compose` for alerting on failure. - **Ignore List Support:** Optional variable to suppress network block reports from specific external domains. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Configuration ### Variables diff --git a/roles/sys-ctl-hlth-disc-space/README.md b/roles/sys-ctl-hlth-disc-space/README.md index 28db66883e..42cee26deb 100644 --- a/roles/sys-ctl-hlth-disc-space/README.md +++ b/roles/sys-ctl-hlth-disc-space/README.md @@ -8,9 +8,28 @@ Monitors disk-space usage and alerts if any filesystem usage exceeds your define This role disk-space usage monitor; alerts when usage exceeds threshold. +## Cosmos + +The diagram places sys-ctl-hlth-disc-space in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-disc-space ๐Ÿ’ป] + svc_disc_space["disc-space"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Uses `df` to gather current usage. - Compares against `size_percent_disc_space_warning` threshold. - Sends failure alerts via `sys-ctl-alm-compose`. - Runs on a configurable systemd timer. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-hlth-journalctl/README.md b/roles/sys-ctl-hlth-journalctl/README.md index e599a0a870..68fdf3bd68 100644 --- a/roles/sys-ctl-hlth-journalctl/README.md +++ b/roles/sys-ctl-hlth-journalctl/README.md @@ -8,6 +8,19 @@ Scans `journalctl` over the last day for โ€œerrorโ€ entries and alerts if any a This role searches the systemd journal for errors over the past day and alerts if any are found. +## Cosmos + +The diagram places sys-ctl-hlth-journalctl in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-journalctl ๐Ÿ’ป] + svc_journalctl["journalctl"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Runs `journalctl --since '1 day ago' | grep -i error`. @@ -15,6 +28,12 @@ This role searches the systemd journal for errors over the past day and alerts i - Scheduled via systemd timer. - Alerts via `sys-ctl-alm-compose` on detection. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage Include the role; set `on_calendar_health_journalctl` for your preferred schedule. diff --git a/roles/sys-ctl-hlth-msmtp/README.md b/roles/sys-ctl-hlth-msmtp/README.md index d23688b213..e5fed53aa8 100644 --- a/roles/sys-ctl-hlth-msmtp/README.md +++ b/roles/sys-ctl-hlth-msmtp/README.md @@ -8,6 +8,19 @@ This Ansible role sends periodic health check emails using **msmtp** to verify t Optimized for Archlinux, this role creates the required directory structure, installs and configures the sys-ctl-hlth-check script, and integrates with the **sys-ctl-alm-telegram** role. It uses the **sys-timer** role to schedule regular checks based on your customizable `OnCalendar` setting. +## Cosmos + +The diagram places sys-ctl-hlth-msmtp in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-msmtp ๐Ÿ’ป] + svc_msmtp["msmtp"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The **sys-ctl-hlth-msmtp** role ensures that your mail transport system stays available by sending a test email at defined intervals. If the email fails, a Telegram alert is triggered, allowing you to detect and address issues before they impact users. @@ -19,3 +32,9 @@ The **sys-ctl-hlth-msmtp** role ensures that your mail transport system stays av - **Failure Notifications:** Leverages **sys-ctl-alm-telegram** to push alerts when the script exits with an error. - **Configurable Schedule:** Define your desired check frequency using the `on_calendar_health_msmtp` variable. - **Email Destination:** Specify the recipient via the `lookup('users', 'administrator').email` variable. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-hlth-volumes/README.md b/roles/sys-ctl-hlth-volumes/README.md index 9d1c80cb7a..8f2efea5bf 100644 --- a/roles/sys-ctl-hlth-volumes/README.md +++ b/roles/sys-ctl-hlth-volumes/README.md @@ -10,6 +10,19 @@ It can optionally exclude specific volumes from the check using a configurable w The role installs a script and a `systemd` service with a timer to periodically scan for leftover anonymous volumes. This helps prevent wasted disk space and leftover resources from old deployments. +## Cosmos + +The diagram places Docker Volumes Health Check in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-volumes ๐Ÿ’ป] + svc_volumes["volumes"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The main purpose of this role is to keep Docker environments clean by identifying and reporting orphaned anonymous volumes. @@ -27,3 +40,9 @@ It supports a whitelist mechanism to avoid alerting on known or intentional volu - [Docker Volumes Documentation](https://docs.docker.com/storage/volumes/) - [Systemd Timers Documentation](https://www.freedesktop.org/software/systemd/man/systemd.timer.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-hlth-webserver/README.md b/roles/sys-ctl-hlth-webserver/README.md index 2739e3e663..826e590eea 100644 --- a/roles/sys-ctl-hlth-webserver/README.md +++ b/roles/sys-ctl-hlth-webserver/README.md @@ -8,6 +8,19 @@ This role verifies that each NGINX-served domain returns an expected HTTP status The role scans NGINX server block `.conf` files for domains, HEAD-requests each domain, compares the response against per-domain expected codes, and reports mismatches via `sys-ctl-alm-compose`. It is scheduled via a systemd timer for periodic health sweeps. Include this role and define `on_calendar_health_NGINX`. The role installs `requests` via `pip` automatically. +## Cosmos + +The diagram places Webserver Health Check in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-hlth-webserver ๐Ÿ’ป] + svc_webserver["webserver"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Domain Detection:** Scans NGINX server block `.conf` files for configured domains. @@ -19,3 +32,9 @@ The role scans NGINX server block `.conf` files for domains, HEAD-requests each - [NGINX documentation](https://nginx.org/en/docs/) - [Ansible uri_module](https://docs.ansible.com/ansible/latest/modules/uri_module.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-mtn-cert-deploy/README.md b/roles/sys-ctl-mtn-cert-deploy/README.md index c08efc48e4..c69c1e77fb 100644 --- a/roles/sys-ctl-mtn-cert-deploy/README.md +++ b/roles/sys-ctl-mtn-cert-deploy/README.md @@ -8,6 +8,19 @@ Keeps Docker Compose services updated with fresh Letโ€™s Encrypt certificates vi Installs a small script and a systemd unit that copy certificates into your Compose project and trigger an NGINX hot-reload (fallback: restart) to minimize downtime. +## Cosmos + +The diagram places Docker Compose Certificate Sync Service in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-mtn-cert-deploy ๐Ÿ’ป] + svc_cert_deploy["cert-deploy"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Automatic certificate sync into the Compose project @@ -20,3 +33,9 @@ Installs a small script and a systemd unit that copy certificates into your Comp - [Wildcard Certificate Setup (SETUP.md)](./SETUP.md) - [Role Documentation](https://s.infinito.nexus/code/tree/main/roles/sys-ctl-mtn-cert-deploy) - [Issue Tracker](https://s.infinito.nexus/issues) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-mtn-cert-renew/README.md b/roles/sys-ctl-mtn-cert-renew/README.md index 6904c6e520..96fc2f0a1d 100644 --- a/roles/sys-ctl-mtn-cert-renew/README.md +++ b/roles/sys-ctl-mtn-cert-renew/README.md @@ -15,6 +15,23 @@ Optimized for Archlinux systems, this role installs the `certbot-NGINX` package, - **Systemd Integration:** Manages renewal operations reliably with `systemd` and `sys-ctl-alm-compose`. - **Quiet and Safe Operation:** Uses `--quiet` and `--agree-tos` flags to ensure non-interactive renewals. +## Cosmos + +The diagram places NGINX Certbot Automation in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph deps [Dependencies] + dep_sys_ctl_cln_certs["sys-ctl-cln-certs ๐Ÿ’ป โš™๏ธ"] + end + subgraph role [sys-ctl-mtn-cert-renew ๐Ÿ’ป] + svc_cert_renew["cert-renew"] + end + dep_sys_ctl_cln_certs -- "1:1" --> svc_cert_renew +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The NGINX Certbot Automation role ensures that Let's Encrypt SSL/TLS certificates stay valid without manual intervention. It enhances the security and reliability of web services by automating certificate lifecycle management. @@ -26,6 +43,12 @@ The NGINX Certbot Automation role ensures that Let's Encrypt SSL/TLS certificate - **Timer Setup:** Uses sys-timer to run certbot renewals periodically. - **Failure Notification:** Integrated with `sys-ctl-alm-compose` for alerting on failures. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Learn More - [Certbot Official Website](https://certbot.eff.org/) diff --git a/roles/sys-ctl-rpr-btrfs-balancer/README.md b/roles/sys-ctl-rpr-btrfs-balancer/README.md index 8cb5ddf387..4ce4cdbf9c 100644 --- a/roles/sys-ctl-rpr-btrfs-balancer/README.md +++ b/roles/sys-ctl-rpr-btrfs-balancer/README.md @@ -13,6 +13,19 @@ Optimized for automated file system management, this role: - Integrates a systemd timer for regular execution. - Notifies via systemd in case of errors during the balancing process. +## Cosmos + +The diagram places System Btrfs Auto Balancer in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-rpr-btrfs-balancer ๐Ÿ’ป] + svc_btrfs_balancer["btrfs-balancer"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to maintain optimal performance of Btrfs file systems by automating balancing tasks, ensuring efficient storage allocation and performance. @@ -23,3 +36,9 @@ The primary purpose of this role is to maintain optimal performance of Btrfs fil - **Service Configuration:** Sets up a systemd service for running the balancing script. - **Timer Integration:** Schedules the balancing process via a systemd timer. - **Error Notification:** Notifies on failure using sys-ctl-alm-compose. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-ctl-rpr-container-hard/README.md b/roles/sys-ctl-rpr-container-hard/README.md index 28bef2b147..bf4163b194 100644 --- a/roles/sys-ctl-rpr-container-hard/README.md +++ b/roles/sys-ctl-rpr-container-hard/README.md @@ -12,6 +12,19 @@ Optimized for containerized environments, this role: - Configures a systemd service (and optionally a timer) to execute the restart script. - Handles both standard restarts and hard restarts for specific containers (e.g., for Mailu). +## Cosmos + +The diagram places Docker Auto Restart in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-rpr-container-hard ๐Ÿ’ป] + svc_container_hard["container-hard"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to ensure that all Docker Compose services are restarted consistently, resolving issues that may arise from partial restarts. This helps maintain overall service stability and minimizes downtime. @@ -23,6 +36,12 @@ The primary purpose of this role is to ensure that all Docker Compose services a - **Conditional Hard Restart:** Applies a hard restart procedure for specific directories (e.g., Mailu). - **Systemd Integration:** Configures a systemd service and optionally a timer for scheduled restarts. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Context This role was implemented to address the classic issue: ["Have you tried turning it off and on again?"](https://www.youtube.com/watch?v=rksCTVFtjM4). The problem initially arose with the `fetchmail` container in Mailu, which fails if only some containers, and not the full compose composition, are restarted. diff --git a/roles/sys-ctl-rpr-container-soft/README.md b/roles/sys-ctl-rpr-container-soft/README.md index 9782a54160..464dc67c96 100644 --- a/roles/sys-ctl-rpr-container-soft/README.md +++ b/roles/sys-ctl-rpr-container-soft/README.md @@ -8,6 +8,19 @@ This Ansible role automatically restarts Docker Compose configurations with exit Tailored for Arch Linux, this role monitors containers for failure states and initiates a controlled restart of affected Compose configurations. If port conflicts prevent recovery, the role stops the affected stack, restarts Docker, and recreates the container environment. +## Cosmos + +The diagram places Docker Healer in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-ctl-rpr-container-soft ๐Ÿ’ป] + svc_container_soft["container-soft"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide automated healing for Docker Compose environments, minimizing manual recovery effort and reducing downtime. @@ -18,3 +31,9 @@ The purpose of this role is to provide automated healing for Docker Compose envi - **Automated Recovery:** Restarts failed containers and resolves port binding issues. - **Run-once Setup Logic:** Ensures idempotent execution by controlling task flow with internal flags. - **System Role Integration:** Seamlessly integrates with Infinito.Nexus system maintenance logic. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-daemon/README.md b/roles/sys-daemon/README.md index 45c73b1775..4f4c0b2116 100644 --- a/roles/sys-daemon/README.md +++ b/roles/sys-daemon/README.md @@ -12,6 +12,19 @@ It ensures a clean state of the manager configuration and applies default timeou - Applies default timeout values for systemd manager behavior. - Provides handler-based reload/reexec for systemd. +## Cosmos + +The diagram places sys-daemon in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-daemon ๐Ÿ’ป] + svc_daemon["daemon"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Drop-in Purge:** Optionally remove `/etc/systemd/system.conf.d` contents. @@ -24,3 +37,9 @@ It ensures a clean state of the manager configuration and applies default timeou - [systemd - Manager Configuration](https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html) - [systemd-analyze](https://www.freedesktop.org/software/systemd/man/systemd-analyze.html) - [systemctl](https://www.freedesktop.org/software/systemd/man/systemctl.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-dns-cloudflare-records/README.md b/roles/sys-dns-cloudflare-records/README.md index daa9dcd481..0d807e5264 100644 --- a/roles/sys-dns-cloudflare-records/README.md +++ b/roles/sys-dns-cloudflare-records/README.md @@ -11,6 +11,19 @@ This role wraps `community.general.cloudflare_dns` and applies records from a si structured variable (`cloudflare_records`). It supports async operations and can be used to provision all required records for a service in one task. +## Cosmos + +The diagram places Cloudflare DNS Records in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-dns-cloudflare-records ๐Ÿ’ป] + svc_cloudflare_records["cloudflare-records"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Data-driven input for multiple record types @@ -22,3 +35,9 @@ can be used to provision all required records for a service in one task. - [Cloudflare Dashboard โ†’ API Tokens](https://dash.cloudflare.com/profile/api-tokens) - [Ansible Collection: community.general.cloudflare_dns](https://docs.ansible.com/ansible/latest/collections/community/general/cloudflare_dns_module.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-dns-hetzner-rdns/README.md b/roles/sys-dns-hetzner-rdns/README.md index 55b6dfe5c0..28d2d03072 100644 --- a/roles/sys-dns-hetzner-rdns/README.md +++ b/roles/sys-dns-hetzner-rdns/README.md @@ -8,6 +8,25 @@ Generic role to manage reverse DNS (PTR) for Hetzner Cloud resources (server, pr This role generic role to manage reverse DNS (PTR) for Hetzner Cloud resources (server, primary_ip, floating_ip, load_balancer). +## Cosmos + +The diagram places Hetzner Reverse DNS in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-dns-hetzner-rdns ๐Ÿ’ป] + svc_hetzner_rdns["hetzner-rdns"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-dns-wildcards/README.md b/roles/sys-dns-wildcards/README.md index 9337869af2..39bccc5875 100644 --- a/roles/sys-dns-wildcards/README.md +++ b/roles/sys-dns-wildcards/README.md @@ -14,10 +14,29 @@ Examples: This role create Cloudflare wildcard DNS records (*.parent) for parent hosts; no base or*.apex records. +## Cosmos + +The diagram places sys-dns-wildcards in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-dns-wildcards ๐Ÿ’ป] + svc_wildcards["wildcards"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Inputs - parent_dns_domains (list[str], optional): FQDNs to evaluate. If empty, the role flattens CURRENT_PLAY_DOMAINS_ALL. diff --git a/roles/sys-front-inj-all/README.md b/roles/sys-front-inj-all/README.md index d92c7c1b23..8baac6c94e 100644 --- a/roles/sys-front-inj-all/README.md +++ b/roles/sys-front-inj-all/README.md @@ -10,6 +10,19 @@ This role enhances your NGINX configuration by conditionally injecting global Ma This role core role for Nginx HTML injection of Matomo, theming, iFrame and JS snippets based on application feature flags. +## Cosmos + +The diagram places NGINX Global Matomo & Theming Modifier Role in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-all ๐Ÿ’ป] + svc_all["all"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Global Matomo Tracking** @@ -22,3 +35,9 @@ This role core role for Nginx HTML injection of Matomo, theming, iFrame and JS s Uses NGINX's `sub_filter` to insert the tracking and theming snippets right before the closing `` tag of your HTML documents. This will automatically activate Matomo tracking and/or global theming based on your configuration. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-inj-all/filter_plugins/inj_snippets.py b/roles/sys-front-inj-all/filter_plugins/inj_snippets.py index 9550a136fd..c3adc185b3 100644 --- a/roles/sys-front-inj-all/filter_plugins/inj_snippets.py +++ b/roles/sys-front-inj-all/filter_plugins/inj_snippets.py @@ -2,6 +2,7 @@ Jinja filter: `inj_features(kind)` filters a list of features to only those that actually provide the corresponding snippet template file. +- kind='top' -> roles/sys-front-inj-/templates/top_sub.j2 - kind='head' -> roles/sys-front-inj-/templates/head_sub.j2 - kind='body' -> roles/sys-front-inj-/templates/body_sub.j2 @@ -24,8 +25,8 @@ def _feature_role_dir(feature: str) -> str: def _has_snippet(feature: str, kind: str) -> bool: - if kind not in ("head", "body"): - raise ValueError("kind must be 'head' or 'body'") + if kind not in ("top", "head", "body"): + raise ValueError("kind must be 'top', 'head' or 'body'") role_dir = _feature_role_dir(feature) if not Path(role_dir).is_dir(): diff --git a/roles/sys-front-inj-all/tasks/main.yml b/roles/sys-front-inj-all/tasks/main.yml index a23b9673ac..b00fb1ec24 100644 --- a/roles/sys-front-inj-all/tasks/main.yml +++ b/roles/sys-front-inj-all/tasks/main.yml @@ -13,6 +13,7 @@ - name: ๐Ÿ”จ Build injection facts for '{{ domain }}' set_fact: inj_enabled: "{{ lookup('applications') | inj_enabled(application_id, SRV_WEB_INJ_COMP_FEATURES_ALL) }}" + inj_top_features: "{{ SRV_WEB_INJ_COMP_FEATURES_ALL | inj_features('top') }}" inj_head_features: "{{ SRV_WEB_INJ_COMP_FEATURES_ALL | inj_features('head') }}" inj_body_features: "{{ SRV_WEB_INJ_COMP_FEATURES_ALL | inj_features('body') }}" @@ -28,10 +29,10 @@ public: true when: inj_enabled.dashboard -- name: "๐ŸŸข Activate Corporate CSS for '{{ domain }}'" +- name: "๐ŸŸข Activate Corporate Design for '{{ domain }}'" include_role: - name: sys-front-inj-css - when: inj_enabled.css + name: sys-front-inj-design + when: inj_enabled.design - name: "๐ŸŸข Activate Matomo Tracking for '{{ domain }}'" include_role: diff --git a/roles/sys-front-inj-all/templates/body_filter.lua.j2 b/roles/sys-front-inj-all/templates/body_filter.lua.j2 index 479872e5bb..42e62507db 100644 --- a/roles/sys-front-inj-all/templates/body_filter.lua.j2 +++ b/roles/sys-front-inj-all/templates/body_filter.lua.j2 @@ -68,14 +68,29 @@ local function onionize(s) return s end +local function marked(snippets) + return "" .. table.concat(snippets, "\n") .. "" +end + -- Remove inline CSP (case-insensitive) local meta_re = [[]+http-equiv=["']Content-Security-Policy["'][^>]*>\s*]] whole = ngx.re.gsub(whole, meta_re, "", "ijo") +local top_snippets = {} +{{ push_snippets('top_snippets', inj_top_features) }} +if #top_snippets > 0 then + local top_payload = onionize(marked(top_snippets)) + local function repl_top(m) return m[0] .. top_payload end + local with_top = ngx.re.sub(whole, [[]*>]], repl_top, "ijo") + if with_top then + whole = with_top + end +end + -- Build head snippets (rendered by Jinja at template time) local head_snippets = {} {{ push_snippets('head_snippets', inj_head_features) }} -local head_payload = onionize(table.concat(head_snippets, "\n")) .. "" +local head_payload = onionize(marked(head_snippets)) .. "" -- Inject before (first occurrence) local function repl_head(_) return head_payload end @@ -86,7 +101,7 @@ else ngx.log(ngx.WARN, "No found; trying fallback: ", err or "nil") -- Fallback: inject right AFTER the opening tag local body_open_re = [[]*>]] - new, n, err = ngx.re.sub(whole, body_open_re, "$0\n" .. table.concat(head_snippets, "\n"), "ijo") + new, n, err = ngx.re.sub(whole, body_open_re, "$0\n" .. marked(head_snippets), "ijo") if new then whole = new else @@ -97,7 +112,7 @@ end -- Build body snippets (rendered by Jinja at template time) local body_snippets = {} {{ push_snippets('body_snippets', inj_body_features) }} -local body_payload = onionize(table.concat(body_snippets, "\n")) .. "" +local body_payload = onionize(marked(body_snippets)) .. "" -- Inject before (first occurrence), or append if missing local function repl_body(_) return body_payload end @@ -106,7 +121,7 @@ if new then whole = new else ngx.log(ngx.WARN, "No found; appending body snippets at end: ", err or "nil") - whole = whole .. table.concat(body_snippets, "\n") + whole = whole .. marked(body_snippets) end -- Emit the modified HTML diff --git a/roles/sys-front-inj-all/vars/main.yml b/roles/sys-front-inj-all/vars/main.yml index 82aa57a91c..c90df1b282 100644 --- a/roles/sys-front-inj-all/vars/main.yml +++ b/roles/sys-front-inj-all/vars/main.yml @@ -4,6 +4,6 @@ SRV_WEB_INJ_COMP_FEATURES_ALL: - "javascript" - "logout" - - "css" + - "design" - "matomo" - "dashboard" diff --git a/roles/sys-front-inj-css/README.md b/roles/sys-front-inj-css/README.md deleted file mode 100644 index 7b4e782e8f..0000000000 --- a/roles/sys-front-inj-css/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Global CSS Injection for NGINX - -## Description - -This Ansible role ensures **consistent global theming** across all NGINX-served applications by injecting CSS files. -The role leverages [`colorscheme-generator`](https://github.com/kevinveenbirkenbach/colorscheme-generator/) to generate a dynamic, customizable color palette for light and dark mode, compatible with popular web tools like **Bootstrap**, **Keycloak**, **Nextcloud**, **Taiga**, **Mastodon**, and many more. - -## Overview - -This role deploys a centralized global stylesheet that overrides the default theming of web applications served via NGINX. It's optimized to run only once per deployment and generates a **cache-busting version number** based on file modification timestamps. -It includes support for **dark mode**, **custom fonts**, and **extensive Bootstrap and UI component overrides**. - -## Purpose - -The goal of this role is to provide a **single source of truth for theming** across your infrastructure. -It makes all applications feel like part of the same ecosystem, visually and functionally. - -## Features - -- ๐ŸŽจ **Dynamic Theming** via [`colorscheme-generator`](https://github.com/kevinveenbirkenbach/colorscheme-generator/) -- ๐Ÿ“ **Unified CSS Base Configuration** deployment for all NGINX applications -- ๐ŸŒ’ **Dark mode support** out of the box -- ๐Ÿšซ **No duplication** โ€“ tasks run once per deployment -- โฑ๏ธ **Versioning logic** to bust browser cache -- ๐ŸŽฏ **Bootstrap override compatibility** -- ๐Ÿงฉ **Theme support for Keycloak, Nextcloud, Gitea, LAM, Peertube, and more** diff --git a/roles/sys-front-inj-css/tasks/00_core.yml b/roles/sys-front-inj-css/tasks/00_core.yml deleted file mode 100644 index 37f9fc5109..0000000000 --- a/roles/sys-front-inj-css/tasks/00_core.yml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: โš™๏ธ Generate color palette with colorscheme-generator - set_fact: - CSS_COLOR_PALETTE: "{{ lookup('colorscheme', CSS_BASE_COLOR, count=CSS_COUNT, shades=CSS_SHADES) }}" - -- name: โš™๏ธ Generate inverted color palette with colorscheme-generator - set_fact: - CSS_COLOR_PALETTE_INVERTED: "{{ lookup('colorscheme', CSS_BASE_COLOR, count=CSS_COUNT, shades=CSS_SHADES, invert_lightness=True) }}" - -- name: "๐Ÿงฎ Compute deterministic gradient angle from default.css template mtime" - set_fact: - CSS_GRADIENT_ANGLE: >- - {{ - ( - lookup( - 'local_mtime_qs', - lookup('path_absolute', 'roles', 'sys-front-inj-css', 'templates', 'css', 'default.css.j2') - ) - | regex_replace('^.*=', '') - | int - ) % 360 - }} - -- name: ๐Ÿš€ Deploy default CSS files - stack_host_template: - src: "{{ ['css', css_file ~ '.j2'] | path_join }}" - dest: "{{ [lookup('cdn', 'web-svc-cdn').shared.css, css_file] | path_join }}" - mode: "0644" - loop: "{{ CSS_FILES }}" - loop_control: - loop_var: css_file - -- include_tasks: utils/once/flag.yml diff --git a/roles/sys-front-inj-css/tasks/main.yml b/roles/sys-front-inj-css/tasks/main.yml deleted file mode 100644 index c201c13f0b..0000000000 --- a/roles/sys-front-inj-css/tasks/main.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- include_tasks: 00_core.yml - when: run_once_sys_front_inj_css is not defined - -- name: "๐Ÿ” Resolve optional app style.css source for '{{ application_id }}'" - vars: - app_role_dir: "{{ lookup('path_absolute', 'roles', application_id) }}" - _app_style_src: >- - {{ lookup('first_found', { - 'files': ['templates/style.css.j2','files/style.css'], - 'paths': [app_role_dir] - }, errors='ignore') | default('', true) }} - set_fact: - app_style_src: "{{ _app_style_src }}" - app_style_present: "{{ _app_style_src | length > 0 }}" - -- name: "๐Ÿš€ Deploy per-app '{{ app_style_src }}' to '{{ css_app_dst }}'" - when: app_style_present | bool - copy: - content: "{{ lookup('template', app_style_src) }}" - dest: "{{ css_app_dst }}" - mode: "0644" diff --git a/roles/sys-front-inj-css/templates/css/bootstrap.css.j2 b/roles/sys-front-inj-css/templates/css/bootstrap.css.j2 deleted file mode 100644 index a17c08c320..0000000000 --- a/roles/sys-front-inj-css/templates/css/bootstrap.css.j2 +++ /dev/null @@ -1,63 +0,0 @@ - -/* Buttons (Background, Text, Border, and Shadow) - Now using a button background that is only slightly darker than the overall background */ -html[native-dark-active] .btn, .btn { - background-color: var(--color-01-87); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-70), var(--color-01-91), var(--color-01-95), var(--color-01-95)); - color: var(--color-01-50); - border-color: var(--color-01-80); - cursor: pointer; -} - -/* Navigation (Background and Text Colors) */ -.navbar, .navbar-light, .navbar-dark, .navbar.bg-light { - background-color: var(--color-01-90); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-85), var(--color-01-90), var(--color-01-91), var(--color-01-95)); - color: var(--color-01-50); - border-color: var(--color-01-85); -} - -.navbar a { - color: var(--color-01-40); -} - -.navbar a.dropdown-item { - color: var(--color-01-43); -} - -/* Cards / Containers (Background, Border, and Shadow) - Cards now use a slightly lighter background and a bold, clear shadow */ -.card { - background-color: var(--color-01-90); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-85), var(--color-01-90), var(--color-01-91), var(--color-01-95)); - border-color: var(--color-01-85); - color: var(--color-01-12); -} - -.card-body { - color: var(--color-01-40); -} - -.navbar .dropdown-menu, -.nav-item .dropdown-menu { - background-color: var(--color-01-80); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-75), var(--color-01-80), var(--color-01-81), var(--color-01-85)); - color: var(--color-01-40); -} - -.navbar-nav { - --bs-nav-link-hover-color: var(--color-01-17); -} - -.dropdown-item { - color: var(--color-01-40); - background-color: var(--color-01-80); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-75), var(--color-01-80), var(--color-01-81), var(--color-01-85)); -} - -.dropdown-item:hover, -.dropdown-item:focus { - background-color: var(--color-01-65); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-60), var(--color-01-65), var(--color-01-66), var(--color-01-70)); - color: var(--color-01-40); -} diff --git a/roles/sys-front-inj-css/templates/css/default.css.j2 b/roles/sys-front-inj-css/templates/css/default.css.j2 deleted file mode 100644 index b47872f93f..0000000000 --- a/roles/sys-front-inj-css/templates/css/default.css.j2 +++ /dev/null @@ -1,251 +0,0 @@ -/*** -Global Theming Styles โ€“ Color and Shadow Variables -HINT: -- Better overwritte CSS variables instead of individual elements. -- Don't use !important. If possible use a specific selector. -*/ -{% if design.font.import_url %} -@import url('{{ design.font.import_url }}'); -{% endif %} -/* Auto-generated by colorscheme-generator */ -:root { - {% for var_name, color in CSS_COLOR_PALETTE.items() %} - {{ var_name }}: {{ color }}; - {% endfor %} -} -@media (prefers-color-scheme: dark) { - :root { - {% for var_name, color in CSS_COLOR_PALETTE_INVERTED.items() %} - {{ var_name }}: {{ color }}; - {% endfor %} - } -} -:root, ::after, ::before, ::backdrop { - --native-dark-accent-color: var(--color-01-60); - --native-dark-bg-color: var(--color-01-10); - --native-dark-bg-image-color: rgba(var(--color-rgb-01-01), 0.10); - --native-dark-border-color: var(--color-01-40); - --native-dark-box-shadow: 0 0 0 1px rgb(var(--color-rgb-01-99), / 10%); - --native-dark-cite-color: var(--color-01-70); - --native-dark-fill-color: var(--color-01-50); - --native-dark-font-color: var(--color-01-95); - --native-dark-link-color: var(--color-01-80); - --native-dark-visited-link-color: var(--color-01-85); -} -/* Bootstrap Overrides (Color/Shadow Variables Only) */ -:root { - --bs-black: var(--color-01-01); - --bs-white: var(--color-01-99); - --bs-gray: var(--color-01-50); - --bs-gray-dark: var(--color-01-20); -{% for i in range(1, 10) %} - {% set gray = i * 100 %} - {% set color = 100 - i * 10 %} - --bs-gray-{{ gray }}: var(--color-01-{{ "%02d" % color }}); -{% endfor %} - --bs-primary: var(--color-01-65); - --bs-light: var(--color-01-95); - --bs-dark: var(--color-01-10); - --bs-primary-rgb: var(--color-rgb-01-65); - --bs-secondary-rgb: var(--color-rgb-01-50); - --bs-light-rgb: var(--color-rgb-01-95); - --bs-dark-rgb: var(--color-rgb-01-10); - --bs-white-rgb: var(--color-rgb-01-99); - --bs-black-rgb: var(--color-rgb-01-01); - --bs-body-color-rgb: var(--color-rgb-01-10); - --bs-body-bg-rgb: var(--color-rgb-01-99); - --bs-body-color: var(--color-01-10); - --bs-body-bg: var(--color-01-99); - --bs-border-color: var(--color-01-85); - --bs-link-color: var(--color-01-65); - --bs-link-hover-color: var(--color-01-60); - --bs-code-color: var(--color-01-55); - --bs-highlight-bg: var(--color-01-93); - --bs-list-group-bg: var(--color-01-40); - --bs-emphasis-color: var(--color-01-01); - --bs-emphasis-color-rgb: var(--color-rgb-01-01); - --bs-secondary-color: rgba(var(--color-rgb-01-10), 0.75); - --bs-secondary-color-rgb: var(--color-rgb-01-10); - --bs-secondary-bg: var(--color-01-90); - --bs-secondary-bg-rgb: var(--color-rgb-01-90); - --bs-tertiary-color: rgba(var(--color-rgb-01-10), 0.5); - --bs-tertiary-color-rgb: var(--color-rgb-01-10); - --bs-tertiary-bg: var(--color-01-95); - --bs-tertiary-bg-rgb: var(--color-rgb-01-95); - --bs-link-color-rgb: var(--color-rgb-01-65); - --bs-link-hover-color-rgb: var(--color-rgb-01-60); - --bs-highlight-color: var(--color-01-10); - --bs-border-color-translucent: rgba(var(--color-rgb-01-01), 0.175); - --bs-focus-ring-color: rgba(var(--color-rgb-01-65), 0.25); - --bs-table-color: var(--bs-emphasis-color); - --bs-table-bg: var(--color-01-99); - --bs-table-border-color: var(--color-01-99); - --bs-table-striped-bg: var(--color-01-85); - --bs-table-hover-color: var(--color-01-01); - --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075); -} -/* Global Defaults (Colors Only) */ -body, html[native-dark-active] { - background-color: var(--color-01-93); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-93), var(--color-01-91), var(--color-01-95), var(--color-01-93)); - background-attachment: fixed; - color: var(--color-01-40); - font-family: {{ design.font.type }}; -} -{# All links (applies to all anchor elements regardless of state) #} -a { - color: var(--color-01-50); -} -{# Unvisited links (applies only to links that have not been visited) #} -a:link { - color: var(--color-01-55); -} -{# Visited links (applies only to links that have been visited) #} -a:visited { - color: var(--color-01-45); -} -{# Hover state (applies when the mouse pointer is over the link) #} -a:hover { - color: var(--color-01-60); -} -{# Active state (applies during the time the link is being activated, e.g., on click) #} -a:active { - color: var(--color-01-65); -} -/** Set default buttons transparent **/ -html[native-dark-active] button, button{ - background-color: var(--color-01-87); -} -button:hover, -.btn:not(.stretched-link):hover { - filter: brightness(0.9); -} -input:invalid, -textarea:invalid, -select:invalid { - background-color: var(--color-01-01); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-01), var(--color-01-10)); - color: var(--bs-danger); - border-color: var(--color-01-20); -} -input:valid, -textarea:valid, -select:valid { - background-color: var(--color-01-80); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-80), var(--color-01-90)); - color: var(--bs-success); - border-color: var(--color-01-70); -} -input:required, -textarea:required, -select:required { - background-color: var(--color-01-50); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-50), var(--color-01-60)); - color: var(--bs-warning); - border-color: var(--color-01-70); -} -input:optional, -textarea:optional, -select:optional { - background-color: var(--color-01-60); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-60), var(--color-01-70)); - color: var(--bs-info); - border-color: var(--color-01-70); -} -input:read-only, -textarea:read-only, -select:read-only { - background-color: var(--color-01-80); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-90), var(--color-01-70)); - color: var(--color-01-20); - border-color: var(--color-01-50); -} -input:read-write, -textarea:read-write, -select:read-write { - background-color: var(--color-01-70); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-70), var(--color-01-80)); - color: var(--color-01-40); - border-color: var(--color-01-70); -} -input:in-range, -textarea:in-range, -select:in-range { - background-color: var(--color-01-70); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-70), var(--color-01-85)); - color: var(--color-01-40); - border-color: var(--color-01-70); -} -input:out-of-range, -textarea:out-of-range, -select:out-of-range { - background-color: var(--color-01-10); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-10), var(--color-01-30)); - color: var(--color-01-10); - border-color: var(--color-01-50); -} -input:placeholder-shown, -textarea:placeholder-shown, -select:placeholder-shown { - background-color: var(--color-01-82); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-82), var(--color-01-90)); - color: var(--color-01-40); - border-color: var(--color-01-70); -} -input:focus, -textarea:focus, -select:focus { - background-color: var(--color-01-75); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-75), var(--color-01-85)); - color: var(--color-01-40); - border-color: var(--color-01-50); -} -input:hover, -textarea:hover, -select:hover { - background-color: var(--color-01-78); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-78), var(--color-01-88)); - color: var(--color-01-40); - border-color: var(--color-01-65); -} -input:active, -textarea:active, -select:active { - background-color: var(--color-01-68); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-68), var(--color-01-78)); - color: var(--color-01-40); - border-color: var(--color-01-60); -} -/* {# Checked state: specifically for radio buttons and checkboxes when selected. #} */ -input:checked { - background-color: var(--color-01-90); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-90), var(--color-01-99)); - color: var(--color-01-40); - border-color: var(--color-01-70); -} -input[type="checkbox"] { - appearance: auto; - -webkit-appearance: auto; - -moz-appearance: auto; - background: none; -} -option { - background-color: var(--color-01-82); - color: var(--color-01-07); -} -/* Tables (Borders and Header Colors) */ -th, td { - border-color: var(--color-01-70); -} -thead { - background-color: var(--color-01-80); - background: linear-gradient({{ CSS_GRADIENT_ANGLE }}deg, var(--color-01-75), var(--color-01-80), var(--color-01-81), var(--color-01-85)); - color: var(--color-01-40); -} -/* Headings (Text Color) */ -h1, h2, h3, h4, h5, h6, p{ - color: var(--color-01-10); -} -label { - color: var(--color-01-20); -} diff --git a/roles/sys-front-inj-css/vars/main.yml b/roles/sys-front-inj-css/vars/main.yml deleted file mode 100644 index a46afaba99..0000000000 --- a/roles/sys-front-inj-css/vars/main.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# Constants -CSS_FILES: ["default.css", "bootstrap.css"] -CSS_BASE_COLOR: "{{ design.css.colors.base }}" -CSS_COUNT: 7 -CSS_SHADES: 100 - -# Variables -css_app_dst: "{{ [lookup('cdn', application_id).role.release.css, 'style.css'] | path_join }}" diff --git a/roles/sys-front-inj-dashboard/README.md b/roles/sys-front-inj-dashboard/README.md index 3a96aaffdc..89d920df61 100644 --- a/roles/sys-front-inj-dashboard/README.md +++ b/roles/sys-front-inj-dashboard/README.md @@ -11,6 +11,19 @@ This Ansible role injects a small JavaScript snippet into your HTML responses th This role injects a JS snippet into HTML to notify parent windows of iframe location changes and force external links to new tabs. +## Cosmos + +The diagram places iFrame Notifier for NGINX in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-dashboard ๐Ÿ’ป] + svc_dashboard["dashboard"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Location Change Notification** @@ -21,3 +34,9 @@ This role injects a JS snippet into HTML to notify parent windows of iframe loca - **Easy CSP Integration** Calculates a CSP hash for the injected script so you can safely allow it via your Content Security Policy. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-inj-design/README.md b/roles/sys-front-inj-design/README.md new file mode 100644 index 0000000000..dfbe05b6e1 --- /dev/null +++ b/roles/sys-front-inj-design/README.md @@ -0,0 +1,47 @@ +# Corporate Design Injection for NGINX + +## Description + +This Ansible role injects the corporate design into every NGINX-served application whose `design` service is enabled. +It derives the design tokens from the single base color in `web-svc-design` through the [design_palette](../../plugins/lookup/design_palette.py) lookup (OKLCH, WCAG 2.2 contrast by construction) and maps them onto Bootstrap and common app variables. + +## Overview + +The role renders the shared `default.css` and `bootstrap.css` once per deployment onto the CDN, links them with a cache-busting version, and adds the role's own `style.css` and `design.js` when the role ships them. +Light and dark tokens switch with `prefers-color-scheme`; a role mirrors an app-native theme switch through ``. + +## Cosmos + +The diagram places Corporate Design Injection for NGINX in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-design ๐Ÿ’ป] + svc_design["design"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + +## Purpose + +The goal of this role is to provide a **single source of truth for theming** across your infrastructure. +It makes all applications feel like part of the same ecosystem, visually and functionally. + +## Features + +- ๐ŸŽจ **Semantic design tokens** derived from one base color in OKLCH +- โ™ฟ **WCAG 2.2 contrast** guaranteed for text, links, controls and status colors +- ๐Ÿ“ **Unified CSS Base Configuration** deployment for all NGINX applications +- ๐ŸŒ’ **Dark mode** via `prefers-color-scheme` or an app-native switch +- ๐Ÿงฉ **Design script channel** for a role's `design.js.j2` +- ๐Ÿšซ **No duplication** โ€“ tasks run once per deployment +- โฑ๏ธ **Versioning logic** to bust browser cache +- ๐ŸŽฏ **Bootstrap override compatibility** +- ๐Ÿงฉ **Theme support for Keycloak, Nextcloud, Gitea, LAM, Peertube, and more** + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-inj-css/meta/main.yml b/roles/sys-front-inj-design/meta/main.yml similarity index 83% rename from roles/sys-front-inj-css/meta/main.yml rename to roles/sys-front-inj-design/meta/main.yml index 84f1182859..f2d5ff28da 100644 --- a/roles/sys-front-inj-css/meta/main.yml +++ b/roles/sys-front-inj-design/meta/main.yml @@ -1,7 +1,7 @@ --- galaxy_info: author: Kevin Veen-Birkenbach - description: Global stylesheet injection for NGINX-served apps, unifying light and dark theming from a dynamic colorscheme + description: Corporate design injection for NGINX-served apps, unifying light and dark theming from OKLCH design tokens license: Infinito.Nexus Community License (Non-Commercial) company: | Kevin Veen-Birkenbach diff --git a/roles/sys-front-inj-css/meta/services.yml b/roles/sys-front-inj-design/meta/services.yml similarity index 91% rename from roles/sys-front-inj-css/meta/services.yml rename to roles/sys-front-inj-design/meta/services.yml index a7afbeaefe..5b2983f58d 100644 --- a/roles/sys-front-inj-css/meta/services.yml +++ b/roles/sys-front-inj-design/meta/services.yml @@ -1,4 +1,4 @@ --- # nocheck: required-by-coverage โ€” TODO: declare proper required_by -css: +design: lifecycle: beta diff --git a/roles/sys-front-inj-design/tasks/00_core.yml b/roles/sys-front-inj-design/tasks/00_core.yml new file mode 100644 index 0000000000..8287d1e849 --- /dev/null +++ b/roles/sys-front-inj-design/tasks/00_core.yml @@ -0,0 +1,15 @@ +--- +- name: ๐ŸŽจ Derive the corporate design palette from the base color + set_fact: + CSS_PALETTE: "{{ lookup('design_palette', CSS_BASE_COLOR) }}" + +- name: ๐Ÿš€ Deploy default CSS files + stack_host_template: + src: "{{ ['css', css_file ~ '.j2'] | path_join }}" + dest: "{{ [lookup('cdn', 'web-svc-cdn').shared.css, css_file] | path_join }}" + mode: "0644" + loop: "{{ CSS_FILES }}" + loop_control: + loop_var: css_file + +- include_tasks: utils/once/flag.yml diff --git a/roles/sys-front-inj-design/tasks/assets.yml b/roles/sys-front-inj-design/tasks/assets.yml new file mode 100644 index 0000000000..8c124c652a --- /dev/null +++ b/roles/sys-front-inj-design/tasks/assets.yml @@ -0,0 +1,17 @@ +--- +- name: "๐Ÿท๏ธ Resolve corporate branding for '{{ application_id }}'" + set_fact: + design_branding: "{{ lookup('design', application_id) }}" + +- name: "๐Ÿ–ผ๏ธ Render the branding assets of '{{ application_id }}'" + when: design_branding.logo is string + vars: + _palette: "{{ lookup('design_palette', CSS_BASE_COLOR) }}" + design_assets: + logo: "{{ design_branding.logo }}" + title: "{{ design_branding.title }}" + domain: "{{ design_branding.domain }}" + fill: "{{ _palette.light['--design-primary'] }}" + stroke: "{{ _palette.light['--design-on-primary'] }}" + slots: "{{ design_branding.slots }}" + dest: "{{ design_assets_dest }}" diff --git a/roles/sys-front-inj-design/tasks/main.yml b/roles/sys-front-inj-design/tasks/main.yml new file mode 100644 index 0000000000..58ad401980 --- /dev/null +++ b/roles/sys-front-inj-design/tasks/main.yml @@ -0,0 +1,54 @@ +--- +- include_tasks: 00_core.yml + when: run_once_sys_front_inj_design is not defined + +- name: "๐Ÿ” Resolve optional app style.css source for '{{ application_id }}'" + vars: + app_role_dir: "{{ lookup('path_absolute', 'roles', application_id) }}" + _app_style_src: >- + {{ lookup('first_found', { + 'files': ['templates/style.css.j2','files/style.css'], + 'paths': [app_role_dir] + }, errors='ignore') | default('', true) }} + _app_style_css: "{{ (lookup('template', _app_style_src) | trim) if _app_style_src | length > 0 else '' }}" + set_fact: + app_style_src: "{{ _app_style_src }}" + app_style_css: "{{ _app_style_css }}" + app_style_present: "{{ _app_style_css | length > 0 }}" + +- name: "๐Ÿš€ Deploy per-app '{{ app_style_src }}' to '{{ css_app_dst }}'" + when: app_style_present | bool + copy: + content: "{{ app_style_css }}" + dest: "{{ css_app_dst }}" + mode: "0644" + +- name: "๐Ÿงน Remove the per-app stylesheet '{{ css_app_dst }}' a role no longer ships" + when: not (app_style_present | bool) + ansible.builtin.file: + path: "{{ css_app_dst }}" + state: absent + +- name: "๐Ÿ–ผ๏ธ Publish corporate branding assets of '{{ application_id }}' on the CDN" + include_tasks: assets.yml + vars: + design_assets_dest: "{{ lookup('design', application_id).dest }}" + +- name: "๐Ÿ” Resolve optional design script for '{{ application_id }}'" + vars: + _design_js_src: >- + {{ lookup('first_found', { + 'files': ['templates/design.js.j2'], + 'paths': [lookup('path_absolute', 'roles', application_id)] + }, errors='ignore') | default('', true) }} + _design_js: "{{ (lookup('template', _design_js_src) | trim) if _design_js_src | length > 0 else '' }}" + set_fact: + design_js_one_liner: "{{ (_design_js | to_one_liner) if _design_js | length > 0 else '' }}" + +- name: "โž• Append design script CSP hash for '{{ application_id }}'" + when: design_js_one_liner | length > 0 + set_fact: + webserver_csp_hashes_extra_by_app: >- + {{ webserver_csp_hashes_extra_by_app | default({}) + | add_csp_hash(application_id, 'script-src-elem', design_js_one_liner) }} + changed_when: false diff --git a/roles/sys-front-inj-design/templates/css/bootstrap.css.j2 b/roles/sys-front-inj-design/templates/css/bootstrap.css.j2 new file mode 100644 index 0000000000..13c200af33 --- /dev/null +++ b/roles/sys-front-inj-design/templates/css/bootstrap.css.j2 @@ -0,0 +1,112 @@ +.btn { + border-radius: var(--design-radius); + cursor: pointer; +} +.btn:focus-visible, +.nav-link:focus-visible { + box-shadow: var(--design-focus-ring); +} +.btn-close:not(.btn-close-white), +.navbar-toggler-icon { + filter: brightness(0) invert(var(--design-invert)); +} +{% for fill in ['primary', 'success', 'warning', 'danger', 'info'] %} +.btn-{{ fill }} { + --bs-btn-bg: var(--design-{{ fill }}); + --bs-btn-border-color: var(--design-{{ fill }}); + --bs-btn-color: var(--design-on-{{ fill }}); + --bs-btn-hover-bg: var(--design-{{ fill }}-hover); + --bs-btn-hover-border-color: var(--design-{{ fill }}-hover); + --bs-btn-hover-color: var(--design-on-{{ fill }}); + --bs-btn-active-bg: var(--design-{{ fill }}-active); + --bs-btn-active-border-color: var(--design-{{ fill }}-active); + --bs-btn-active-color: var(--design-on-{{ fill }}); + --bs-btn-disabled-bg: var(--design-{{ fill }}); + --bs-btn-disabled-border-color: var(--design-{{ fill }}); + --bs-btn-disabled-color: var(--design-on-{{ fill }}); +} +{% endfor %} +.btn-secondary, +.btn-light, +.btn-outline-secondary { + --bs-btn-border-color: var(--design-border); + --bs-btn-color: var(--design-text); + --bs-btn-hover-bg: var(--design-surface-hover); + --bs-btn-hover-border-color: var(--design-border-strong); + --bs-btn-hover-color: var(--design-text); + --bs-btn-active-bg: var(--design-surface-active); + --bs-btn-active-border-color: var(--design-border-strong); + --bs-btn-active-color: var(--design-text); + --bs-btn-disabled-border-color: var(--design-border); + --bs-btn-disabled-color: var(--design-text-muted); +} +.btn-secondary, +.btn-light { + --bs-btn-bg: var(--design-surface-3); + --bs-btn-disabled-bg: var(--design-surface-3); +} +.btn-outline-secondary { + --bs-btn-border-color: var(--design-border-strong); +} +.btn-outline-primary { + --bs-btn-color: var(--design-link); + --bs-btn-border-color: var(--design-link); + --bs-btn-hover-bg: var(--design-primary); + --bs-btn-hover-border-color: var(--design-primary); + --bs-btn-hover-color: var(--design-on-primary); + --bs-btn-active-bg: var(--design-primary-active); + --bs-btn-active-border-color: var(--design-primary-active); + --bs-btn-active-color: var(--design-on-primary); + --bs-btn-disabled-border-color: var(--design-border); + --bs-btn-disabled-color: var(--design-text-muted); +} +.navbar, +.navbar.bg-light, +.navbar.bg-dark { + background-color: var(--design-surface-2); + border-bottom: 1px solid var(--design-border); + --bs-navbar-color: var(--design-text-muted); + --bs-navbar-hover-color: var(--design-text); + --bs-navbar-active-color: var(--design-text); + --bs-navbar-brand-color: var(--design-text); + --bs-navbar-brand-hover-color: var(--design-text); +} +.card { + --bs-card-bg: var(--design-surface-2); + --bs-card-border-color: var(--design-border); + --bs-card-color: var(--design-text); + --bs-card-cap-bg: var(--design-surface-3); + border-radius: var(--design-radius-lg); + box-shadow: var(--design-shadow-1); +} +.dropdown-menu { + --bs-dropdown-bg: var(--design-surface-2); + --bs-dropdown-color: var(--design-text); + --bs-dropdown-border-color: var(--design-border); + --bs-dropdown-link-color: var(--design-text); + --bs-dropdown-link-hover-color: var(--design-text); + --bs-dropdown-link-hover-bg: var(--design-surface-3); + --bs-dropdown-link-active-color: var(--design-on-primary); + --bs-dropdown-link-active-bg: var(--design-primary); + box-shadow: var(--design-shadow-2); +} +.form-control, +.form-select { + background-color: var(--design-surface-2); + color: var(--design-text); + border-color: var(--design-border-strong); +} +.form-control:focus, +.form-select:focus { + border-color: var(--design-link); + box-shadow: var(--design-focus-ring-inset); +} +.alert { + border-radius: var(--design-radius); +} +.modal-content { + --bs-modal-bg: var(--design-surface-2); + --bs-modal-color: var(--design-text); + --bs-modal-border-color: var(--design-border); + box-shadow: var(--design-shadow-3); +} diff --git a/roles/sys-front-inj-design/templates/css/default.css.j2 b/roles/sys-front-inj-design/templates/css/default.css.j2 new file mode 100644 index 0000000000..2a7dbe9afa --- /dev/null +++ b/roles/sys-front-inj-design/templates/css/default.css.j2 @@ -0,0 +1,197 @@ +{% macro tokens(mode) -%} +{% for name, value in CSS_PALETTE[mode].items() %} + {{ name }}: {{ value }}; +{% endfor %} + --design-shadow-color: {{ '0, 0, 0, 0.10' if mode == 'light' else '0, 0, 0, 0.45' }}; + --design-invert: {{ '0' if mode == 'light' else '1' }}; +{%- endmacro %} +{% if CSS_FONT.import_url %} +@import url('{{ CSS_FONT.import_url }}'); +{% endif %} +:root { +{{ tokens('light') }} +} +@media (prefers-color-scheme: dark) { + :root:not([data-design-theme="light"]) { +{{ tokens('dark') }} + } +} +:root[data-design-theme="dark"] { +{{ tokens('dark') }} +} +:root { + --design-font: {{ CSS_FONT.type }}; + --design-radius-sm: 4px; + --design-radius: 8px; + --design-radius-lg: 12px; + --design-space-1: 4px; + --design-space-2: 8px; + --design-space-3: 12px; + --design-space-4: 16px; + --design-space-5: 24px; + --design-space-6: 32px; + --design-shadow-1: 0 1px 2px rgba(var(--design-shadow-color)); + --design-shadow-2: 0 2px 8px rgba(var(--design-shadow-color)); + --design-shadow-3: 0 8px 24px rgba(var(--design-shadow-color)); + --design-focus-ring: 0 0 0 3px color-mix(in srgb, var(--design-link) 45%, transparent); + --design-focus-ring-inset: inset 0 0 0 1px var(--design-link); +} +:root { + --bs-font-sans-serif: var(--design-font); + --bs-body-font-family: var(--design-font); + --bs-body-color: var(--design-text); + --bs-body-color-rgb: var(--design-text-rgb); + --bs-body-bg: var(--design-surface-1); + --bs-body-bg-rgb: var(--design-surface-1-rgb); + --bs-emphasis-color: var(--design-text); + --bs-emphasis-color-rgb: var(--design-text-rgb); + --bs-secondary-color: var(--design-text-muted); + --bs-secondary-color-rgb: var(--design-text-muted-rgb); + --bs-secondary-bg: var(--design-surface-3); + --bs-secondary-bg-rgb: var(--design-surface-3-rgb); + --bs-tertiary-color: var(--design-text-muted); + --bs-tertiary-color-rgb: var(--design-text-muted-rgb); + --bs-tertiary-bg: var(--design-surface-2); + --bs-tertiary-bg-rgb: var(--design-surface-2-rgb); + --bs-primary: var(--design-primary); + --bs-primary-rgb: var(--design-primary-rgb); + --bs-secondary: var(--design-neutral-600); + --bs-secondary-rgb: var(--design-neutral-600-rgb); +{% for status in ['success', 'warning', 'danger', 'info'] %} + --bs-{{ status }}: var(--design-{{ status }}); + --bs-{{ status }}-rgb: var(--design-{{ status }}-rgb); + --bs-{{ status }}-text-emphasis: var(--design-{{ status }}); + --bs-{{ status }}-bg-subtle: var(--design-{{ status }}-subtle); + --bs-{{ status }}-border-subtle: var(--design-{{ status }}-border); +{% endfor %} + --bs-primary-text-emphasis: var(--design-link); + --bs-primary-bg-subtle: var(--design-primary-100); + --bs-primary-border-subtle: var(--design-primary-300); + --bs-light: var(--design-surface-2); + --bs-light-rgb: var(--design-surface-2-rgb); + --bs-dark: var(--design-neutral-900); + --bs-dark-rgb: var(--design-neutral-900-rgb); + --bs-white: var(--design-surface-2); + --bs-white-rgb: var(--design-surface-2-rgb); + --bs-black: var(--design-text); + --bs-black-rgb: var(--design-text-rgb); + --bs-gray: var(--design-neutral-500); + --bs-gray-dark: var(--design-neutral-800); +{% for step in [100, 200, 300, 400, 500, 600, 700, 800, 900] %} + --bs-gray-{{ step }}: var(--design-neutral-{{ step }}); +{% endfor %} + --bs-link-color: var(--design-link); + --bs-link-color-rgb: var(--design-link-rgb); + --bs-link-hover-color: var(--design-primary-800); + --bs-link-hover-color-rgb: var(--design-primary-800-rgb); + --bs-code-color: var(--design-danger); + --bs-highlight-color: var(--design-text); + --bs-highlight-bg: var(--design-warning-subtle); + --bs-border-color: var(--design-border); + --bs-border-color-translucent: rgba(var(--design-text-rgb), 0.15); + --bs-border-radius-sm: var(--design-radius-sm); + --bs-border-radius: var(--design-radius); + --bs-border-radius-lg: var(--design-radius-lg); + --bs-box-shadow-sm: var(--design-shadow-1); + --bs-box-shadow: var(--design-shadow-2); + --bs-box-shadow-lg: var(--design-shadow-3); + --bs-focus-ring-color: color-mix(in srgb, var(--design-link) 45%, transparent); + --bs-table-color: var(--design-text); + --bs-table-bg: transparent; + --bs-table-border-color: var(--design-border); + --bs-table-striped-bg: var(--design-surface-3); + --bs-table-hover-bg: rgba(var(--design-primary-rgb), 0.06); +} +@layer infinito-design { + :root { + color-scheme: light; + } + @media (prefers-color-scheme: dark) { + :root:not([data-design-theme="light"]) { + color-scheme: dark; + } + } + :root[data-design-theme="dark"] { + color-scheme: dark; + } + html { + accent-color: var(--design-primary); + scrollbar-color: var(--design-neutral-400) var(--design-surface-1); + } + body { + background-color: var(--design-surface-1); + color: var(--design-text); + font-family: var(--design-font); + } + ::selection { + background-color: var(--design-primary-200); + color: var(--design-text); + } + a { + color: var(--design-link); + } + a:hover { + color: var(--bs-link-hover-color); + } + :focus-visible { + outline: 2px solid var(--design-focus, var(--design-link)); + outline-offset: 2px; + } + button { + background-color: var(--design-surface-3); + color: var(--design-text); + border: 1px solid var(--design-border); + border-radius: var(--design-radius); + } + button:hover { + background-color: var(--design-surface-hover); + } + button:active { + background-color: var(--design-surface-active); + } + input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), + textarea, + select { + background-color: var(--design-surface-2); + color: var(--design-text); + border: 1px solid var(--design-border-strong); + border-radius: var(--design-radius); + } + input::placeholder, + textarea::placeholder { + color: var(--design-text-muted); + } + input:hover, + textarea:hover, + select:hover { + border-color: var(--design-primary); + } + input:focus-visible, + textarea:focus-visible, + select:focus-visible { + border-color: var(--design-focus, var(--design-link)); + outline-offset: -2px; + } + input:user-invalid, + textarea:user-invalid, + select:user-invalid { + border-color: var(--design-danger); + } + input:disabled, + textarea:disabled, + select:disabled { + background-color: var(--design-surface-3); + color: var(--design-text-muted); + } + option { + background-color: var(--design-surface-2); + color: var(--design-text); + } + th, td { + border-color: var(--design-border); + } + thead { + background-color: var(--design-surface-3); + color: var(--design-text); + } +} diff --git a/roles/sys-front-inj-design/templates/css/layer.css.j2 b/roles/sys-front-inj-design/templates/css/layer.css.j2 new file mode 100644 index 0000000000..084173e1aa --- /dev/null +++ b/roles/sys-front-inj-design/templates/css/layer.css.j2 @@ -0,0 +1 @@ +@layer infinito-design; diff --git a/roles/sys-front-inj-css/templates/head_sub.j2 b/roles/sys-front-inj-design/templates/head_sub.j2 similarity index 65% rename from roles/sys-front-inj-css/templates/head_sub.j2 rename to roles/sys-front-inj-design/templates/head_sub.j2 index cad0c98a0e..953bf53393 100644 --- a/roles/sys-front-inj-css/templates/head_sub.j2 +++ b/roles/sys-front-inj-design/templates/head_sub.j2 @@ -1,8 +1,11 @@ -{% set __css_tpl_dir = lookup('path_absolute', 'roles', 'sys-front-inj-css', 'templates', 'css') %} +{% set __css_tpl_dir = lookup('path_absolute', 'roles', 'sys-front-inj-design', 'templates', 'css') %} -{% for css_file in ['default.css','bootstrap.css'] %} +{% for css_file in ['default.css'] + (['bootstrap.css'] if lookup('design', application_id).bootstrap else []) %} {% endfor %} {% if app_style_present | default(false) | bool %} {% endif %} +{% if design_js_one_liner | length > 0 %} + +{% endif %} diff --git a/roles/sys-front-inj-design/templates/top_sub.j2 b/roles/sys-front-inj-design/templates/top_sub.j2 new file mode 100644 index 0000000000..af6bf2876b --- /dev/null +++ b/roles/sys-front-inj-design/templates/top_sub.j2 @@ -0,0 +1 @@ + diff --git a/roles/sys-front-inj-design/vars/main.yml b/roles/sys-front-inj-design/vars/main.yml new file mode 100644 index 0000000000..7b27dea0ef --- /dev/null +++ b/roles/sys-front-inj-design/vars/main.yml @@ -0,0 +1,8 @@ +--- +# Constants +CSS_FILES: ["layer.css", "default.css", "bootstrap.css"] +CSS_BASE_COLOR: "{{ lookup('config', 'web-svc-design', 'services.design.colors.base') }}" +CSS_FONT: "{{ lookup('config', 'web-svc-design', 'services.design.font') }}" + +# Variables +css_app_dst: "{{ [lookup('cdn', application_id).role.release.css, 'style.css'] | path_join }}" diff --git a/roles/sys-front-inj-javascript/README.md b/roles/sys-front-inj-javascript/README.md index 7dff41d020..13ae27da52 100644 --- a/roles/sys-front-inj-javascript/README.md +++ b/roles/sys-front-inj-javascript/README.md @@ -8,6 +8,19 @@ This Ansible role injects a custom JavaScript snippet into all HTML responses se This role injects a custom JavaScript snippet into Nginx-served HTML responses via sub_filter. +## Cosmos + +The diagram places Global JavaScript Injector for NGINX in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-javascript ๐Ÿ’ป] + svc_javascript["javascript"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **One-line Script Injection** @@ -21,3 +34,9 @@ This role injects a custom JavaScript snippet into Nginx-served HTML responses v - **Debug Mode** Supports an `MODE_DEBUG` flag that appends optional `console.log` statements for easier troubleshooting in staging or development. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-inj-logout/README.md b/roles/sys-front-inj-logout/README.md index 01973fc97e..0ef9aac2f1 100644 --- a/roles/sys-front-inj-logout/README.md +++ b/roles/sys-front-inj-logout/README.md @@ -13,6 +13,19 @@ The `sys-front-inj-logout` Ansible role automatically embeds a lightweight JavaS - **Dynamic content support**: Uses a `MutationObserver` to handle AJAXโ€‘loaded or dynamically injected logout elements. - **CSP integration**: Automatically appends the required script hash into your CSP policy via the roleโ€™s CSP helper. +## Cosmos + +The diagram places sys-front-inj-logout in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-logout ๐Ÿ’ป] + svc_logout["logout"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Seamless injection via NGINX `sub_filter` on ``. @@ -27,3 +40,9 @@ The `sys-front-inj-logout` Ansible role automatically embeds a lightweight JavaS - [OpenID Connect RP-Initiated Logout](https://openid.net/specs/openid-connect-session-1_0.html#RPLogout) - [NGINX `sub_filter` Module](http://NGINX.org/en/docs/http/ngx_http_sub_module.html) - [Ansible Role Directory Structure](https://docs.ansible.com/ansible/latest/user_guide/playbooks_roles.html#role-directory-structure) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-inj-matomo/README.md b/roles/sys-front-inj-matomo/README.md index cb7e649167..e2997e0e12 100644 --- a/roles/sys-front-inj-matomo/README.md +++ b/roles/sys-front-inj-matomo/README.md @@ -8,12 +8,31 @@ This Ansible role automates the integration of Matomo tracking code into NGINX-s This role injects Matomo analytics tracking code and noscript image tracker into Nginx-served HTML pages. +## Cosmos + +The diagram places NGINX Matomo Tracking Role in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-inj-matomo ๐Ÿ’ป] + svc_matomo["matomo"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Automated insertion of Matomo tracking script into the `` tag of HTML pages. - Integration of a noscript image tracker before the `` tag for tracking users with JavaScript disabled. - Configuration to apply changes on every request, ensuring that dynamic content and single-page applications are also tracked. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Requirements - NGINX installed on the target server. diff --git a/roles/sys-front-tls-letsencrypt/README.md b/roles/sys-front-tls-letsencrypt/README.md index a28315fe31..48f6f11264 100644 --- a/roles/sys-front-tls-letsencrypt/README.md +++ b/roles/sys-front-tls-letsencrypt/README.md @@ -8,6 +8,25 @@ LetsEncrypt TLS provider for sys-front-tls. This role letsEncrypt TLS provider for sys-front-tls. Ensures certificate presence. +## Cosmos + +The diagram places sys-front-tls-letsencrypt in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-tls-letsencrypt ๐Ÿ’ป] + svc_tls_letsencrypt["tls-letsencrypt"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-front-tls-selfsigned/README.md b/roles/sys-front-tls-selfsigned/README.md index fa033b1a8a..84bec12f7f 100644 --- a/roles/sys-front-tls-selfsigned/README.md +++ b/roles/sys-front-tls-selfsigned/README.md @@ -8,10 +8,29 @@ Self-signed TLS provider for sys-front-tls (SAN aware). This role self-signed TLS provider for sys-front-tls (SAN aware). Generates and stores self-signed certificates. +## Cosmos + +The diagram places sys-front-tls-selfsigned in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-tls-selfsigned ๐Ÿ’ป] + svc_tls_selfsigned["tls-selfsigned"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Inputs - tls_domain diff --git a/roles/sys-front-tls/README.md b/roles/sys-front-tls/README.md index 82b1182d47..da2768bd76 100644 --- a/roles/sys-front-tls/README.md +++ b/roles/sys-front-tls/README.md @@ -15,6 +15,25 @@ Supported modes (resolved outside or passed in): - self_signed -> generate and store a self-signed certificate (SAN aware) - off -> no TLS, HTTP only +## Cosmos + +The diagram places sys-front-tls in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-front-tls ๐Ÿ’ป] + svc_tls["tls"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-hostname/README.md b/roles/sys-hostname/README.md index 1ec30acab3..72d6459393 100644 --- a/roles/sys-hostname/README.md +++ b/roles/sys-hostname/README.md @@ -16,8 +16,27 @@ This Ansible role ensures that the target hostโ€™s system hostname is set to the 2. **Module** - Leverages Ansibleโ€™s [`hostname`](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/hostname_module.html) module. +## Cosmos + +The diagram places Hostname in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-hostname ๐Ÿ’ป] + svc_hostname["hostname"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Simple and lightweight - Automatically adapts to your inventory names - Safe to run repeatedly + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-lint/README.md b/roles/sys-lint/README.md index b2f298e2d3..3b177e6641 100644 --- a/roles/sys-lint/README.md +++ b/roles/sys-lint/README.md @@ -12,6 +12,21 @@ It deploys nothing. Its only content is `meta/services.yml`, which records the ` Because the pins use the same `(repository, ref)` shape as every other `meta/services.yml`, the existing `update-repository-refs` CI job discovers them on its own: it resolves the newest semver tag of each repository via `git ls-remote --tags` and opens a pull request with the bump. Upgrading a linter is therefore a reviewed commit, not a surprise. +## Cosmos + +The diagram places Lint in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-lint ๐Ÿ’ป] + svc_actionlint["actionlint"] + svc_hadolint["hadolint"] + svc_shfmt["shfmt"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Reproducible installs:** every tool resolves to the pinned `ref`, so the same commit installs the same linter version on every host and in every CI run. @@ -19,6 +34,12 @@ Because the pins use the same `(repository, ref)` shape as every other `meta/ser - **Automatically updated:** the `update-repository-refs` job bumps the pins to the newest semver tag and opens a pull request. - **One override per tool:** `ACTIONLINT_VERSION`, `HADOLINT_VERSION` and `SHFMT_VERSION` override the pin for a one-off install without editing the role. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage The pins are read by `utils/install/lint/pinned.py`, which every lint installer calls: diff --git a/roles/sys-lock/README.md b/roles/sys-lock/README.md index 33d42c40e3..f79dbcc0bc 100644 --- a/roles/sys-lock/README.md +++ b/roles/sys-lock/README.md @@ -12,6 +12,19 @@ The role performs the following: - Implements retry logic with a configurable timeout. - Ensures that maintenance tasks are executed only when the system is in a safe state. +## Cosmos + +The diagram places System Maintenance Lock in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-lock ๐Ÿ’ป] + svc_lock["lock"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to safeguard system stability during maintenance by preventing conflicts with running services. It ensures that maintenance operations proceed only when the environment is ready. @@ -21,3 +34,9 @@ The primary purpose of this role is to safeguard system stability during mainten - **Service Locking:** Blocks maintenance tasks until critical services are stopped. - **Timeout and Retry Logic:** Configurable wait times and maximum attempts. - **Conflict Avoidance:** Prevents interference between maintenance operations and running services. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-openssl/README.md b/roles/sys-openssl/README.md index a149c27e47..d00ce7b50b 100644 --- a/roles/sys-openssl/README.md +++ b/roles/sys-openssl/README.md @@ -11,10 +11,29 @@ OpenSSL commands on the host system. This role ensures OpenSSL is installed once as a shared host dependency for roles that invoke the `openssl` CLI. +## Cosmos + +The diagram places sys-openssl in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-openssl ๐Ÿ’ป] + svc_openssl["openssl"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Behavior - Installs package: `openssl` diff --git a/roles/sys-pip-install/README.md b/roles/sys-pip-install/README.md index 083c320362..430740fe91 100644 --- a/roles/sys-pip-install/README.md +++ b/roles/sys-pip-install/README.md @@ -13,10 +13,29 @@ It is intended for CLI tools that should be available globally (e.g., maintenanc - Installs or upgrades a package specified by `package_name`. - Designed for non-interactive automation (CI/maintenance hosts). +## Cosmos + +The diagram places sys-pip-install in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-pip-install ๐Ÿ’ป] + svc_pip_install["pip-install"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Variables ### Required diff --git a/roles/sys-pip/README.md b/roles/sys-pip/README.md index 9205e67ade..0ceb421032 100644 --- a/roles/sys-pip/README.md +++ b/roles/sys-pip/README.md @@ -11,6 +11,19 @@ Optimized for simplicity and idempotency, this role: - Installs the python-pip package using [pacman](https://wiki.archlinux.org/title/Pacman). - Sets a flag to ensure the installation tasks run only once. +## Cosmos + +The diagram places Python-Pip in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-pip ๐Ÿ’ป] + svc_pip["pip"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to provide a reliable installation of the Python package manager, pip, ensuring that subsequent Python package installations can proceed without issues. @@ -19,3 +32,9 @@ The primary purpose of this role is to provide a reliable installation of the Py - **Pip Installation:** Installs python-pip if not already present. - **Idempotency:** Ensures tasks are executed only once. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-service-loader/README.md b/roles/sys-service-loader/README.md index 9778d44e5b..242d7f724a 100644 --- a/roles/sys-service-loader/README.md +++ b/roles/sys-service-loader/README.md @@ -12,6 +12,25 @@ roles through the loader's queue. Loader role providing the shared-service preload pass and helper tasks for queueing post-load role inclusions. +## Cosmos + +The diagram places sys-service-loader in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-service-loader ๐Ÿ’ป] + svc_service_loader["service-loader"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-service-terminator/README.md b/roles/sys-service-terminator/README.md index cf315d834d..fbfe7a84e9 100644 --- a/roles/sys-service-terminator/README.md +++ b/roles/sys-service-terminator/README.md @@ -10,6 +10,19 @@ but should be started once everything they depend on is ready. This role runs a collected list of systemd services at the end of a play. +## Cosmos + +The diagram places sys-service-terminator in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-service-terminator ๐Ÿ’ป] + svc_service_terminator["service-terminator"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. @@ -28,3 +41,9 @@ This role runs a collected list of systemd services at the end of a play. ## Further Resources - + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-service/README.md b/roles/sys-service/README.md index 37b3a835c9..6be100664f 100644 --- a/roles/sys-service/README.md +++ b/roles/sys-service/README.md @@ -14,6 +14,19 @@ It installs or removes unit files, configures runtime behavior, and ensures serv - Provides the shared `files/debug.sh` SPOT for reusable service-failure diagnostics. - Exposes `tasks/utils/debug.yml` as the canonical Ansible wrapper around that script. +## Cosmos + +The diagram places sys-service in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-service ๐Ÿ’ป] + svc_service["service"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Unit Cleanup:** Automated removal of old service units. @@ -29,3 +42,9 @@ It installs or removes unit files, configures runtime behavior, and ensures serv - [systemd - Service Units](https://www.freedesktop.org/software/systemd/man/systemd.service.html) - [systemd - Timer Units](https://www.freedesktop.org/software/systemd/man/systemd.timer.html) - [systemctl](https://www.freedesktop.org/software/systemd/man/systemctl.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-stk-backend/README.md b/roles/sys-stk-backend/README.md index 34d4ee79f7..b63db76a42 100644 --- a/roles/sys-stk-backend/README.md +++ b/roles/sys-stk-backend/README.md @@ -8,6 +8,19 @@ This role combines the central RDBMS role (`sys-svc-rdbms`) with Docker Compose This role combines Docker Compose with a central RDBMS role to automatically provision database containers with backup, user, and permission management. +## Cosmos + +The diagram places Database Docker Composition in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-stk-backend ๐Ÿ’ป] + svc_backend["backend"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Central RDBMS Integration** @@ -18,6 +31,12 @@ This role combines Docker Compose with a central RDBMS role to automatically pro The role will load both sub-roles and satisfy all dependencies transparently. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Task Breakdown 1. **Set Fact** `database_application_id` to work around lazyโ€loading ordering. diff --git a/roles/sys-stk-front-base/README.md b/roles/sys-stk-front-base/README.md index 94bc5742fa..00100d8829 100644 --- a/roles/sys-stk-front-base/README.md +++ b/roles/sys-stk-front-base/README.md @@ -15,10 +15,29 @@ This role front bootstrap for web apps: HTTPS base, optional Cloudflare setup, and handler wiring. +## Cosmos + +The diagram places Front Base (HTTPS + Cloudflare + Handlers) in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-stk-front-base ๐Ÿ’ป] + svc_front_base["front-base"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Responsibilities - Include `sys-svc-webserver-https` (once per host) diff --git a/roles/sys-stk-front-proxy/README.md b/roles/sys-stk-front-proxy/README.md index 75337723a2..fd91f434e0 100644 --- a/roles/sys-stk-front-proxy/README.md +++ b/roles/sys-stk-front-proxy/README.md @@ -15,6 +15,19 @@ A higher-level orchestration wrapper, *sys-stk-front-proxy* ties together severa The result is a complete, reproducible domain rollout in a single playbook task. +## Cosmos + +The diagram places NGINX Domain Setup in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-stk-front-proxy ๐Ÿ’ป] + svc_front_proxy["front-proxy"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose Provide **one-stop, idempotent domain provisioning** for NGINX-based homelabs or small production environments. @@ -26,3 +39,9 @@ Provide **one-stop, idempotent domain provisioning** for NGINX-based homelabs or - **Conditional OAuth2**: easily toggle authentication per application. - **Handler-safe**: automatically triggers an NGINX reload when templates change. - **Composable**: designed to be called repeatedly for many domains. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-stk-full/README.md b/roles/sys-stk-full/README.md index 10f4493863..ccc1e2f887 100644 --- a/roles/sys-stk-full/README.md +++ b/roles/sys-stk-full/README.md @@ -8,6 +8,19 @@ This role builds on `sys-stk-backend` by adding a reverse-proxy frontend for HTT This role extends sys-stk-backend by adding an HTTP reverse proxy via sys-stk-front-proxy. +## Cosmos + +The diagram places Database Docker with Web Proxy in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-stk-full ๐Ÿ’ป] + svc_full["full"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Database Composition** @@ -15,3 +28,9 @@ This role extends sys-stk-backend by adding an HTTP reverse proxy via sys-stk-fr - **Reverse Proxy** Includes the `sys-stk-front-proxy` role to configure a proxy (e.g. NGINX) for routing HTTP(S) traffic to your database UI or management endpoint. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-sudo/README.md b/roles/sys-sudo/README.md index 5209e224bc..8eb5c80637 100644 --- a/roles/sys-sudo/README.md +++ b/roles/sys-sudo/README.md @@ -8,6 +8,19 @@ This role installs the [sudo](https://en.wikipedia.org/wiki/Sudo) package and de Optimized for security and ease of administration, this role guarantees that sudo is installed and configured according to recommended practices. The provided sudoers file includes essential comments, host/user aliases, and defaults to help prevent misconfigurations. +## Cosmos + +The diagram places Sudo in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-sudo ๐Ÿ’ป] + svc_sudo["sudo"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to ensure that the target system has a reliable sudo configuration. By installing the [sudo](https://en.wikipedia.org/wiki/Sudo) package and deploying a standard sudoers file, the role facilitates proper administrative access and minimizes potential security risks. @@ -18,3 +31,9 @@ The primary purpose of this role is to ensure that the target system has a relia - **Default Sudoers Configuration:** Deploys a default sudoers file with best-practice settings. - **Drop-in Inclusion:** Ensures that configuration files from `/etc/sudoers.d` are included. - **Security Focus:** Provides commented guidelines to avoid common sudo misconfigurations. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-cdn/README.md b/roles/sys-svc-cdn/README.md index bf80aad11f..04d34787be 100644 --- a/roles/sys-svc-cdn/README.md +++ b/roles/sys-svc-cdn/README.md @@ -10,6 +10,19 @@ Provides compact filters and defaults to define CDN paths, turn them into public Defines a per-role CDN structure under `roles//` plus shared and vendor areas. Exposes ready-to-use variables (`cdn`, `cdn_dirs`, `cdn_urls`) and ensures directories exist. Optionally links the current release to `latest`. +## Cosmos + +The diagram places Content Delivery Network in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-cdn ๐Ÿ’ป] + svc_svc_cdn["svc-cdn"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features * Jinja filters: `cdn_paths`, `cdn_urls`, `cdn_dirs` @@ -17,3 +30,9 @@ Defines a per-role CDN structure under `roles//` plus s * Creates shared/vendor/release directories * Maintains `roles//latest` symlink (when version โ‰  `latest`) * Plays nicely with `web-svc-cdn` without circular inclusion + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-certbot/README.md b/roles/sys-svc-certbot/README.md index a4cbd109f7..f56dd0a658 100644 --- a/roles/sys-svc-certbot/README.md +++ b/roles/sys-svc-certbot/README.md @@ -15,6 +15,19 @@ Optimized for Archlinux, this role ensures secure SSL/TLS certificate generation - **Credential Management:** Creates secure credential files for DNS API tokens when using DNS-01 validation. - **Idempotent Execution:** Tasks are intelligently executed only once per playbook run. +## Cosmos + +The diagram places Certbot in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-certbot ๐Ÿ’ป] + svc_svc_certbot["svc-certbot"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The Certbot role provides a ready-to-use, automated solution for SSL/TLS management in your infrastructure. Whether you're managing traditional servers or containerized environments, this role ensures your certificates are always in place and valid. @@ -26,6 +39,12 @@ The Certbot role provides a ready-to-use, automated solution for SSL/TLS managem - **Credential Directory Management:** Creates a secured `/etc/certbot` directory with proper permissions. - **API Token File Setup:** Manages API token files securely for DNS challenge authentication. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Learn More - [Certbot Official Website](https://certbot.eff.org/) diff --git a/roles/sys-svc-certs/README.md b/roles/sys-svc-certs/README.md index 4dd57d754d..b87b43ce5f 100644 --- a/roles/sys-svc-certs/README.md +++ b/roles/sys-svc-certs/README.md @@ -16,6 +16,19 @@ Designed for Archlinux systems, this role handles issuing certificates per domai - **Optional Cleanup:** Deletes redundant domain certificates when wildcard certificates are used. - **Non-Interactive Operation:** Fully automated using `--non-interactive` and `--agree-tos`. +## Cosmos + +The diagram places NGINX HTTPS Certificate Retrieval in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-certs ๐Ÿ’ป] + svc_svc_certs["svc-certs"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The NGINX HTTPS Certificate Retrieval role ensures that your NGINX-served domains have valid, automatically issued SSL/TLS certificates, improving web security without manual intervention. @@ -27,6 +40,12 @@ The NGINX HTTPS Certificate Retrieval role ensures that your NGINX-served domain - **Safe Cleanup:** Ensures that no unused certificates are left behind. - **Flexible Control:** Supports for `MODE_CLEANUP` for cert cleanup operations. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Learn More - [Certbot Official Website](https://certbot.eff.org/) diff --git a/roles/sys-svc-cln-domains/README.md b/roles/sys-svc-cln-domains/README.md index e169150c1f..ed35a1aee7 100644 --- a/roles/sys-svc-cln-domains/README.md +++ b/roles/sys-svc-cln-domains/README.md @@ -13,6 +13,19 @@ Optimized for idempotent cleanup operations, this role: - Ensures cleanup tasks execute only once per playbook run. - Notifies NGINX to restart after removing configurations. +## Cosmos + +The diagram places sys-svc-cln-domains in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-cln-domains ๐Ÿ’ป] + svc_svc_cln_domains["svc-cln-domains"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose Streamline the decommissioning of outdated or deprecated domains by automating the removal of NGINX server blocks and their SSL certificates. @@ -23,3 +36,9 @@ Streamline the decommissioning of outdated or deprecated domains by automating t - **Certbot Integration:** Revokes and deletes certificates without manual intervention. - **Idempotent Execution:** Utilizes a `run_once` flag to prevent repeated runs. - **Service Notification:** Triggers an NGINX restart handler upon cleanup. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-compose-ca/README.md b/roles/sys-svc-compose-ca/README.md index 06f6d5cdaf..4df8ea5c91 100644 --- a/roles/sys-svc-compose-ca/README.md +++ b/roles/sys-svc-compose-ca/README.md @@ -12,6 +12,25 @@ container builds rely on it. This role installs CA trust injection assets for compose (wrapper + inject script) and validates CA cert presence. +## Cosmos + +The diagram places sys-svc-compose-ca in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-compose-ca ๐Ÿ’ป] + svc_svc_compose_ca["svc-compose-ca"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-compose/README.md b/roles/sys-svc-compose/README.md index d183bd7ad9..817857c7cf 100644 --- a/roles/sys-svc-compose/README.md +++ b/roles/sys-svc-compose/README.md @@ -10,6 +10,19 @@ Refer to the [Docker Compose documentation](https://docs.docker.com/compose/) an This role creates a flexible directory layout for managing Docker Compose projects across environments. It ensures directories are initialized, optionally reset, and kept clean using internal flags like `MODE_RESET` or `MODE_CLEANUP`. +## Cosmos + +The diagram places Docker Compose in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-compose ๐Ÿ’ป] + svc_svc_compose["svc-compose"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose To offer a centralized, extensible system for managing containerized applications using Docker Compose within the Infinito.Nexus architecture. The role allows easy integration of services, secrets, configurations, and custom behaviors per application. @@ -21,3 +34,9 @@ To offer a centralized, extensible system for managing containerized application - **Handlers for Runtime Control:** Automatically builds, sets up, or restarts containers based on handlers. Notify `compose up` when rendered files or the service spec changed; notify `container recreate` when only in-container or in-database state changed and the process must reload it โ€” the latter force-recreates in compose mode and forces a task recreation in swarm mode, where `docker stack deploy` alone would leave the running task untouched. - **Template-ready Service Files:** Predefined service base and health check templates. - **Integration Support:** Compatible with `sys-svc-proxy` and other Infinito.Nexus service roles. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-container/README.md b/roles/sys-svc-container/README.md index 7df24acf8b..f7b7eb5600 100644 --- a/roles/sys-svc-container/README.md +++ b/roles/sys-svc-container/README.md @@ -11,6 +11,21 @@ The role ensures that Docker and Docker Compose are present, integrates essentia When enabled via `MODE_CLEANUP` or `MODE_RESET`, it will automatically prune unused Docker resources. `MODE_RESET` additionally restarts the Docker service after cleanup. +## Cosmos + +The diagram places Docker Server in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-container ๐Ÿ’ป] + svc_svc_container["svc-container"] + svc_busybox["busybox"] + svc_node["node"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated Installation** @@ -26,6 +41,12 @@ When enabled via `MODE_CLEANUP` or `MODE_RESET`, it will automatically prune unu - **Handler Integration** Restart handler ensures the Docker daemon is reloaded when necessary. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Resource limits [resource.yml.j2](templates/resource.yml.j2) renders the compose `cpus`, `mem_reservation`, `mem_limit` and `pids_limit` of every service, and [deploy.yml.j2](templates/deploy.yml.j2) renders the swarm equivalents. Each value comes from `services..` of the role's `meta/services.yml`, overridable per host in the inventory, and falls back to the fair share `lookup('resource', โ€ฆ)` computes from the host. diff --git a/roles/sys-svc-dns/README.md b/roles/sys-svc-dns/README.md index 201c387c25..8002d159d2 100644 --- a/roles/sys-svc-dns/README.md +++ b/roles/sys-svc-dns/README.md @@ -18,10 +18,29 @@ Runs **once per play** and is safe to include in stacks that roll out many domai This role cloudflare DNS bootstrap: parent host A/AAAA (and optional CAA), runs once per play. +## Cosmos + +The diagram places sys-svc-dns in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-dns ๐Ÿ’ป] + svc_svc_dns["svc-dns"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## What it does 1. **Validate the Cloudflare API token** (`API.cloudflare.api_token`) is present (early fail if missing). diff --git a/roles/sys-svc-engine/README.md b/roles/sys-svc-engine/README.md index 2eec06768b..642c96984d 100644 --- a/roles/sys-svc-engine/README.md +++ b/roles/sys-svc-engine/README.md @@ -8,6 +8,25 @@ This role deploys Svc Engine. +## Cosmos + +The diagram places Svc Engine in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-engine ๐Ÿ’ป] + svc_svc_engine["svc-engine"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Feature:** Describe a capability. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-journalctl/README.md b/roles/sys-svc-journalctl/README.md index 101affdf59..c4c44f6ac7 100644 --- a/roles/sys-svc-journalctl/README.md +++ b/roles/sys-svc-journalctl/README.md @@ -18,12 +18,31 @@ This Ansible role manages the configuration of `systemd-journald` on target host 3. **Monitoring** You can follow logs in real time with `journalctl -f`. +## Cosmos + +The diagram places Journalctl in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-journalctl ๐Ÿ’ป] + svc_svc_journalctl["svc-journalctl"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Customizable retention and runtime limits - Seamless restarts on config update - Integration with `sys-ctl-hlth-journalctl` for downstream monitoring +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Usage ```yaml diff --git a/roles/sys-svc-mail-msmtp/README.md b/roles/sys-svc-mail-msmtp/README.md index 0ab27d1e9e..d26768c93b 100644 --- a/roles/sys-svc-mail-msmtp/README.md +++ b/roles/sys-svc-mail-msmtp/README.md @@ -8,6 +8,19 @@ This Ansible role installs and configures **msmtp** (plus optional sendmail comp The role installs **msmtp**, handles distro-specific package differences (including EPEL bootstrap on EL-family hosts when required), and deploys a pre-configured `msmtprc` file via Jinja2. For distros without a dedicated `msmtp-mta` package, it configures a direct `/usr/bin/sendmail` compatibility symlink to `msmtp`. +## Cosmos + +The diagram places msmtp in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-mail-msmtp ๐Ÿ’ป] + svc_svc_mail_msmtp["svc-mail-msmtp"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to automate the setup of a lightweight SMTP client that acts as a sendmail replacement. By configuring msmtp, the role facilitates direct email sending using your SMTP server credentials, making it a simple yet effective solution for system notifications and other email-based communications. @@ -20,3 +33,9 @@ The purpose of this role is to automate the setup of a lightweight SMTP client t - **Drop-in sendmail Replacement:** Configures msmtp to serve as the default sendmail command. - **Idempotent Setup:** Ensures the tasks run only once with internal flagging. - **Integration Ready:** Easily integrates with other system roles within the Infinito.Nexus environment for automated notifications. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-mail-smtp/README.md b/roles/sys-svc-mail-smtp/README.md index afb5956639..9851663b99 100644 --- a/roles/sys-svc-mail-smtp/README.md +++ b/roles/sys-svc-mail-smtp/README.md @@ -24,6 +24,19 @@ Typically, `sys-svc-mail` decides whether to: - Use Mailu (via `sys-svc-mail-msmtp`), **or** - Fall back to this role (`sys-svc-mail-smtp`) and send via `localhost`. +## Cosmos + +The diagram places sys-svc-mail-smtp in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-mail-smtp ๐Ÿ’ป] + svc_svc_mail_smtp["svc-mail-smtp"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The main goals of this role are: @@ -65,3 +78,9 @@ This is particularly useful for: - Related Infinito.Nexus roles: - `sys-svc-mail`: central mail orchestration - `sys-svc-mail-msmtp`: msmtp client and sendmail replacement + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-mail/README.md b/roles/sys-svc-mail/README.md index 6bfce1925c..541a20cde5 100644 --- a/roles/sys-svc-mail/README.md +++ b/roles/sys-svc-mail/README.md @@ -25,6 +25,19 @@ This role provides a **unified mail setup** for your hosts: This makes `sys-svc-mail` the canonical entrypoint for โ€œmail capabilitiesโ€ on a node, abstracting away whether the actual delivery happens via Stalwart or a local relay. +## Cosmos + +The diagram places sys-svc-mail in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-mail ๐Ÿ’ป] + svc_svc_mail["svc-mail"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The main purpose of this role is to: @@ -65,3 +78,9 @@ The main purpose of this role is to: - Infinito.Nexus: - Main repository: - Documentation: + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-mcp-reconcile/README.md b/roles/sys-svc-mcp-reconcile/README.md index 18b08915df..d5c3b67385 100644 --- a/roles/sys-svc-mcp-reconcile/README.md +++ b/roles/sys-svc-mcp-reconcile/README.md @@ -8,6 +8,19 @@ Post-application MCP convergence for every deployed client, run at the **end of This role re-invokes each deployed MCP client's own reconciliation from the complete provider set. +## Cosmos + +The diagram places sys-svc-mcp-reconcile in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-mcp-reconcile ๐Ÿ’ป] + svc_svc_mcp_reconcile["svc-mcp-reconcile"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Converges every deployed MCP client from one complete provider set. @@ -36,3 +49,9 @@ one. `tests/lint/ansible/services/test_mcp_client_entrypoint.py` fails when a cl ## Further Resources - [Model Context Protocol](https://modelcontextprotocol.io/) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-nss/README.md b/roles/sys-svc-nss/README.md index 3221dbdb0e..2906b816b7 100644 --- a/roles/sys-svc-nss/README.md +++ b/roles/sys-svc-nss/README.md @@ -12,8 +12,27 @@ A deployment that keeps the shipped `DOMAIN_PRIMARY` serves names under `infinit - Appends `myhostname` to the `hosts:` line of `/etc/nsswitch.conf`, idempotently - Runs once per play +## Cosmos + +The diagram places NSS in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-nss ๐Ÿ’ป] + svc_nss["nss"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Distro-agnostic:** the package list is empty on families that ship the module with systemd - **Idempotent:** both tasks are no-ops once the module is present - **Narrow:** it configures name resolution and nothing else, so callers that only need resolution do not also change the system hostname + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-objstore/README.md b/roles/sys-svc-objstore/README.md index ad8f9c878a..d0819ee507 100644 --- a/roles/sys-svc-objstore/README.md +++ b/roles/sys-svc-objstore/README.md @@ -8,6 +8,25 @@ This role deploys Svc Objstore. +## Cosmos + +The diagram places Svc Objstore in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-objstore ๐Ÿ’ป] + svc_svc_objstore["svc-objstore"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Feature:** Describe a capability. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-proxy/README.md b/roles/sys-svc-proxy/README.md index 4a16fd6c16..7b66a42cb0 100644 --- a/roles/sys-svc-proxy/README.md +++ b/roles/sys-svc-proxy/README.md @@ -10,6 +10,19 @@ It provides automatic TLS integration, WebSocket support, and a flexible templat Optimised for Arch Linux, the role installs NGINX, prepares opinionated configuration snippets and exposes a simple interface for other roles to drop in new virtual-hosts. It plays well with **Letโ€™s Encrypt**, **OAuth2 Proxy**, and your existing Docker stack. +## Cosmos + +The diagram places NGINX Docker Reverse Proxy in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-proxy ๐Ÿ’ป] + svc_svc_proxy["svc-proxy"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The goal of this role is to deliver a **hassle-free, production-ready reverse proxy** for self-hosted containers, suitable for homelabs and small-scale production workloads. @@ -22,3 +35,9 @@ The goal of this role is to deliver a **hassle-free, production-ready reverse pr - **WebSocket & HTTP/2 aware**: upgrades, keep-alive tuning, and gzip already configured. - **OAuth2 gating**: drop-in support when *web-app-keycloak's SSO-proxy sidecar* is present. - **Modular includes**: headers, locations, and global snippets are factored for easy extension. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-proxy/TODO.md b/roles/sys-svc-proxy/TODO.md index 79ed27f0ba..697d8bcc88 100644 --- a/roles/sys-svc-proxy/TODO.md +++ b/roles/sys-svc-proxy/TODO.md @@ -4,3 +4,4 @@ - Optimize caching - Make 'proxy_hide_header Content-Security-Policy' optional by using more_header option. - Refactor this role - It seems like it's just an wrapper for 'sys-svc-webserver-https' which doesn't add any additional logic +- Compressed upstream bodies: `templates/location/html.conf.j2` sends `Accept-Encoding: ""` so that the body filter of `sys-front-inj-all` (`body_filter_by_lua_file` in `templates/location.lua.j2`) reads plain HTML. An upstream that compresses regardless passes the filter unchanged, and no snippet (design, tracking, logout) reaches that page. Measured on `web-app-stalwart`: `/login` answers `Content-Encoding: gzip` for `Accept-Encoding: identity`. Inflate such bodies before the filter runs, or inject through a hook that does not read the body. diff --git a/roles/sys-svc-rdbms/README.md b/roles/sys-svc-rdbms/README.md index 0b62b1d447..5d563c536d 100644 --- a/roles/sys-svc-rdbms/README.md +++ b/roles/sys-svc-rdbms/README.md @@ -12,6 +12,19 @@ Tailored for environments that require a central data repository, this role: - Generates an environment file based on the chosen database engine. - Integrates seamlessly with Docker Compose to deploy a centralized database container (if enabled). +## Cosmos + +The diagram places Central Database in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-rdbms ๐Ÿ’ป] + svc_svc_rdbms["svc-rdbms"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The role's purpose is to automate the provisioning and configuration of a centralized database service. This not only reduces manual setup but also ensures consistent, reliable deployment across production and homelab environments. @@ -22,3 +35,9 @@ The role's purpose is to automate the provisioning and configuration of a centra - **Centralized Data Management:** Improves data consistency and security. - **Docker Compose Integration:** Automates container setup and configuration. - **Simplified Variable Management:** Preconfigured templates minimize manual intervention. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-ssh/README.md b/roles/sys-svc-ssh/README.md index c28371e681..5ccbc7198e 100644 --- a/roles/sys-svc-ssh/README.md +++ b/roles/sys-svc-ssh/README.md @@ -15,6 +15,19 @@ Optimized for portability and idempotency, this role performs the following task - Ensures the installation runs only once using a shared run-once mechanism - Serves as a reusable system-level SSH dependency for other roles +## Cosmos + +The diagram places SSH Service (Client) in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-ssh ๐Ÿ’ป] + svc_svc_ssh["svc-ssh"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to guarantee that an SSH client is available on the system before executing any SSH-related operations, such as key generation, remote access, or automated provisioning. @@ -37,3 +50,9 @@ The role installs the correct SSH client package for the following platforms: - **Minimal scope** (client-only, no server configuration) - **Reusable dependency role** for higher-level SSH workflows - **Best practices compliant** with modern SSH usage + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-sshd/README.md b/roles/sys-svc-sshd/README.md index b1a096d731..9620d6ddaa 100644 --- a/roles/sys-svc-sshd/README.md +++ b/roles/sys-svc-sshd/README.md @@ -13,6 +13,19 @@ This Ansible role configures the OpenSSH daemon (`sshd`) by deploying a template Key variable: `SYS_SVC_SSHD_PASSWORD_AUTHENTICATION` (default: `false`) enables password authentication when explicitly required by controlled environments such as local E2E test targets. +## Cosmos + +The diagram places sshd in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-sshd ๐Ÿ’ป] + svc_svc_sshd["svc-sshd"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Templated Configuration:** Delivers a Jinja2-based `sshd_config` with variables for debug logging, PAM support, and password-auth overrides. @@ -26,3 +39,9 @@ Key variable: `SYS_SVC_SSHD_PASSWORD_AUTHENTICATION` (default: `false`) enables - [Ansible Template Module](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html) - [Ansible handler best practices](https://docs.ansible.com/ansible/latest/user_guide/playbooks_handlers.html) - [OpenSSH security recommendations](https://www.openssh.com/security.html) + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-svc-webserver-core/README.md b/roles/sys-svc-webserver-core/README.md index 5f05cae430..a417ab1d3d 100644 --- a/roles/sys-svc-webserver-core/README.md +++ b/roles/sys-svc-webserver-core/README.md @@ -13,6 +13,19 @@ This Ansible role installs and configures **NGINX** as a core HTTP/stream server This role installs and configures Nginx HTTP and stream modules with performance-tuned defaults. +## Cosmos + +The diagram places Webserver in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-webserver-core ๐Ÿ’ป] + svc_svc_webserver_core["svc-webserver-core"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features * **Package installation** of `NGINX` and `NGINX-mod-stream`. @@ -22,6 +35,12 @@ This role installs and configures Nginx HTTP and stream modules with performance * **Stream proxy support**: includes `stream` block for TCP/UDP proxies. * **Cache directory management**: cleanup and recreation based on `MODE_CLEANUP`. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Debugging Tips * **General logs**: `journalctl -f -u NGINX` diff --git a/roles/sys-svc-webserver-https/README.md b/roles/sys-svc-webserver-https/README.md index 62f3fe5d19..4d67cceaf5 100644 --- a/roles/sys-svc-webserver-https/README.md +++ b/roles/sys-svc-webserver-https/README.md @@ -25,6 +25,19 @@ All tasks are idempotent. Once your certificates are in place and your configura --- +## Cosmos + +The diagram places Webserver HTTPS Provisioning in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-svc-webserver-https ๐Ÿ’ป] + svc_svc_webserver_https["svc-webserver-https"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - ๐Ÿ”’ **Automatic HTTPS Redirect** @@ -41,6 +54,12 @@ All tasks are idempotent. Once your certificates are in place and your configura --- +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## License This role is released under the **Infinito.Nexus Community License (Non-Commercial)**. diff --git a/roles/sys-timer/README.md b/roles/sys-timer/README.md index 49b25f6c12..a63a7d71f5 100644 --- a/roles/sys-timer/README.md +++ b/roles/sys-timer/README.md @@ -12,6 +12,19 @@ Optimized for automated task scheduling in a [systemd](https://en.wikipedia.org/ - Reloads and restarts the timer using systemd to ensure that changes take effect. - Supports dynamic configuration of scheduling parameters via variables like `system_service_on_calendar` and `RANDOMIZED_DELAY_SEC`. +## Cosmos + +The diagram places Systemd Timer in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-timer ๐Ÿ’ป] + svc_timer["timer"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The primary purpose of this role is to provide a reusable mechanism for scheduling recurring tasks on a system. By creating and managing a systemd timer unit, the role ensures that specified services are automatically started at defined intervals, enhancing system automation and reliability. @@ -22,3 +35,9 @@ The primary purpose of this role is to provide a reusable mechanism for scheduli - **Automated Service Management:** Automatically reloads the systemd daemon and restarts the timer when changes are detected. - **Flexible Scheduling:** Supports configuration of parameters such as OnCalendar and RandomizedDelaySec for precise control over task timing. - **Persistent Timers:** Optionally enables persistent timer behavior to ensure missed activations are handled. + +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). diff --git a/roles/sys-token-store/README.md b/roles/sys-token-store/README.md index 73b9ea6427..c4a86f7d6b 100644 --- a/roles/sys-token-store/README.md +++ b/roles/sys-token-store/README.md @@ -15,10 +15,29 @@ It only **stores and propagates tokens that already exist** (e.g. created by boo This role stores and manages per-user application tokens in a local YAML store file (idempotent read/write helpers). +## Cosmos + +The diagram places sys-token-store in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-token-store ๐Ÿ’ป] + svc_token_store["token-store"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Core Principles - **Single logic for all roles** diff --git a/roles/sys-util-git-pull/README.md b/roles/sys-util-git-pull/README.md index f84a2a1013..6c058c7ebe 100644 --- a/roles/sys-util-git-pull/README.md +++ b/roles/sys-util-git-pull/README.md @@ -35,6 +35,19 @@ This role: --- +## Cosmos + +The diagram places System Utility: Git Pull (Shallow & Pinned) in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-util-git-pull ๐Ÿ’ป] + svc_util_git_pull["util-git-pull"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Purpose The purpose of this role is to provide a **generic, reusable Git pull primitive** @@ -61,6 +74,12 @@ Typical use cases include: --- +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Design Notes - All human-readable logs go to **stderr** diff --git a/roles/sys-version/README.md b/roles/sys-version/README.md index d2188eab7b..7e6499037b 100644 --- a/roles/sys-version/README.md +++ b/roles/sys-version/README.md @@ -9,6 +9,19 @@ and writes it as a system-wide environment variable into `/etc/environment` on t This role extracts the local pyproject.toml version and writes it as an environment variable in /etc/environment on the target host. +## Cosmos + +The diagram places System Version ๏ธ in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [sys-version ๐Ÿ’ป] + svc_version["version"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - Extracts `version = "..."` from `pyproject.toml` on the control node @@ -16,6 +29,12 @@ This role extracts the local pyproject.toml version and writes it as an environm - Updates the existing variable idempotently (no duplicates) - Creates `/etc/environment` if missing +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Variables - `FILE_ENVIRONMENT` (default: `/etc/environment`) diff --git a/roles/test-e2e-cli/README.md b/roles/test-e2e-cli/README.md index 1ae155354f..e7814843fa 100644 --- a/roles/test-e2e-cli/README.md +++ b/roles/test-e2e-cli/README.md @@ -8,10 +8,29 @@ This role deploys Test E2E Cli. +## Cosmos + +The diagram places Test E2E Cli in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [test-e2e-cli ๐Ÿ’ป] + svc_test_e2e_cli["test-e2e-cli"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Feature:** Describe a capability. +## Credits + +Implemented by **[Alejandro Roman Ibanez](https://social.infinito.nexus/profile/alexromanibanez/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Per-role settings A tested role declares its CLI-test settings under `cli:` in its own `meta/tests.yml`, read through `lookup('role_tests', application_id, 'cli.')`: diff --git a/roles/test-e2e-playwright/README.md b/roles/test-e2e-playwright/README.md index 7815f25869..9658c44bae 100644 --- a/roles/test-e2e-playwright/README.md +++ b/roles/test-e2e-playwright/README.md @@ -33,10 +33,30 @@ This role: - Runs Playwright in Docker with stable browser settings (`--ipc=host`, `--shm-size=1g`) - Stores per-role reports/artifacts under `TEST_E2E_PLAYWRIGHT_REPORTS_BASE_DIR/` +## Cosmos + +The diagram places Test: E2E Playwright Runner in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks). + +```mermaid +flowchart LR + subgraph role [test-e2e-playwright ๐Ÿ’ป] + svc_test_e2e_playwright["test-e2e-playwright"] + svc_playwright["playwright"] + end +``` + +Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional (enabled only in matching deployments); red `0..0` edges are turned off in this role. Node markers show the role's deploy modes (๐Ÿ’ป host, ๐Ÿณ compose, ๐Ÿ swarm); โŒ marks a service that is explicitly turned off, and โš™๏ธ an Ansible role dependency declared in `meta/main.yml`. + ## Features - **Automated provisioning:** Configured by Ansible without manual steps. +## Credits + +Implemented by **[Kevin Veen-Birkenbach](https://social.infinito.nexus/profile/kevinveenbirkenbach/profile)**. +Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code) and maintained by [Kevin Veen-Birkenbach](https://www.veen.world). +Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + ## Purpose The purpose of this role is to provide a central E2E test primitive that can be executed diff --git a/roles/test-e2e-playwright/files/design.js b/roles/test-e2e-playwright/files/design.js new file mode 100644 index 0000000000..552e690457 --- /dev/null +++ b/roles/test-e2e-playwright/files/design.js @@ -0,0 +1,235 @@ +/** + * Corporate design assertions and the before/after gallery capture shared by + * every role spec whose role consumes the `design` service. + * + * - `assertDesignTokens(page, label)`: the `--design-*` tokens are present and + * switch between light and dark mode. + * - `tokenValue(page, token, property)`: the computed `property` of a probe + * styled with `var(token)`. + * - `assertToken(page, selector, property, token, label)`: the computed + * `property` of the first `selector` match equals the value of `token`. + * - `assertLightAndDark(page, selector, label)`: the surface behind the first + * `selector` match is darker in dark mode than in light mode. + * - `assertReadable(page, selectors, label, min)`: each element's text color + * reaches `min` contrast against its effective background in light and dark + * mode, measured with CSS transitions switched off. A selector is a string + * or `{ selector, optional: true }`; one that matches nothing visible fails + * unless it is optional, and at least one element must be measured. + * - `galleryEnabled()`: true when `INFINITO_PLAYWRIGHT_KEEP=true`. + * - `captureDesignGallery(page, views)`: per view, color mode and viewport one + * screenshot with the injected CSS/JS (`/reports/design/after/`) and one with + * every injected snippet stripped from the document + * (`/reports/design/before/`), named `--.png`. Each + * screenshot waits up to `SETTLE_TIMEOUT_MS` for finite animations to end. + */ + +const { expect } = require("@playwright/test"); + +const { gotoOnion } = require("./personas"); +const { resolveTimeout } = require("./timeouts"); + +const MODES = ["light", "dark"]; +const VIEWPORTS = { + desktop: { width: 1440, height: 900 }, + mobile: { width: 390, height: 844 }, +}; +const GALLERY_DIR = "/reports/design"; +const INJECTED_SNIPPETS = /[\s\S]*?/g; +const SETTLE_TIMEOUT_MS = 5_000; +const FREEZE_CSS = "*, *::before, *::after { transition: none !important; }"; + +async function settle(page) { + await page.evaluate(() => new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve)))); + await page + .waitForFunction( + () => + document + .getAnimations() + .every((a) => a.playState !== "running" || a.effect?.getComputedTiming().iterations === Infinity), + null, + { timeout: resolveTimeout(SETTLE_TIMEOUT_MS) }, + ) + .catch(() => {}); +} + +async function stripInjectedSnippets(route) { + if (route.request().resourceType() !== "document") return route.continue(); + const response = await route.fetch({ maxRedirects: 0 }); + if (response.status() >= 300 && response.status() < 400) return route.fulfill({ response }); + const body = (await response.text()).replace(INJECTED_SNIPPETS, ""); + return route.fulfill({ response, body }); +} + +async function tokenValue(page, token, property) { + return page.evaluate( + ([name, cssProperty]) => { + const probe = document.createElement("span"); + probe.style.setProperty(cssProperty, `var(${name})`); + document.body.appendChild(probe); + const value = getComputedStyle(probe).getPropertyValue(cssProperty); + probe.remove(); + return value; + }, + [token, property], + ); +} + +async function assertToken(page, selector, property, token, label) { + const expected = await tokenValue(page, token, property); + await expect + .poll( + () => + page + .locator(selector) + .first() + .evaluate((element, cssProperty) => getComputedStyle(element).getPropertyValue(cssProperty), property), + { message: `${label}: ${selector} ${property} must equal ${token}` }, + ) + .toBe(expected); +} + +async function assertDesignTokens(page, label) { + const seen = {}; + for (const mode of MODES) { + await page.emulateMedia({ colorScheme: mode }); + seen[mode] = { + primary: await page.evaluate(() => + getComputedStyle(document.documentElement).getPropertyValue("--design-primary").trim(), + ), + surface: await tokenValue(page, "--design-surface-1", "color"), + }; + expect(seen[mode].primary, `${label}: --design-primary missing in ${mode} mode`).not.toBe(""); + } + expect( + seen.dark.surface, + `${label}: --design-surface-1 must change between light and dark mode`, + ).not.toBe(seen.light.surface); + await page.emulateMedia({ colorScheme: null }); +} + +async function measure(page, selector) { + return page.evaluate((sel) => { + const el = document.querySelector(sel); + if (!el || el.getClientRects().length === 0 || getComputedStyle(el).visibility === "hidden") return null; + const ctx = document.createElement("canvas").getContext("2d", { willReadFrequently: true }); + const rgba = (value) => { + ctx.clearRect(0, 0, 1, 1); + ctx.fillStyle = "#000"; + ctx.fillStyle = value; + ctx.fillRect(0, 0, 1, 1); + const [r, g, b, a] = ctx.getImageData(0, 0, 1, 1).data; + return [r, g, b, a / 255]; + }; + let background = [255, 255, 255]; + for (let cur = el; cur; cur = cur.parentElement) { + const [r, g, b, a] = rgba(getComputedStyle(cur).backgroundColor); + if (a > 0.5) { + background = [r, g, b]; + break; + } + } + const [r, g, b, a] = rgba(getComputedStyle(el).color); + return { background, color: [r, g, b].map((channel, i) => a * channel + (1 - a) * background[i]) }; + }, selector); +} + +function luminance([r, g, b]) { + const lin = (c) => { + const s = c / 255; + return s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4; + }; + return 0.2126 * lin(r) + 0.7152 * lin(g) + 0.0722 * lin(b); +} + +async function assertLightAndDark(page, selector, label) { + await page.addStyleTag({ content: FREEZE_CSS }); + const seen = {}; + for (const mode of MODES) { + await page.emulateMedia({ colorScheme: mode }); + await settle(page); + const sample = await measure(page, selector); + expect(sample, `${label}: '${selector}' matches nothing visible in ${mode} mode`).not.toBeNull(); + seen[mode] = luminance(sample.background); + } + await page.emulateMedia({ colorScheme: null }); + expect( + seen.dark, + `${label}: the surface behind '${selector}' must be darker in dark mode than in light mode`, + ).toBeLessThan(seen.light); +} + +async function assertReadable(page, selectors, label, min = 4.5) { + const entries = selectors.map((entry) => (typeof entry === "string" ? { selector: entry } : entry)); + await page.addStyleTag({ content: FREEZE_CSS }); + let measured = 0; + for (const mode of MODES) { + await page.emulateMedia({ colorScheme: mode }); + await settle(page); + for (const { selector, optional } of entries) { + const sample = await measure(page, selector); + if (sample === null) { + expect(optional === true, `${label}: '${selector}' matches nothing visible in ${mode} mode`).toBe(true); + continue; + } + measured += 1; + const [fg, bg] = [luminance(sample.color), luminance(sample.background)]; + const ratio = (Math.max(fg, bg) + 0.05) / (Math.min(fg, bg) + 0.05); + expect( + ratio, + `${label}: '${selector}' reaches contrast ${ratio.toFixed(2)} in ${mode} mode (needs ${min})`, + ).toBeGreaterThanOrEqual(min); + } + } + await page.emulateMedia({ colorScheme: null }); + expect(measured, `${label}: no element was measured`).toBeGreaterThan(0); +} + +/** + * @param {import('@playwright/test').Page} page + * @param {{name: string, url: string, prepare?: (page) => Promise}[]} views + */ +function galleryEnabled() { + return process.env.INFINITO_PLAYWRIGHT_KEEP === "true"; +} + +async function captureDesignGallery(page, views) { + if (!galleryEnabled()) return; + const original = page.viewportSize(); + const failures = []; + // Chromium counts the fulfilled "before" document as public address space and blocks its cross-origin assets on the local stack. + await page.context().grantPermissions(["local-network-access"]); + for (const side of ["after", "before"]) { + if (side === "before") await page.route("**/*", stripInjectedSnippets); + for (const [viewport, size] of Object.entries(VIEWPORTS)) { + await page.setViewportSize(size); + for (const view of views) { + for (const mode of MODES) { + const file = `${view.name}-${mode}-${viewport}.png`; + try { + await page.emulateMedia({ colorScheme: mode }); + await gotoOnion(page, view.url); + if (view.prepare) await view.prepare(page); + await settle(page); + await page.screenshot({ path: `${GALLERY_DIR}/${side}/${file}` }); + } catch (error) { + failures.push(`${side}/${file}: ${error.message.split("\n")[0]}`); + } + } + } + } + if (side === "before") await page.unroute("**/*", stripInjectedSnippets); + } + await page.emulateMedia({ colorScheme: null }); + if (original) await page.setViewportSize(original); + expect(failures, `design gallery views failed:\n${failures.join("\n")}`).toEqual([]); +} + +module.exports = { + assertDesignTokens, + assertLightAndDark, + assertReadable, + assertToken, + captureDesignGallery, + galleryEnabled, + tokenValue, +}; diff --git a/roles/test-e2e-playwright/files/personas/utils/csp.js b/roles/test-e2e-playwright/files/personas/utils/csp.js index 89c56e3290..a1c749980a 100644 --- a/roles/test-e2e-playwright/files/personas/utils/csp.js +++ b/roles/test-e2e-playwright/files/personas/utils/csp.js @@ -8,7 +8,7 @@ * covered by the role's CSP. * * The intent is symmetric: when an injector role like `mastodon`, - * `web-svc-asset`, `web-svc-cdn`, `web-svc-css`, `web-svc-javascript` + * `web-svc-asset`, `web-svc-cdn`, `web-svc-design`, `web-svc-javascript` * or `web-svc-simpleicons` is enabled, its origin MUST appear in the * CSP. When the injector is disabled, its origin MUST NOT appear in * any rendered `