-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#4 Initial commit of docker-compose config
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
job_directory=/tmp/cortex-jobs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# cortex3-docker-neurons | ||
|
||
This is a minimal docker-compose configuration to run a Cortex instance with its Elasticsearch database. | ||
|
||
```bash | ||
docker-compose up | ||
``` | ||
|
||
## TODO | ||
|
||
- [ ] Configure volumes for app configuration | ||
- [ ] Configure volumes for logs configuration | ||
- [ ] Configure volumes for es7 configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: "2" | ||
services: | ||
elasticsearch: | ||
image: elasticsearch:7.8.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.0-1 | ||
environment: | ||
- job_directory=${job_directory} | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- ${job_directory}:${job_directory} | ||
depends_on: | ||
- elasticsearch | ||
ports: | ||
- "0.0.0.0:9001:9001" |