Closed lukuhn closed 1 year ago
Hello! You can use local addresses if you want to access your service from within your home only. Nginx and stuff will appear if you want it to be accessible over the internet. Your problem seems to be the API_ENDPOINT in your web service. This should be the same as the one in your server. What it is actually doing is when you go to the website, it tries to communicate with a server on the current machine, which is rarely what you want.
Hey thanks for your help. I changed the in the web section to this: ` web: image: yooooomi/your_spotify_client restart: always ports:
But I still get the same error :(. What could be also wrong ?
Your setup is http and not https, try to only use http addresses.
Thanks a lot for your help! It is no finally working! Have a great day!
hello @Yooooomi i also have this problem, my ip is 144.24.113.211 I cant login, cuz the link oauth is not working /oauth/spotify/callback here is my settings
API_ENDPOINT: http://144.24.113.211:8080
CLIENT_ENDPOINT: http://144.24.113.211:3000
it the same with web container API_ENDPOINT, what is wrong ?
Hey sorry for the dumb questions, I am quite new to this things. I have set my docker compose file to this:
`version: "3"
services: server: image: yooooomi/your_spotify_server restart: always ports:
./your_spotify_db:/data/db
web: image: yooooomi/your_spotify_client restart: always ports:
But when I try to logn in I get this error: The web application can't communicate with the server I also get the hello! on http://192.168.178.63:8080/
What extra things are also nesseary ? Do i need ngix or something like this ? Thanks for your help!