Skip to content

Instantly share code, notes, and snippets.

@BoredHackerBlog
Created August 15, 2021 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoredHackerBlog/1ded0c58c20f1b6bdbcfe388424fca57 to your computer and use it in GitHub Desktop.
Save BoredHackerBlog/1ded0c58c20f1b6bdbcfe388424fca57 to your computer and use it in GitHub Desktop.
cortex standalone (thehive project) from https://github.com/TheHive-Project/Docker-Templates
version: '2'
services:
elasticsearch:
image: 'elasticsearch:7.11.1'
environment:
- http.host=0.0.0.0
- discovery.type=single-node
- script.allowed_types=inline
- thread_pool.search.queue_size=100000
- thread_pool.write.queue_size=10000
cortex:
image: 'thehiveproject/cortex:3.1.1-1'
environment:
- 'job_directory=/tmp/cortex-jobs'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/tmp/cortex-jobs:/tmp/cortex-jobs'
depends_on:
- elasticsearch
ports:
- '0.0.0.0:9001:9001'
@BoredHackerBlog
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment