Skip to content

CyberSecN00bers/Capstone_Blue_Stack

Repository files navigation

🚀 Wazuh Docker – Multi-Node Deployment

⚙️ Installation

1️⃣ Clone the repository

git clone https://github.com/CyberSecN00bers/Capstone_Blue_Stack.git
cd Capstone_Blue_Stack

2️⃣ Create the environment file

cp .env.example .env

3️⃣ Initialize nginx submodule

git submodule update --init --recursive

4️⃣ Generate certificates for Wazuh Indexer cluster

docker compose -f generate-indexer-certs.yml run --rm generator

🔧 Environment Configuration

Open the .env file and configure these two required variables:


Replace YOUR_PUBLIC_IP with your server’s IP address:

CORS_ORIGIN="http://localhost:8080,http://localhost:5173,http://YOUR_PUBLIC_IP:8080"
VITE_API_URL=http://YOUR_PUBLIC_IP:3001/api

▶️ Start the Stack

Run in background

docker compose up -d

⏱ First launch may take about 1 minute while Wazuh initializes indexes.


🌐 Access

Open your browser: Wazuh-dashboard:

https://HOST_IP:444

Waf-dashboard:

http://HOST_IP:8080


🧹 Clean Up

To stop and remove everything:

docker compose down -v

📝 Notes

  • If your host IP changes, update .env and restart:
    docker compose down
    docker compose up -d
  • If the dashboard is unreachable:
    docker logs wazuh.dashboard
    docker logs wazuh.master

⭐ Credits

Wazuh · Docker · OpenSearch · Nginx


Happy SecOps! 🔥

About

A Docker Compose stack for automatically setting up a web & SIEM service

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages