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

View File

@@ -0,0 +1,26 @@
<?php
/**
* WebsiteBox WordPress Configuration (Extra Settings)
*
* This file is included by the auto-generated wp-config.php from the official
* WordPress Docker image. It must NOT redefine DB constants, $table_prefix,
* auth keys/salts, or call wp-settings.php — those are all handled by the
* parent wp-config.php.
*/
// Security hardening
define('DISALLOW_FILE_EDIT', true);
define('FORCE_SSL_ADMIN', true);
define('WP_POST_REVISIONS', 10);
define('WP_AUTO_UPDATE_CORE', 'minor');
// Debug settings (disabled in production)
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
// WordPress URLs
if (getenv('DOMAIN')) {
define('WP_HOME', 'https://' . getenv('DOMAIN'));
define('WP_SITEURL', 'https://' . getenv('DOMAIN'));
}