Browse Source

docs: add comment about host network to compose example

Michael Bianco 1 year ago
parent
commit
8c95ed1cc0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docker-compose.yml

+ 3 - 0
docker-compose.yml

@@ -9,6 +9,9 @@ services:
     volumes:
       - /var/run/docker.sock:/tmp/docker.sock:ro
 
+    # if you want to proxy based on host ports, you'll want to use the host network
+    # network_mode: "host"
+
   whoami:
     image: jwilder/whoami
     environment: