| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- volumes:
- nginx_conf:
- services:
- sut:
- profiles:
- - singleContainer
- image: nginxproxy/nginx-proxy:test
- volumes:
- - &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
- - &locationOverride ./test_location-override.vhost.d:/etc/nginx/vhost.d:ro
- sut-dockergen:
- profiles:
- - separateContainers
- image: nginxproxy/nginx-proxy:test-dockergen
- volumes:
- - &confVolume nginx_conf:/etc/nginx/conf.d
- - *dockerSocket
- - *locationOverride
- sut-nginx:
- profiles:
- - separateContainers
- container_name: nginx-proxy
- image: nginx:alpine
- volumes:
- - *confVolume
- - *locationOverride
- labels:
- - "com.github.nginx-proxy.nginx-proxy.nginx"
- explicit-root:
- image: web
- expose:
- - "81"
- environment:
- WEB_PORTS: "81"
- VIRTUAL_HOST: >-
- explicit-root-nohash.nginx-proxy.test,
- explicit-root-hash.nginx-proxy.test,
- explicit-root-hash-and-nohash.nginx-proxy.test,
- explicit-nonroot.nginx-proxy.test
- VIRTUAL_PATH: /
- explicit-foo:
- image: web
- expose:
- - "82"
- environment:
- WEB_PORTS: "82"
- VIRTUAL_HOST: >-
- explicit-root-nohash.nginx-proxy.test,
- explicit-root-hash.nginx-proxy.test,
- explicit-root-hash-and-nohash.nginx-proxy.test,
- explicit-nonroot.nginx-proxy.test
- VIRTUAL_PATH: /foo/
- VIRTUAL_DEST: /
- # Same as explicit-root except VIRTUAL_PATH is left unset.
- implicit-root:
- image: web
- expose:
- - "83"
- environment:
- WEB_PORTS: "83"
- VIRTUAL_HOST: >-
- implicit-root-nohash.nginx-proxy.test,
- implicit-root-hash.nginx-proxy.test,
- implicit-root-hash-and-nohash.nginx-proxy.test,
|