From 8c6ec27547fe7ac51d9f07975d7b0533558c0334 Mon Sep 17 00:00:00 2001 From: Gabriel Baker Date: Tue, 23 Feb 2016 07:23:27 +0000 Subject: [PATCH 1/2] Mention the docker-compose issues --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9d4bb40..4be79df 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ The containers being proxied must [expose](https://docs.docker.com/reference/run Provided your DNS is setup to forward foo.bar.com to the a host running nginx-proxy, the request will be routed to a container with the VIRTUAL_HOST env var set. +### Docker-compose + +Currently this does not work with the new v2 syntax of docker-compose (due to not being compatible with the new network overlay see #304). It does work when using the old docker-composer syntax. + + ### Multiple Ports If your container exposes multiple ports, nginx-proxy will default to the service running on port 80. If you need to specify a different port, you can set a VIRTUAL_PORT env var to select a different one. If your container only exposes one port and it has a VIRTUAL_HOST env var set, that port will be selected. From d849e5f5d04114c3cff2855a5cac4b702f98b89b Mon Sep 17 00:00:00 2001 From: Gabriel Baker Date: Tue, 23 Feb 2016 07:25:32 +0000 Subject: [PATCH 2/2] Linkify the issue ref --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4be79df..efb8ed1 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Provided your DNS is setup to forward foo.bar.com to the a host running nginx-pr ### Docker-compose -Currently this does not work with the new v2 syntax of docker-compose (due to not being compatible with the new network overlay see #304). It does work when using the old docker-composer syntax. +Currently this does not work with the new v2 syntax of docker-compose (due to not being compatible with the new network overlay see [#304](https://github.com/jwilder/nginx-proxy/issues/304)). It does work when using the old docker-composer syntax. ### Multiple Ports