Add XRDB app template with Authelia and Cloudflare DDNS wiring#97
Open
IbbyLabs wants to merge 3 commits intoViren070:mainfrom
Open
Add XRDB app template with Authelia and Cloudflare DDNS wiring#97IbbyLabs wants to merge 3 commits intoViren070:mainfrom
IbbyLabs wants to merge 3 commits intoViren070:mainfrom
Conversation
Add XRDB as an include-based app module in the docker compose template. Wire the root hostname and Traefik override variables and add the full XRDB app environment template so the service can be enabled in the same style as the other modules.
Add TEMPLATE_XRDB_HOSTNAME to the Authelia service environment and insert XRDB bypass rules for image, proxy, preview, API, and static asset endpoints. Enable the authelia@docker middleware on the XRDB router so the configurator and other non-bypassed pages are protected by default in the template stack.
Include XRDB in the Cloudflare DDNS domain list so the template can create and maintain its DNS record alongside the other app modules.
There was a problem hiding this comment.
Pull request overview
Adds XRDB as a first-class app module in the template, including Traefik routing, Authelia integration (with selective bypass for media-client routes), and Cloudflare DDNS support.
Changes:
- Added the XRDB app module (
apps/xrdb) and wired it into the rootcompose.yamlinclude list. - Integrated XRDB with Authelia via
TEMPLATE_XRDB_HOSTNAMEand added bypass rules for image/proxy/preview/API/static routes. - Added
XRDB_HOSTNAME(and optional Traefik override vars) to the root.env, and included XRDB in the Cloudflare DDNS domain list.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| compose.yaml | Includes the new XRDB compose module in the main stack. |
| apps/xrdb/compose.yaml | Defines the XRDB service, Traefik router/service labels, Authelia middleware, and data volume. |
| apps/xrdb/.env | Provides the XRDB environment surface template for configuration. |
| apps/cloudflare-ddns/compose.yaml | Adds XRDB_HOSTNAME to the DDNS-managed domains list. |
| apps/authelia/config/configuration.yml | Adds XRDB-specific bypass rules for media-client-facing routes while leaving other routes protected. |
| apps/authelia/compose.yaml | Exposes TEMPLATE_XRDB_HOSTNAME to Authelia’s templated configuration. |
| .env | Adds XRDB_HOSTNAME and optional Traefik override variables for XRDB. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add XRDB to the docker-compose template as a first-class app module.
Included
apps/xrdb/compose.yamlapps/xrdb/.envwith the XRDB environment surfaceXRDB_HOSTNAMEand XRDB Traefik override vars to the root.envcompose.yamlTEMPLATE_XRDB_HOSTNAMEauthelia@dockeron the XRDB routerWhy
This makes XRDB work out of the box in the same style as the other app modules in the template, including reverse proxy routing, optional DNS automation, and Authelia protection without breaking media-client-facing endpoints.
Notes
Hey boss @Viren070 i know you’re busy but I’d appreciate it if you would be willing to check this out and approve it for people. Thank you 🫡