1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-21 11:26:31 +00:00

Remove proxy-tier network in favor of the default.

As @huiwang pointed out, using a custom network is unnecessary since the
default bridge network works just as well.
This commit is contained in:
ryneeverett 2016-07-29 17:23:10 -04:00
parent 5f684d4fc5
commit 478ad17adb

View File

@ -7,8 +7,6 @@ services:
- "80:80" - "80:80"
volumes: volumes:
- /etc/nginx/conf.d - /etc/nginx/conf.d
networks:
- proxy-tier
dockergen: dockergen:
image: jwilder/docker-gen image: jwilder/docker-gen
@ -18,16 +16,8 @@ services:
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl - ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl
networks:
- proxy-tier
whoami: whoami:
image: jwilder/whoami image: jwilder/whoami
environment: environment:
- VIRTUAL_HOST=whoami.local - VIRTUAL_HOST=whoami.local
networks:
- proxy-tier
networks:
proxy-tier:
driver: bridge