From 478ad17adb59808fecdaf1b7076d938460ba0108 Mon Sep 17 00:00:00 2001 From: ryneeverett Date: Fri, 29 Jul 2016 17:23:10 -0400 Subject: [PATCH] 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. --- docker-compose-separate-containers.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docker-compose-separate-containers.yml b/docker-compose-separate-containers.yml index dc41c01..a4edb94 100644 --- a/docker-compose-separate-containers.yml +++ b/docker-compose-separate-containers.yml @@ -7,8 +7,6 @@ services: - "80:80" volumes: - /etc/nginx/conf.d - networks: - - proxy-tier dockergen: image: jwilder/docker-gen @@ -18,16 +16,8 @@ services: volumes: - /var/run/docker.sock:/tmp/docker.sock:ro - ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl - networks: - - proxy-tier whoami: image: jwilder/whoami environment: - VIRTUAL_HOST=whoami.local - networks: - - proxy-tier - -networks: - proxy-tier: - driver: bridge