Public Access
Cert Fixes
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user