Created
February 7, 2022 18:05
-
-
Save vaporic/9d09e8cee01a6950e6225fe7142eac4c to your computer and use it in GitHub Desktop.
Revisions
-
vaporic created this gist
Feb 7, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ version: '3.1' services: nginx-proxy: image: jwilder/nginx-proxy restart: always ports: - "80:80" - "443:443" volumes: - /var/run/docker.sock:/tmp/docker.sock:ro - /home/hugo/Code/pkr/certs:/etc/nginx/certs:ro - /etc/nginx/vhost.d - /usr/share/nginx/html labels: - com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy letsencrypt: image: jrcs/letsencrypt-nginx-proxy-companion restart: always volumes: - /home/hugo/Code/pkr/certs:/etc/nginx/certs:rw - /var/run/docker.sock:/var/run/docker.sock:ro volumes_from: - nginx-proxy:rw www: image: nginx restart: always expose: - "80" volumes: - /home/hugo/Code/pkr:/usr/share/nginx/html:ro environment: - VIRTUAL_HOST=pkr.dev - LETSENCRYPT_HOST=pkr.dev - [email protected]