mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-12-14 06:19:21 +00:00
Make sure networks order is the same
This commit is contained in:
26
test/test_vhost-in-multiple-networks.yml
Normal file
26
test/test_vhost-in-multiple-networks.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: '2'
|
||||
|
||||
networks:
|
||||
net1: {}
|
||||
net2: {}
|
||||
net3: {}
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
networks:
|
||||
- net1
|
||||
|
||||
web:
|
||||
image: web
|
||||
expose:
|
||||
- "81"
|
||||
environment:
|
||||
WEB_PORTS: 81
|
||||
VIRTUAL_HOST: web1.nginx-proxy.local
|
||||
networks:
|
||||
- net1
|
||||
- net2
|
||||
- net3
|
||||
Reference in New Issue
Block a user