Skip to content

Commit 8c6ec27

Browse files
committed
Mention the docker-compose issues
1 parent 2b24c17 commit 8c6ec27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ The containers being proxied must [expose](https://docs.docker.com/reference/run
1818

1919
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.
2020

21+
### Docker-compose
22+
23+
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.
24+
25+
2126
### Multiple Ports
2227

2328
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.

0 commit comments

Comments
 (0)