Use bridge as default network mode
This commit is contained in:
parent
3fab237f34
commit
caa5072d4e
2 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ services:
|
|||
- "80:80"
|
||||
volumes:
|
||||
- /etc/nginx/conf.d
|
||||
network_mode: "bridge"
|
||||
|
||||
dockergen:
|
||||
image: jwilder/docker-gen
|
||||
|
|
@ -16,8 +17,10 @@ services:
|
|||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl
|
||||
network_mode: "bridge"
|
||||
|
||||
whoami:
|
||||
image: jwilder/whoami
|
||||
environment:
|
||||
- VIRTUAL_HOST=whoami.local
|
||||
network_mode: "bridge"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ services:
|
|||
- "80:80"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
network_mode: "bridge"
|
||||
|
||||
whoami:
|
||||
image: jwilder/whoami
|
||||
environment:
|
||||
- VIRTUAL_HOST=whoami.local
|
||||
network_mode: "bridge"
|
||||
|
|
|
|||
Loading…
Reference in a new issue