mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 13:24:11 -05:00
[GH-ISSUE #577] Paymenter don't work #13588
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 @neyunse on GitHub (Dec 9, 2025).
Original GitHub issue: https://github.com/Dokploy/templates/issues/577
Template Name
Paymenter
Relevant Logs of the Error
No relevant errors appear in the Dokploy logs; only when accessing the page does it remain blank.
When accessing the console, it can be seen that the problem is
“Cross-origin request blocked: The same-origin policy does not allow reading remote resources at http://localhost/default/assets/app-DKCq4tKC.js. (Reason: CORS request unsuccessful). Status code: (null)”.Steps to Reproduce the Error
Environment Information
When does this error occur?
When accessing the application
Additional Context
It seems that there is a problem with APP_URL. When configuring the URL, it continues to use http://localhost/*. This is causing resources to fail to load.
In simple tests, I saw that APP_URL reaches the container, but for some reason it is not being modified in the template.
Will you send a PR to fix it?
No
@neyunse commented on GitHub (Dec 10, 2025):
OK! I see how! For anyone else with the same problem...
(and this only works if you use Dokploy self-host and have access to your server's terminal)
docker psdocker exec -it <container name> sh -c "php artisan app:init"(Fill in the information. In the URL input field, enter the domain you configured.)docker exec -it <container name> sh -c "php artisan db:seed --class=CustomPropertySeeder"(Choose “yes”)docker exec -it <container name> sh -c "php artisan app:user:create"(Create a user as Admin)And that's it, the app should now be running on the domain.