add entrypoint to prod certbot

This commit is contained in:
Alex Holliday
2025-06-24 10:09:07 +08:00
parent 40f879f671
commit dbf9f86105

View File

@@ -21,6 +21,8 @@ services:
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew --webroot -w /var/www/certbot; sleep 12h & wait $${!}; done;'"
server:
image: ghcr.io/bluewave-labs/checkmate:backend-demo
restart: always