mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: Open white screen after docker deployment #553
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 @tl211211211 on GitHub (Aug 12, 2024).
Where is the problem occurring?
None
What browsers are you seeing the problem on?
No response
Current behaviour
After docker local intranet deployment through port forwarding mapping to the public network can not be used normally, open the white screen. The main reason is that the following two files get the address for the intranet address.
http://localhost:3000/static/js/main.780b7d6d.js
http://localhost:3000/static/css/main.af55c8d0.css
Desired behaviour
No response
Steps to reproduce
Deploying with docker in an intranet environment
Use nat port mapping to map port 3000 on the intranet server to port 63000 on the public network.
Using public address:63000 to access opens a white screen
Other information
No response
@meltyshev commented on GitHub (Aug 12, 2024):
Hi! It looks like you haven't specified
BASE_URL, or you've set it toBASE_URL=http://localhost:3000. TheBASE_URLshould match the exact address you use in your browser to connect to Planka. In your case, it should beBASE_URL=http://PUBLIC_ADDRESS:63000.@tl211211211 commented on GitHub (Aug 12, 2024):
No, I may not have made myself clear, I set BASE_URL=172.16.1.22:3000,and mapped the intranet server port to the public address 63000 via port mapping.
When I use http://172.16.1.22:3000 on the intranet it is accessed fine, but when I use public:63000 it is not accessed properly. Those two files get the address as local IP.
http://172.16.1.22:3000/static/js/main.780b7d6d.js
http://172.16.1.22:3000/static/css/main.af55c8d0.css
@meltyshev commented on GitHub (Aug 12, 2024):
Ah, got it. Unfortunately, we don't currently support specifying multiple addresses. However, I think this feature should be added, I'll try to come up with something.
Related: #481, #530
@ashap5 commented on GitHub (Oct 7, 2024):
Looking forward to this feature. Any idea when it might be available?