mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-22 00:15:01 -05:00
[PR #382] [MERGED] Makes APP_URL valid for Pyrodactyl to function properly #414
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?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/382
Author: @EdyTheCow
Created: 9/20/2025
Status: ✅ Merged
Merged: 9/21/2025
Merged by: @Siumauricio
Base:
main← Head:fix-app-url-variable📝 Commits (1)
721f4cdMakes full APP_URL valid for Pyrodactyl to function properly📊 Changes
2 files changed (+2 additions, -3 deletions)
View changed files
📝
blueprints/pyrodactyl/docker-compose.yml(+1 -2)📝
blueprints/pyrodactyl/template.toml(+1 -1)📄 Description
Pyrodactyl expects full URL inside APP_URL variable. While you could add the "https://" to the variable inside the .env (template.toml), it doesn't properly pass the full APP_URL down to docker compose file. This causes some functions of the panel not to function properly.
This change moves the APP_URL variable directly to docker compose file, and instead adds the "https://" part, with a new variable APP_DOMAIN which only expects domain itself.
To reproduce the issue I am talking about:
To make it work, move the APP_URL directly to docker compose file and add "https://" in front of the domain. Re-deploy and repeat step 3 and 4. Now you'll notice that "DNS Provider Configuration" section does appear properly.
Additionally I have removed MYSQL_PASSWORD and MYSQL_ROOT_PASSWORD variables from panel in docker compose, because those variables do not belong there as they are database specific.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.