mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 04:48:50 -05:00
[GH-ISSUE #739] Outline not willing to get Redirect URL #6542
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HeapReaper on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/Dokploy/templates/issues/739
To Reproduce
Hi! So i've installed the Outline template.
I've set the Outline domain to knowledge.klikbit.nl and the dex domain to knowledge-dex.klikbit.nl.
Inside the advanced -> volumes tab i've edited the config.yml to:
issuer: https://knowledge-dex.klikbit.nland i've set the enviroment vars to:
Then i redeployed Outline
Current vs. Expected behavior
Current behavour:
Expected behavour:
Seeing Outline.
I also tried reloading the application. Seems like it doesn't want to get the changes in config.yml?
Provide environment information
Which area(s) are affected? (Select all that apply)
Docker Compose
Are you deploying the applications where Dokploy is installed or on a remote server?
Remote server
Additional context
No response
Will you send a PR to fix it?
No
@dosubot[bot] commented on GitHub (Mar 6, 2026):
Hi @HeapReaper! I'm Dosu and I’m helping the dokploy team.
The issue is that the Dex configuration in the Outline template is embedded directly in the
template.tomlfile, not stored as a separate volume file. Editingconfig.ymlin the volumes tab won't work because that config is dynamically generated from the template when deployed.Looking at the template.toml, the Dex config uses template variables like
${main_domain}and${dex_domain}which are substituted at deployment time.To fix this, you have a few options:
Redeploy with correct variables - Make sure
main_domainis set toknowledge.klikbit.nlanddex_domainis set toknowledge-dex.klikbit.nlwhen deploying the template.Manually update the mounted config - The config is mounted from
../files/etc/dex/config.yaml:/etc/dex/config.yamlper the docker-compose.yml. You may need to find and edit the actual generated file in the Dokploy files directory, not through the volumes tab.Restart the Dex container after making changes - Dex won't pick up config changes without a container restart.
Also note: the template defaults to
http://URLs, but you're usinghttps://. Make sure your redirect URI scheme (https://) matches exactly in both the Dex config and Outline environment variables.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@dosubot[bot] commented on GitHub (Mar 7, 2026):
The issue is that Dex doesn't automatically reload configuration changes - you need to restart the Dex container after editing
config.yaml.Here's what's happening:
To fix this:
SSH into your server and locate the config file at:
Ensure the
redirectURIsuses HTTPS (matching your actual domain):Restart the Dex container (not just Outline) - this is the key step. The config won't apply until Dex restarts.
Then restart Outline as well.
If you're editing via Dokploy's Advanced → Volumes tab, make sure you're restarting the Dex service specifically, not just redeploying Outline.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.