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.

23 lines
536 B

5 years ago
  1. version: "2.1"
  2. services:
  3. letsencrypt:
  4. image: linuxserver/letsencrypt
  5. container_name: nginx-proxy
  6. cap_add:
  7. - NET_ADMIN
  8. environment:
  9. - PUID=1000
  10. - PGID=1000
  11. - TZ=Europe/Berlin
  12. - URL=openwill.de
  13. - SUBDOMAINS=www,pad,gitea
  14. - VALIDATION=http
  15. - EMAIL=webmaster@openwill.de
  16. - DHLEVEL=2048
  17. - ONLY_SUBDOMAINS=false
  18. - STAGING=false #optional
  19. volumes:
  20. - /opt/docker/nginx-proxy/config:/config
  21. ports:
  22. - 443:443
  23. - 80:80
  24. restart: always