-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 no map for web #4083
Comments
must add ip on google map api |
What do you mean? |
Ok I got it. The bot container must mount the web directory in order for the map container to use it. Here is the full command: Container 1 (bot) Container 2 (map) Then you can access the map at the host address (http://192.168.99.100:8000/ in my case). I think the wiki should be updated with those information. |
Hi, I have an issue with Docker under Windows. I cannot access the web map.
Expected Behavior
When browsing http://192.168.99.100:8000/, seeing the pokemonGo-BOT directory, in order to access the web directory.
Actual Behavior
When browsing http://192.168.99.100:8000/, I access a directory with only a few files:
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Not relevant here. Instead here is my docker ps:
We can see there is a port forwarding from bot1-pokemonweb container to the port 8000.
Output when issue occurred
The GET request are fired when I click one of the files or refresh the page.
Steps to Reproduce
Follow the installation of Docker under Windows as describe in the documentation. The problem occurs after entering the following command:
docker run --name=bot1-pokegoweb --rm -it --volumes-from bot1-pokego -p 8000:8000 -v $(pwd)/configs/userdata.js:/usr/src/app/web/userdata.js -w /usr/src/app/web python:2.7 python -m SimpleHTTPServer
Other Information
OS:
Windows 10 64b
Branch:
dev
Git Commit:
Python Version:
Any other relevant files/configs (eg: path files)
Just in case, I tried to access http://localhost:8000/, but there was nothing there. The host information of the container were retrieved using the following command:
Thanks in advance for your help :)
The text was updated successfully, but these errors were encountered: