feat: add certificate request task
This commit is contained in:
@@ -95,9 +95,9 @@ services:
|
||||
- ./nginx/certbot/www:/var/www/certbot
|
||||
- ./nginx/99-autoreload.sh:/docker-entrypoint.d/99-autoreload.sh
|
||||
|
||||
# certbot:
|
||||
# image: certbot/certbot
|
||||
# volumes:
|
||||
# - ./nginx/certbot/conf:/etc/letsencrypt
|
||||
# - ./nginx/certbot/www:/var/www/certbot
|
||||
# entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
volumes:
|
||||
- ./nginx/certbot/conf:/etc/letsencrypt
|
||||
- ./nginx/certbot/www:/var/www/certbot
|
||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||
5
files/inception/srcs/nginx/99-autoreload.sh
Normal file
5
files/inception/srcs/nginx/99-autoreload.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
while :; do
|
||||
sleep 6h
|
||||
nginx -t && nginx -s reload
|
||||
done &
|
||||
Reference in New Issue
Block a user