Fix jwt-token

This commit is contained in:
2025-09-13 08:54:16 +02:00
parent a2403ab5cd
commit 22d925d14a
11 changed files with 585 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#!/bin/bash
# Entrypoint script for certbot container
set -e
echo "Starting Certbot Auto-Renewal Container"
echo "========================================="
# Create log directory
mkdir -p /var/log/certbot
# Set up environment
export DOMAIN="${DOMAIN:-dev.uggla.uamils.com}"
export EMAIL="${EMAIL:-admin@uggla.uamils.com}"
export RENEWAL_DAYS="${RENEWAL_DAYS:-10}"
echo "Domain: $DOMAIN"
echo "Email: $EMAIL"
echo "Renewal threshold: $RENEWAL_DAYS days"
# Initial certificate check/creation
/app/scripts/check-and-renew.sh
# Start cron daemon
echo "Starting cron daemon..."
exec "$@"