Skip to content

Commit

Permalink
refactor: Update certbot renewal interval to 24 hours and change nginx
Browse files Browse the repository at this point in the history
dependencies
  • Loading branch information
Armadillidiid committed Mar 8, 2024
1 parent f6462aa commit d5ce729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ services:
- ./data/certbot/www:/var/www/certbot
depends_on:
- app
- certbot

certbot:
image: certbot/certbot:v2.9.0
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 24h & wait $${!}; done;'"
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
Expand Down

0 comments on commit d5ce729

Please sign in to comment.