mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-25 21:36:30 +00:00
16 lines
402 B
YAML
16 lines
402 B
YAML
|
web1:
|
||
|
image: web
|
||
|
expose:
|
||
|
- "81"
|
||
|
environment:
|
||
|
WEB_PORTS: "81"
|
||
|
VIRTUAL_HOST: "*.nginx-proxy.tld"
|
||
|
CERT_NAME: "*.nginx-proxy.tld"
|
||
|
|
||
|
|
||
|
sut:
|
||
|
image: jwilder/nginx-proxy:test
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||
|
- ./certs/*.nginx-proxy.tld.crt:/etc/nginx/certs/*.nginx-proxy.tld.crt:ro
|
||
|
- ./certs/*.nginx-proxy.tld.key:/etc/nginx/certs/*.nginx-proxy.tld.key:ro
|