mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	Change docker-compose references
This commit is contained in:
		@@ -17,18 +17,18 @@ This deployment utilizes the `multi-node/docker-compose.yml` file, which defines
 | 
			
		||||
 | 
			
		||||
3.  Run the script to generate the necessary certificates for the Wazuh Stack. This ensures secure communication between the nodes:
 | 
			
		||||
    ```bash
 | 
			
		||||
    docker-compose -f generate-indexer-certs.yml run --rm generator
 | 
			
		||||
    docker compose -f generate-indexer-certs.yml run --rm generator
 | 
			
		||||
    ```
 | 
			
		||||
 | 
			
		||||
4.  Start the Wazuh environment using `docker-compose`:
 | 
			
		||||
4.  Start the Wazuh environment using `docker compose`:
 | 
			
		||||
 | 
			
		||||
    * To run in the foreground (logs will be displayed in your current terminal; press `Ctrl+C` to stop):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up
 | 
			
		||||
        docker compose up
 | 
			
		||||
        ```
 | 
			
		||||
    * To run in the background (detached mode, allowing the containers to run independently of your terminal):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up -d
 | 
			
		||||
        docker compose up -d
 | 
			
		||||
        ```
 | 
			
		||||
 | 
			
		||||
Please allow some time for the environment to initialize, especially on the first run. A multi-node setup can take a few minutes (depending on your host resources and network) as the Wazuh Indexer cluster forms, and the necessary indexes and index patterns are generated.
 | 
			
		||||
 
 | 
			
		||||
@@ -17,18 +17,18 @@ This deployment uses the `single-node/docker-compose.yml` file, which defines a
 | 
			
		||||
 | 
			
		||||
3.  Run the script to generate the necessary certificates for the Wazuh Stack. This ensures secure communication between the nodes:
 | 
			
		||||
    ```bash
 | 
			
		||||
    docker-compose -f generate-indexer-certs.yml run --rm generator
 | 
			
		||||
    docker compose -f generate-indexer-certs.yml run --rm generator
 | 
			
		||||
    ```
 | 
			
		||||
 | 
			
		||||
4.  Start the Wazuh environment using `docker-compose`:
 | 
			
		||||
4.  Start the Wazuh environment using `docker compose`:
 | 
			
		||||
 | 
			
		||||
    * To run in the foreground (logs will be displayed in your current terminal; press `Ctrl+C` to stop):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up
 | 
			
		||||
        docker compose up
 | 
			
		||||
        ```
 | 
			
		||||
    * To run in the background (detached mode, allowing the containers to run independently of your terminal):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up -d
 | 
			
		||||
        docker compose up -d
 | 
			
		||||
        ```
 | 
			
		||||
 | 
			
		||||
Please allow some time for the environment to initialize, especially on the first run. It can take approximately a minute or two (depending on your host's resources) as the Wazuh Indexer starts up and generates the necessary indexes and index patterns.
 | 
			
		||||
 
 | 
			
		||||
@@ -23,14 +23,14 @@ Follow these steps to deploy the Wazuh agent using Docker.
 | 
			
		||||
    ```
 | 
			
		||||
    **Note:** Replace `<YOUR_WAZUH_MANAGER_IP_OR_HOSTNAME>` with the actual IP address or hostname of your Wazuh manager.
 | 
			
		||||
 | 
			
		||||
3.  Start the environment using `docker-compose`:
 | 
			
		||||
3.  Start the environment using `docker compose`:
 | 
			
		||||
 | 
			
		||||
    * To run in the foreground (logs will be displayed in your current terminal, and you can stop it with `Ctrl+C`):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up
 | 
			
		||||
        docker compose up
 | 
			
		||||
        ```
 | 
			
		||||
 | 
			
		||||
    * To run in the background (detached mode, allowing the container to run independently of your terminal):
 | 
			
		||||
        ```bash
 | 
			
		||||
        docker-compose up -d
 | 
			
		||||
        docker compose up -d
 | 
			
		||||
        ```
 | 
			
		||||
@@ -32,8 +32,8 @@ Before diving into the deployment, please ensure you have reviewed:
 | 
			
		||||
    git clone [https://github.com/wazuh/wazuh-docker.git](https://github.com/wazuh/wazuh-docker.git)
 | 
			
		||||
    cd wazuh-docker
 | 
			
		||||
    git checkout v4.13.0
 | 
			
		||||
    # Navigate to the specific docker-compose directory, e.g., single-node or multi-node
 | 
			
		||||
    # cd docker-compose/single-node/ (example path)
 | 
			
		||||
    # Navigate to the specific directory, e.g., single-node or multi-node
 | 
			
		||||
    # cd single-node/ (example path)
 | 
			
		||||
    ```
 | 
			
		||||
    Alternatively, you might download specific `docker-compose.yml` files if provided as part of a release package.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user