-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Docker compose #621
Comments
Okay seems like I got it up and running now, a quick hint to the mosquitto.conf to disable local mode etc would be nice. |
The docker-compose file below worked for me on Windows 10 using my WSL hostname as the value.
I also created a file named
Create a directory containing both files above and run |
Your docker-compose file works flawlessly when connecting as localhost. When using the ip:port of the playnite-web instance, the page loads however the buttons on the page don't work (no login, filtering,...) possible. I use the docker-compose file in Docker Desktop for Windows. When viewing the page with Web Developer Tools of Firefox active, multiple failed get requests are visible in the tab Networking, some mentioning CORS errors and others displaying https requests that error out. Adding 'ADDITIONAL_ORIGINS' and 'CSP_ORIGINS' as environment variables in the playnite-web service does not solve this problem. Is there any way to connect to the playnite-web instance from another host? |
I am currently not able to test since I'm not at home but try to remove the 0.0.0.0's in the port forwarding sections. Not sure how exactly this works but this has something to do with binding to a network. |
I removed 0.0.0.0 in the docker-compose file e.g.
I also did this for the others services and later tried adding quotes and after that also changing the 0.0.0.0 to the ip of the playnite-web host in the lan. These changes didn't solve the problem unfortunately. One more thing: the MQTT service is reachable by inputting the lan ip of the service in the settings of the playnite-web plugin in Playnite and the Mongo service gives the same message when connecting to it using the lan ip:port in a web browser as when connecting to localhost. So it's only the playnite-web page that does not seem to respond correctly... |
What happens if you remove the first line from the mosquitto conf? I created mine using ChatGPT and it also told me something about an ACL file. If this doesn't work for you, let me know and I can redirect it to you. |
Removing |
Hey,
it would be great if you could add a docker compose file, since I have some problems creating the MQTT broker.
Also this would made it easier to get the whole app up and running.
The text was updated successfully, but these errors were encountered: