1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 09:48:14 +00:00
nginx-proxy/test/test_host-network-mode/test_host-network-mode.yml

29 lines
440 B
YAML
Raw Normal View History

2023-04-28 22:23:09 +02:00
networks:
net1:
2023-05-09 00:58:05 +02:00
internal: true
net2:
2023-04-28 22:23:09 +02:00
services:
nginx-proxy:
networks:
- net1
- net2
2023-04-28 22:23:09 +02:00
bridge-network:
image: web
environment:
WEB_PORTS: "80"
VIRTUAL_HOST: "bridge-network.nginx-proxy.tld"
networks:
2023-05-09 00:58:05 +02:00
- net2
2023-04-28 22:23:09 +02:00
host-network:
image: web
environment:
WEB_PORTS: "8080"
VIRTUAL_HOST: "host-network.nginx-proxy.tld"
VIRTUAL_PORT: "8080"
network_mode: host