Cert Fixes

This commit is contained in:
2026-09-07 10:01:49 +10:00
parent fc2898083c
commit 511929d579
3 changed files with 35 additions and 5 deletions
+4 -2
View File
@@ -25,8 +25,10 @@ fi
if docker compose ps --status running 2>/dev/null | grep -q visitor-signin; then
docker compose exec -T visitor-signin node scripts/make-cert.mjs $FORCE
echo "Restarting so the new certificate is served..."
docker compose restart visitor-signin
echo "Recreating the container so the new certificate is served..."
# up -d rather than restart: restart keeps the environment the container was
# started with, so an edited .env would be ignored.
docker compose up -d visitor-signin
else
node scripts/make-cert.mjs $FORCE
fi