mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 22:35:45 +00:00
feat: handle multiple proxy networks
This commit is contained in:
@ -2,6 +2,8 @@ version: "2"
|
||||
|
||||
networks:
|
||||
net1:
|
||||
internal: true
|
||||
net2:
|
||||
|
||||
services:
|
||||
bridge-network:
|
||||
@ -10,7 +12,7 @@ services:
|
||||
WEB_PORTS: "80"
|
||||
VIRTUAL_HOST: "bridge-network.nginx-proxy.tld"
|
||||
networks:
|
||||
- net1
|
||||
- net2
|
||||
|
||||
host-network:
|
||||
image: web
|
||||
@ -26,3 +28,4 @@ services:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
networks:
|
||||
- net1
|
||||
- net2
|
||||
|
Reference in New Issue
Block a user