Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- letsencrypt:
- image: nginxproxy/acme-companion
- container_name: nginx-proxy-le
- volumes_from:
- - nginx-proxy
- volumes:
- - certs:/etc/nginx/certs:rw
- - /var/run/docker.sock:/var/run/docker.sock:ro
- restart: unless-stopped
- nginx-proxy:
- image: jwilder/nginx-proxy
- container_name: nginx-proxy
- ports:
- - "80:80"
- - "443:443"
- volumes:
- - conf:/etc/nginx/conf.d
- - vhost:/etc/nginx/vhost.d
- - dhparam:/etc/nginx/dhparam
- - certs:/etc/nginx/certs:ro
- - /var/run/docker.sock:/tmp/docker.sock:ro
- - /usr/share/nginx/html
- networks:
- - proxy
- restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement