Add a volume for elasticsearch. (#122)

main
Nikita Manovich 7 years ago committed by GitHub
parent c096c2a600
commit c5550899db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,8 @@ services:
context: ./analytics/elasticsearch context: ./analytics/elasticsearch
args: args:
ELK_VERSION: 6.4.0 ELK_VERSION: 6.4.0
volumes:
- cvat_events:/usr/share/elasticsearch/data
restart: always restart: always
cvat_kibana: cvat_kibana:
@ -62,3 +64,6 @@ services:
DJANGO_LOG_SERVER_HOST: "logstash" DJANGO_LOG_SERVER_HOST: "logstash"
DJANGO_LOG_SERVER_PORT: 5000 DJANGO_LOG_SERVER_PORT: 5000
no_proxy: logstash,${no_proxy} no_proxy: logstash,${no_proxy}
volumes:
cvat_events:

@ -1,3 +1,3 @@
http.host: 0.0.0.0 http.host: 0.0.0.0
script.painless.regex.enabled: true script.painless.regex.enabled: true
path.repo: ["/usr/share/elasticsearch/backup"] path.repo: ["/usr/share/elasticsearch/data/backup"]

Loading…
Cancel
Save