mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 22:35:45 +00:00
test: custom HTTP port
This commit is contained in:
committed by
Nicolas Duchon
parent
d1cf6b57d7
commit
6bb7c37605
15
test/test_http_port.yml
Normal file
15
test/test_http_port.yml
Normal file
@ -0,0 +1,15 @@
|
||||
web1:
|
||||
image: web
|
||||
expose:
|
||||
- "81"
|
||||
environment:
|
||||
WEB_PORTS: "81"
|
||||
VIRTUAL_HOST: "*.nginx-proxy.tld"
|
||||
|
||||
sut:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
|
||||
environment:
|
||||
HTTP_PORT: 8080
|
Reference in New Issue
Block a user