From b27c031c42debc737fc79eb53998eae473396660 Mon Sep 17 00:00:00 2001 From: brianma94 Date: Tue, 26 Nov 2024 12:08:13 +0100 Subject: [PATCH 1/2] Add files via upload --- docker-compose.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c932a9b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,46 @@ + +version: "3" +services: + automation_broker: + image: technipenergies-soar.soar.splunkcloud.com/phantomsaas/automation_broker + # Podman does not support the auto-update feature. + # To deploy Automation Broker in Podman deployments use the image below and manually update the version on future SOAR releases. + # image: docker.io/phantomsaas/automation_broker:6.3.1 + environment: + # The Base URL for SOAR + - PHANTOM_BASE_URL=https://technipenergies-soar.soar.splunkcloud.com + - PUID=1000 + - PGID=1000 + # Optional: Proxy Settings for AB + # - http_proxy=http://: + # - https_proxy=https://: + + # /splunk_data directory needs to be mounted + # somewhere for persistent storage. If it's not specified, a default + # source folder will be created. + volumes: + - type: bind + source: ./splunk_data + target: /splunk_data + bind: + create_host_path: true + + labels: + com.centurylinklabs.watchtower.enable: "true" + com.centurylinklabs.watchtower.lifecycle.pre-check: "/splunk/broker/bin/pre-check.sh" + com.centurylinklabs.watchtower.lifecycle.pre-update: "/splunk/broker/bin/pre-update.sh" + com.centurylinklabs.watchtower.lifecycle.post-update: "/splunk/broker/bin/post-update.sh" + com.centurylinklabs.watchtower.lifecycle.post-check: "/splunk/broker/bin/post-check.sh" + + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + - WATCHTOWER_LIFECYCLE_HOOKS=true + # This environment variable will force watchtower to only + # watch containers with com.centurylinklabs.watchtower.enable + # label set to true + - WATCHTOWER_LABEL_ENABLE=true + command: --interval 600 + From 6d468e91a72d35eb5d0dcb8a2f4616c9539769a8 Mon Sep 17 00:00:00 2001 From: brianma94 Date: Tue, 26 Nov 2024 12:46:22 +0100 Subject: [PATCH 2/2] Delete docker-compose.yml --- docker-compose.yml | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index c932a9b..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,46 +0,0 @@ - -version: "3" -services: - automation_broker: - image: technipenergies-soar.soar.splunkcloud.com/phantomsaas/automation_broker - # Podman does not support the auto-update feature. - # To deploy Automation Broker in Podman deployments use the image below and manually update the version on future SOAR releases. - # image: docker.io/phantomsaas/automation_broker:6.3.1 - environment: - # The Base URL for SOAR - - PHANTOM_BASE_URL=https://technipenergies-soar.soar.splunkcloud.com - - PUID=1000 - - PGID=1000 - # Optional: Proxy Settings for AB - # - http_proxy=http://: - # - https_proxy=https://: - - # /splunk_data directory needs to be mounted - # somewhere for persistent storage. If it's not specified, a default - # source folder will be created. - volumes: - - type: bind - source: ./splunk_data - target: /splunk_data - bind: - create_host_path: true - - labels: - com.centurylinklabs.watchtower.enable: "true" - com.centurylinklabs.watchtower.lifecycle.pre-check: "/splunk/broker/bin/pre-check.sh" - com.centurylinklabs.watchtower.lifecycle.pre-update: "/splunk/broker/bin/pre-update.sh" - com.centurylinklabs.watchtower.lifecycle.post-update: "/splunk/broker/bin/post-update.sh" - com.centurylinklabs.watchtower.lifecycle.post-check: "/splunk/broker/bin/post-check.sh" - - watchtower: - image: containrrr/watchtower - volumes: - - /var/run/docker.sock:/var/run/docker.sock - environment: - - WATCHTOWER_LIFECYCLE_HOOKS=true - # This environment variable will force watchtower to only - # watch containers with com.centurylinklabs.watchtower.enable - # label set to true - - WATCHTOWER_LABEL_ENABLE=true - command: --interval 600 -