Skip to content

Commit b1f46c5

Browse files
committed
Added Entry to FAQ for Docker on Windows
Default configuration of the `docker-compose.yml` file does not run on windows. Solution is to change `network_mode` from `host` to `bridge` and use the --publish or -p parameter to bind the port.
1 parent 5700bf8 commit b1f46c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ SDKs or APIs available. The general workflow would look something like: webhook
120120

121121
You can use the `tvwb.py shell` command to open a python shell with the app context. This allows you to interact with the app without having to enter `python3 tvwb.py` every time.
122122

123+
#### Running Docker on Windows?
124+
125+
If you are using Docker on Windows, open the `docker-compose.yml` file and either remove the line `network_mode: 'host'` or change `host` to `bridge` (default when `network_mode` is not provided).
126+
The `host` network mode does not work with Windows and will cause the connection to the container to never complete. You will also need to add the `publish` parameter to the docker command such as: `docker-compose -dp 5000:5000 run app`.
127+
123128
#### How do I get more help?
124129

125130
At the moment, the wiki is under construction. However, you may still find some good info on there. For additional assistance you can DM me on [Twitter](https://twitter.com/robswc) or join the [Discord](https://discord.gg/wrjuSaZCFh). I will try my best to get back to you!

0 commit comments

Comments
 (0)