podify-org/podify

URL_HOST for local use

josephsamela opened this issue · 2 comments

What should the URL_HOST be for running locally?

I'm attempting to run podify on a local server using the docker-compose.example.yml. In my docker-compose I set the URL_HOST environment variable to the server address 192.168.1.5, like this:

URL_HOST: http://192.168.1.5

When I navigate to the webpage, I get this basic login screen. I login using the INITIAL_USER_EMAIL which seems to succeed, but then I get a blank screen. Any idea how to fix this? Thanks!

image

image

You probably just need to set it to URL_HOST: http://192.168.1.5:3000, otherwise it'll try to request the JS and CSS assets from port 80 which nothing is listening on.

If it still doesn't work after that, can you open the network tab in the developer tools in the browser (F12 usually), reload the page, and send a screenshot of that?

Yup, I was missing the port and the app was making requests to :80 causing the broken pages. I changed to URL_HOST: http://192.168.1.5:3000 and it loads up correctly. Thanks for the help!