You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
731 B
35 lines
731 B
2 years ago
|
version: "2"
|
||
|
|
||
|
services:
|
||
|
nginx-proxy:
|
||
|
image: jwilder/nginx-proxy
|
||
|
ports:
|
||
|
- 80:80
|
||
|
- 443:443
|
||
|
volumes:
|
||
|
- ./conf:/etc/nginx/conf.d
|
||
|
- ./certs:/etc/nginx/certs
|
||
|
- ./vhost:/etc/nginx/vhost.d
|
||
|
- ./html:/usr/share/nginx/html
|
||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||
|
networks:
|
||
|
cttue_web_services:
|
||
|
|
||
|
nginx-proxy-acme:
|
||
|
image: nginxproxy/acme-companion
|
||
|
volumes_from:
|
||
|
- nginx-proxy
|
||
|
volumes:
|
||
|
- ./certs:/etc/nginx/certs:rw
|
||
|
- ./acme:/etc/acme.sh
|
||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||
|
environment:
|
||
|
- DEFAULT_EMAIL=codingmarco@gmail.com
|
||
|
networks:
|
||
|
cttue_web_services:
|
||
|
|
||
|
networks:
|
||
|
cttue_web_services:
|
||
|
external: true
|
||
|
|