mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-25 04:25:23 -04:00
Cant access the UI from a remote box #9
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 @shyamsfo on GitHub (Jul 28, 2023).
Nice work. Comes up fine...
I am running using
docker-compose up -d --buildWhat's the way to access the UI from a remote box?
Something in the frontend always tries to authenticate to
127.0.0.1:3001/api/I see a
VITE_API_BASEvariable but I am not sure where to set this (and what to rebuild (for docker) after setting it)@timothycarambat commented on GitHub (Jul 28, 2023):
If this is a remote machine that is running the dockerized instance you shouldn't have to change the VITE_API_BASE because the internal docker instance will have access to its own local network. However for you to connect to the UI on the remote machine (like EC2) you should go to
HTTP://<REMOTE MACHINE IP>:3001@shyamsfo commented on GitHub (Jul 28, 2023):
yes, that works and the login page comes up, but the moment i type my username and password, it tries to authenticate at 127.0.0.1:3001 not the remote ip.

@timothycarambat commented on GitHub (Jul 31, 2023):
So to clarify, are you running docker on an EC2-like instance that is available via some IP address?
@shyamsfo commented on GitHub (Aug 1, 2023):
Yes. Patch below doesnt completely fix it, but this should be the starting point of your fix.
remote.patch