mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-03 07:15:46 +00:00
tests: factor out base nginx-proxy config
This commit is contained in:
@ -1,24 +0,0 @@
|
||||
services:
|
||||
host-network-1:
|
||||
image: web
|
||||
environment:
|
||||
WEB_PORTS: "8080"
|
||||
VIRTUAL_HOST: "host-network-1.nginx-proxy.tld"
|
||||
VIRTUAL_PORT: "8080"
|
||||
network_mode: host
|
||||
|
||||
host-network-2:
|
||||
image: web
|
||||
environment:
|
||||
WEB_PORTS: "8181"
|
||||
VIRTUAL_HOST: "host-network-2.nginx-proxy.tld"
|
||||
VIRTUAL_PORT: "8181"
|
||||
network_mode: host
|
||||
|
||||
sut:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
environment:
|
||||
HTTP_PORT: 8888
|
||||
network_mode: host
|
Reference in New Issue
Block a user