Advertisement
dimonbb

Untitled

Jun 12th, 2022
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. letsencrypt:
  2. image: nginxproxy/acme-companion
  3. container_name: nginx-proxy-le
  4. volumes_from:
  5. - nginx-proxy
  6. volumes:
  7. - certs:/etc/nginx/certs:rw
  8. - /var/run/docker.sock:/var/run/docker.sock:ro
  9. restart: unless-stopped
  10.  
  11. nginx-proxy:
  12. image: jwilder/nginx-proxy
  13. container_name: nginx-proxy
  14. ports:
  15. - "80:80"
  16. - "443:443"
  17. volumes:
  18. - conf:/etc/nginx/conf.d
  19. - vhost:/etc/nginx/vhost.d
  20. - dhparam:/etc/nginx/dhparam
  21. - certs:/etc/nginx/certs:ro
  22. - /var/run/docker.sock:/tmp/docker.sock:ro
  23. - /usr/share/nginx/html
  24.  
  25. networks:
  26. - proxy
  27. restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement