I have baserow installed in a docker container and accessible via a web address using nginx. My API endpoints are accessible from the web link but i want them accessible from the local ip… which docker variable to i need to change for this to be available?
Thanks in advance
Is that available from the local IP as well as the url or just from the local ip? Depending on your setup I would have expected the local ip to also work but I guess that would also depend on how you have n8n deployed (all in one container or multiple).
Thanks for your reply joffcom. Baserow is available via the local ip but the api endpoints still point to the web address… they need to be called from the web link and do not work if called from the local ip… I suspect this is because I declare in my docker installation the BASEROW_PUBLIC_URL to point to my web address and not my local IP address…
Just a note that all works fine if I change the BASEROW_PUBLIC_URL to my local address but then nothing works correctly when I access from the web address… So just is, I want to access baserow from the web address but access the API endpoints from the local IP… any way of doing this?
Thanks again in advance.
If it doesn’t work I can’t think of anything, is there a technical reason as to why you want to do this?
@TC2020 you want to set the env var BASEROW_EXTRA_ALLOWED_HOSTS be your local IP to allow other hosts to query the backend API
See more details at Configuring Baserow // Baserow
Im using appsmith to access data on the same machine… its much quicker access via API through local address…
Hoping you can tell me what I’m doing wrong…
I added the - BASEROW_EXTRA_ALLOWED_HOSTS in the environment in my baserow portainer stack… …
Accessing address in appsmith:
http://192.168.1.3:3001/api/database/rows/table/11124/?user_field_names=true didn’t work for me…
Any idea? Has it something to do with the port? IE in this case 3001?
I tried removing the port… still no go… can’t access api from local ip…
Are you seeing an error when you try?
No error when running the container… it just gives a bad request when using the ip address over the web address…
If i put my local ip address in the public_url it all works fine locally… but then everything is broken when using the web address…
Figured it out…