Can't mount my own localStorage file
When I try to provide my own localStorage file as per docs:
And I do provide my SERVER_URL also:
I'm getting these logs and container can't start up:
I'm guessing the issue comes from this line: https://github.com/tsaridas/stremio-docker/blob/0981816a3fd2e24b0eb45f7ca93cc5be9027f40d/stremio-web-service-run.sh#L9-L18
Looking at the code, if I don't provide my SERVER_URL and I do not set AUTO_SERVER_URL to 1 then it might work since localStorage file isn't copied then. But it's weird behaviour. I think we should check if file exists and don't make it depended on those two vars.
I guess the idea is that if you manage that file you also setup your server and no need to use the SERVER_URL variables.
you could also try to mount it in /srv/stremio-server.
yes we could ignore the two urls if file exists