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.
 
 
 
 
 
 

8 lines
226 B

  1. #!/usr/bin/env bash
  2. docker-compose pull
  3. docker-compose down
  4. echo "Try to renew LestEncrypt certificate"
  5. docker run -it --rm -p 443:443 -p 80:80 -v $PWD/letsencrypt:/etc/letsencrypt/ certbot/certbot renew
  6. docker-compose up -d