-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.10.1: API_ENDPOINT doesn't seem to be respected in web client #424
Comments
It seems relevant:
I'm running it as unprivileged, so that's a problem. |
Hello, before starting the client server, it overrides some of the built files according to your environment. It seems like it gets permission denied in your case, which is why the files stay untouched and the client gets the default value of localhost. |
Which should be a) documented and b) not require root permissions so it should probably use an unprivileged user instead of eg node aka uid 1000 which seems to exist in the container. |
Using a non- However, I disagree with your notion that you expect a container image to work when you change the UID that is being used. |
Which is not really great, same goes for s6-overlay (as a lot of images use either of these things). |
I'm afraid if I change the UID of the user in the container now, all the current instances of YourSpotify will break. If you have any idea on how to proceed I would be more than happy to implement. |
It should be enough to just change the group of the files/folders so that root AND eg group users or node or something can write. |
Neither the backend nor the frontend containers should have persistent data volumes in most deployments. The sample compose files don't define volumes for these containers, and I don't think any user has reason to define volumes for them, as the MongoDB handles all data persistence. Can you elaborate on how changing the user in the |
You're right. I was thinking about changing the UID of the mongo too but it is not needed so I think we could change the UID yeah. Might try that when I have a bit of time. |
The mongodb container image starts as |
Which is an example of an s6-overlay when it does that. |
Describe the bug
It seems that the API_ENDPOINT env variable is not being respected by the web client for unknown reasons?
Expected behavior
I would have expected it to be enough to set the API_ENDPOINT to the one the API is reacheable at without port, so eg
https://s-api.skylab.fi
but it still tries to use localhost instead.Additional context
Screenshots
The text was updated successfully, but these errors were encountered: