mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
29 lines
505 B
YAML
29 lines
505 B
YAML
|
version: "2"
|
||
|
|
||
|
networks:
|
||
|
net1:
|
||
|
|
||
|
services:
|
||
|
bridge-network:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "80"
|
||
|
VIRTUAL_HOST: "bridge-network.nginx-proxy.tld"
|
||
|
networks:
|
||
|
- net1
|
||
|
|
||
|
host-network:
|
||
|
image: web
|
||
|
environment:
|
||
|
WEB_PORTS: "8080"
|
||
|
VIRTUAL_HOST: "host-network.nginx-proxy.tld"
|
||
|
VIRTUAL_PORT: "8080"
|
||
|
network_mode: host
|
||
|
|
||
|
sut:
|
||
|
image: nginxproxy/nginx-proxy:test
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||
|
networks:
|
||
|
- net1
|