Private
Public Access
1
0

Initial commit: complete WebsiteBox project

Docker-based self-hosted WordPress deployment system with:
- Four-container stack (nginx, wordpress/php-fpm, mariadb, certbot)
- Automatic SSL via Let's Encrypt with self-signed fallback
- First-boot WordPress setup via WP-CLI (GeneratePress + child theme, plugins)
- Interactive setup wizard and one-line install script
- Backup, update, healthcheck, and SSL renewal scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
constantprojects
2026-02-20 15:24:23 -07:00
commit a440026701
32 changed files with 3397 additions and 0 deletions

17
scripts/ssl-renew.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -eo pipefail
# WebsiteBox SSL Renewal Helper
# Manually triggers a certificate renewal attempt via the certbot container.
# Automatic renewals are handled by the certbot container's built-in loop.
# Use this script only if you need to force an immediate renewal.
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
echo "Requesting certificate renewal..."
docker compose -f "${PROJECT_DIR}/docker-compose.yml" exec certbot \
certbot renew --deploy-hook "touch /var/run/certbot-signal/reload"
echo "Renewal attempt complete. Check logs for details:"
echo " docker compose logs certbot"