mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
197d793a25
Experimentation to see if it is worth the effort
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 |