1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 01:38:15 +00:00
nginx-proxy/test/test_custom/test_proxy-wide.yml

22 lines
472 B
YAML
Raw Normal View History

services:
nginx-proxy:
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ${PYTEST_MODULE_PATH}/my_custom_proxy_settings_f00.conf:/etc/nginx/conf.d/my_custom_proxy_settings_f00.conf:ro
web1:
2017-03-07 14:04:44 -05:00
image: web
expose:
- "81"
environment:
2024-12-27 16:16:55 +01:00
WEB_PORTS: "81"
VIRTUAL_HOST: web1.nginx-proxy.example
web2:
2017-03-07 14:04:44 -05:00
image: web
expose:
- "82"
environment:
2024-12-27 16:16:55 +01:00
WEB_PORTS: "82"
VIRTUAL_HOST: web2.nginx-proxy.example