open-cuak icon indicating copy to clipboard operation
open-cuak copied to clipboard

support custom hostname

Open ljhskyso opened this issue 9 months ago • 3 comments

currently, we don't support custom hostname, as it is always hardcoded to be localhost for now. this works for running only on local machine, but if we want to expose it as a service accessible remotely, it causes issues.

from issue:

I was trying to run in a separate computer because mine halts due to load when I run the project and my normal load. The websites are redirected to localhost, even if i entered the ip. Thus http://192.168.1.10:11970 redirects to http://localhost:11970/portal, I believe it is the case with some websockets and other ports you use. I tried to modify the environment file replacing all the localhost elements to the ip of the computer but when I run the command npm run docker:prod:up, the environment file (.env.production) gets overwritten again with the default values.

ljhskyso avatar Mar 18 '25 23:03 ljhskyso

+1 😀

silgon avatar Mar 19 '25 14:03 silgon

I might not be able to help with the code. But , let me know if you need some help testing if it works. Thx! 🙂

silgon avatar Mar 26 '25 08:03 silgon

I might not be able to help with the code. But , let me know if you need some help testing if it works. Thx! 🙂

@silgon hey - definitely.

we had an early implementation of this feature days ago, but we decided to pause this for now to work on the cloud deployment instead. after launching the cloud-hosted open-cuak, we will come back and resume implementing this feature.

ljhskyso avatar Mar 27 '25 23:03 ljhskyso