From 908ac2372db48a8ba4e607de1427a0bc75809642 Mon Sep 17 00:00:00 2001 From: f-galland Date: Mon, 23 Dec 2024 10:21:42 -0300 Subject: [PATCH] Fix compose.yml --- docker/builder/compose.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/builder/compose.yml b/docker/builder/compose.yml index 8c4bf456c0c15..fc5eabd00f6f9 100644 --- a/docker/builder/compose.yml +++ b/docker/builder/compose.yml @@ -6,17 +6,17 @@ services: context: ./../.. dockerfile: ${REPO_PATH}/docker/builder/Dockerfile environment: - INDEXER_BRANCH=${INDEXER_BRANCH} - INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH} - INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH} - REVISION=${REVISION} - IS_STAGE=${IS_STAGE} - DISTRIBUTION=${DISTRIBUTION} - ARCHITECTURE=${ARCHITECTURE} + - INDEXER_BRANCH=${INDEXER_BRANCH:-master} + - INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH:-master} + - INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH:-master} + - REVISION=${REVISION:-0} + - IS_STAGE=${IS_STAGE:-false} + - DISTRIBUTION=${DISTRIBUTION:-rpm} + - ARCHITECTURE=${ARCHITECTURE:-x64} volumes: - - ${REPO_PATH}:/home/wazuh-indexer - - wazuh-indexer-plugins:/home/wazuh-indexer/wazuh-indexer-plugins - - wazuh-indexer-reporting:/home/wazuh-indexer/wazuh-indexer-reporting + - ${REPO_PATH}:/home/wazuh-indexer + - wazuh-indexer-plugins:/home/wazuh-indexer/wazuh-indexer-plugins + - wazuh-indexer-reporting:/home/wazuh-indexer/wazuh-indexer-reporting entrypoint: ["/bin/bash", "/entrypoint.sh"] user: "1000:1000" working_dir: /home/wazuh-indexer