1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 01:38:15 +00:00

Merge pull request #2404 from nginx-proxy/network-host

docs: add comment about host network to compose example
This commit is contained in:
Nicolas Duchon 2024-02-25 10:01:02 +01:00 committed by GitHub
commit f960061e2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,9 @@ services:
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /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: whoami:
image: jwilder/whoami image: jwilder/whoami
environment: environment: