diff --git a/docker-compose.yml b/docker-compose.yml index 6bd4150..782651b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -131,55 +131,6 @@ services: com.strangebee.version: "${thehive_image_version}" com.strangebee.dependency: "elasticsearch, cassandra" - cortex: - image: "thehiveproject/cortex:${cortex_image_version}" - container_name: cortex - hostname: cortex - restart: unless-stopped - environment: - - | - JAVA_OPTS= - -Xms1000M - -Xmx1000M - -XX:MaxMetaspaceSize=400m - -XX:ReservedCodeCacheSize=250m - - es_uri=http://elasticsearch:9200 - - job_directory=/tmp/cortex-jobs - - docker_job_directory=${cortex_docker_job_directory} - volumes: - # Mounting docker socket in the container so that cortex can run jobs as containers - - /var/run/docker.sock:/var/run/docker.sock - # Storing jobs under /tmp for now - - ./cortex/cortex-jobs:/tmp/cortex-jobs - - ./cortex/config:/etc/cortex:ro - - ./cortex/logs:/var/log/cortex - - ./cortex/neurons:/opt/cortexneurons - deploy: - resources: - limits: - memory: 2G - memswap_limit: 2G - networks: - - elk - ports: - - '0.0.0.0:9001:9001' - healthcheck: - test: ["CMD-SHELL", "curl -s -f cortex:9001/cortex/api/status || exit 1"] - start_period: 40s - interval: 10s - timeout: 1s - retries: 5 - depends_on: - elasticsearch: - condition: service_healthy - labels: - com.strangebee.stack: "thehive-cortex-stack" - com.strangebee.service: "cortex" - com.strangebee.role: "application" - com.strangebee.environment: "testing" - com.strangebee.version: "${cortex_image_version}" - com.strangebee.dependency: "elasticsearch" - nginx: image: "nginx:${nginx_image_version}" container_name: nginx