Add more functionality: list and delete sites

This commit is contained in:
2025-01-01 17:56:45 +09:00
parent d9a5322151
commit db655fb818
8 changed files with 329 additions and 188 deletions
+39 -23
View File
@@ -1,16 +1,16 @@
# **CaddyWP**
# **KazeWP**
**CaddyWP** is an open-source tool designed to simplify the deployment and management of multiple WordPress sites behind a Caddy reverse proxy. It uses Docker and Bash scripts to automate configuration, allowing you to easily set up and scale your WordPress instances with minimal hassle.
**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.
---
## **Features**
- **Multiple WordPress Sites**: Manage as many WordPress sites as you want, all running on a single reverse proxy server.
- **Caddy Integration**: Seamlessly integrates Caddy as the reverse proxy for efficient traffic routing and SSL management.
- **Dockerized**: Fully containerized environment for easy setup and management.
- **Bash Automation**: Automate your WordPress site configurations using simple Bash scripts.
- **Scalable**: Easily add new sites and scale your infrastructure as needed.
- **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.
---
@@ -27,32 +27,48 @@ Ensure you have the following installed:
### **Installation**
1. **Clone the repository**:
```bash
git clone https://github.com/your-username/caddywp.git
cd caddywp
```
```bash
git clone https://github.com/your-username/kazewp.git
cd kazewp
```
2. **Run the install script**:
```bash
./kazewp.sh install domain.com
```
---
## **Usage**
```bash
./install.sh
./kazewp.sh install <domain> - Install a new WordPress site"
./kazewp.sh list - List all installed WordPress sites"
./kazewp.sh delete <domain> - Delete a WordPress site"
./kazewp.sh delete all - Delete everything"
```
## How It Works
## **How It Works**
Caddy: Serves as a reverse proxy, automatically obtaining SSL certificates and routing traffic to the correct WordPress container.
- **Reverse Proxy**: KazeWP uses Caddy as a reverse proxy, automatically handling SSL certificates and routing traffic to the appropriate WordPress container.
- **WordPress Isolation**: Each WordPress site runs in its own Docker container with a unique configuration.
- **Shared Database**: MariaDB serves as the database for all WordPress sites, with each site using a unique database user and password.
WordPress: Each WordPress site is hosted in its own Docker container, ensuring that each site runs in isolation with its own environment and database.
---
MariaDB: A single MariaDB container serves as the database for all WordPress sites. Each site uses a unique database user and password.
## License
## **License**
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
Caddy: https://caddyserver.com/
WordPress: https://wordpress.org/
Docker: https://www.docker.com/
MariaDB: https://mariadb.org/
---
## **Acknowledgements**
- [Caddy](https://caddyserver.com/)
- [WordPress](https://wordpress.org/)
- [Docker](https://www.docker.com/)
- [MariaDB](https://mariadb.org/)
---
<p align="right">(<a href="#top">back to top</a>)</p>