1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2025-02-05 05:41:39 +01:00
nginx-proxy/test/test_host-network-mode/test_host-network-mode.yml
2024-12-30 20:45:08 +01:00

27 lines
438 B
YAML

networks:
net1:
internal: true
net2:
services:
nginx-proxy:
networks:
- net1
- net2
bridge-network:
image: web
environment:
WEB_PORTS: "80"
VIRTUAL_HOST: "bridge-network.nginx-proxy.tld"
networks:
- net2
host-network:
image: web
environment:
WEB_PORTS: "8080"
VIRTUAL_HOST: "host-network.nginx-proxy.tld"
VIRTUAL_PORT: "8080"
network_mode: host