We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84a02ec + 2e02a3a commit 1be59feCopy full SHA for 1be59fe
deployment/scripts/renew-ssl.sh
@@ -13,5 +13,12 @@
13
14
#25 11 * * * /bin/bash /home/web/QGIS-Changelog-Website/deployment/scripts/renew_ssl.sh > /tmp/ssl-renewal-logs.txt
15
16
+# Set variables for cleaner commands
17
+DEPLOYMENT_DIR="/home/web/QGIS-Changelog-Website/deployment"
18
+COMPOSE_FILES="-f ${DEPLOYMENT_DIR}/docker-compose.yml -f ${DEPLOYMENT_DIR}/docker-compose.override.yml"
19
-docker compose -f /home/web/QGIS-Changelog-Website/deployment/docker-compose.yml -f /home/web/QGIS-Changelog-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
0 commit comments