KazeWP

KazeWP is an open-source tool designed to simplify the deployment and management of multiple WordPress sites behind a lightweight reverse proxy. It uses Docker and Bash scripts to automate configuration, allowing you to quickly set up and scale your WordPress instances with minimal effort.

KazeWP

Table of Contents


Features

  • Multiple WordPress Sites: Easily manage multiple WordPress sites, each running in its own container.
  • Reverse Proxy Integration: Leverages Caddy for efficient traffic routing and automatic SSL certificate management.
  • Containerized Environment: Fully Dockerized for simplicity, portability, and scalability.
  • Bash Automation: Intuitive Bash scripts automate site configuration and deployment.
  • Effortless Scaling: Add or remove WordPress sites with ease, scaling as your needs grow.

Getting Started

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/kazewp.git
    cd kazewp
    
  2. Run the install script:

    ./kazewp.sh
    

Usage

./kazewp.sh                               - Interactive Menu
./kazewp.sh list                          - List all installed WordPress sites
./kazewp.sh install <domain>              - Install a new WordPress site
./kazewp.sh stop <domain>                 - Stop a running WordPress sites
./kazewp.sh start <domain>                - Start an installed WordPress sites
./kazewp.sh restart <domain>              - Restart an installed WordPress sites
./kazewp.sh delete <domain>               - Delete a WordPress site
./kazewp.sh delete all                    - Delete everything

How It Works

KazeWP simplifies the deployment and management of multiple WordPress websites by using Docker containers and Caddy as a reverse proxy. Heres a breakdown of the key components and how they work together:

Caddy (Reverse Proxy)

Caddy acts as the reverse proxy, automatically handling SSL certificate generation and secure HTTPS connections for all WordPress sites. It efficiently routes incoming traffic to the correct site based on the domain name, ensuring seamless and secure access.

WordPress (Site Containers)

Each WordPress site runs in its own dedicated Docker container. This isolation ensures that each site has its own environment, minimizing the risk of conflicts between sites and making it easy to manage and update individual sites.

Dedicated Database (MariaDB)

Unlike traditional setups where multiple sites share a single database, KazeWP creates a dedicated MariaDB database for each WordPress site. This offers several advantages:

  • Improved Isolation: Each site operates independently with its own database, reducing the risk of cross-site issues.
  • Easier Migration: Since each site has a self-contained database, migrating sites to a new host is straightforward and doesnt require any reconfiguration of the shared database.
  • Better Performance: By isolating the databases, you can better manage the performance and resources for each individual site.

Bash Script Automation

KazeWP leverages Bash scripts to automate key tasks such as site creation, listing existing sites, and deleting sites. The automation ensures that you can manage your WordPress instances with minimal manual effort and reduced chances of human error.

By combining these components, KazeWP offers a fast, efficient, and scalable solution for managing multiple WordPress websites with minimal configuration.


Default Plugins and Theme

Each WordPress installation comes pre-configured with carefully selected plugins and theme to enhance your site's functionality right from the start:

Pre-installed Plugins

  • Wordfence Security: Premium WordPress firewall and security scanner
  • Rank Math SEO: Advanced SEO plugin for optimizing your content and improving search engine visibility
  • Fluent SMTP: Reliable email delivery solution for WordPress
  • Cache Enabler: Efficient caching plugin for improved performance
  • Query Monitor: Debugging and performance analysis tool for WordPress
  • Kadence Blocks: Advanced content blocks for the WordPress block editor, perfectly integrated with Kadence theme

Default Theme

  • Kadence: Modern, lightweight, and customizable WordPress theme optimized for performance and flexibility

These default installations ensure that your WordPress sites are ready for production use with essential SEO, performance, and email functionality out of the box.


License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgements


(back to top)

S
Description
KazeWP is a simple and flexible tool for managing multiple WordPress sites behind a Caddy reverse proxy server. Built with Docker and Bash scripts, it automates the setup, configuration, and management of your sites
Readme MIT 334 KiB
Languages
Shell 100%