File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1313
1414# 25 11 * * * /bin/bash /home/web/QGIS-Certification-Website/deployment/scripts/renew_ssl.sh > /tmp/ssl-renewal-logs.txt
1515
16+ # Set variables for cleaner commands
17+ DEPLOYMENT_DIR=" /home/web/QGIS-Certification-Website/deployment"
18+ COMPOSE_FILES=" -f ${DEPLOYMENT_DIR} /docker-compose.yml -f ${DEPLOYMENT_DIR} /docker-compose.override.yml"
1619
17- docker compose -f /home/web/QGIS-Certification-Website/deployment/docker-compose.yml -f /home/web/QGIS-Certification-Website/deployment/docker-compose.override.yml run certbot renew
20+ # Renew SSL certificates
21+ docker compose ${COMPOSE_FILES} run certbot renew
22+
23+ # Hot reload the web service to apply new certificates
24+ docker compose ${COMPOSE_FILES} kill -s SIGHUP web
You can’t perform that action at this time.
0 commit comments