Skip to content

Commit

Permalink
Move analytics into components
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Sekachev committed Oct 17, 2018
1 parent e836b8f commit e0a0be0
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 11 deletions.
1 change: 1 addition & 0 deletions components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
* [NVIDIA CUDA](cuda/README.md)
* [OpenVINO](openvino/README.md)
* [Tensorflow Object Detector](tf_annotation/README.md)
* [Analytics](analytics/README.md)
16 changes: 15 additions & 1 deletion analytics/README.md → components/analytics/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# Analytics for Computer Vision Annotation Tool (CVAT)
## Analytics for Computer Vision Annotation Tool (CVAT)

It is possible to proxy annotation logs from client to ELK. To do that run the following command below:

### Build docker image
```bash
# From project root directory
docker-compose -f docker-compose.yml -f components/analytics/docker-compose.analytics.yml build
```

### Run docker container
```bash
# From project root directory
docker-compose -f docker-compose.yml -f components/analytics/docker-compose.analytics.yml up -d
```

At the moment it is not possible to save advanced settings. Below values should be specified manually.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
aliases:
- elasticsearch
build:
context: ./analytics/elasticsearch
context: ./components/analytics/elasticsearch
args:
ELK_VERSION: 6.4.0
volumes:
Expand All @@ -23,7 +23,7 @@ services:
aliases:
- kibana
build:
context: ./analytics/kibana
context: ./components/analytics/kibana
args:
ELK_VERSION: 6.4.0
depends_on: ['cvat_elasticsearch']
Expand All @@ -32,7 +32,7 @@ services:
cvat_kibana_setup:
container_name: cvat_kibana_setup
image: cvat
volumes: ['./analytics/kibana:/home/django/kibana:ro']
volumes: ['./components/analytics/kibana:/home/django/kibana:ro']
depends_on: ['cvat']
working_dir: '/home/django'
entrypoint: ['bash', 'wait-for-it.sh', 'elasticsearch:9200', '-t', '0', '--',
Expand All @@ -49,7 +49,7 @@ services:
aliases:
- logstash
build:
context: ./analytics/logstash
context: ./components/analytics/logstash
args:
ELK_VERSION: 6.4.0
http_proxy: ${http_proxy}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions components/cuda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ docker info | grep 'Runtimes' # output should contains 'nvidia'

### Build docker image
```bash
docker-compose -f docker-compose.yml -f docker-compose.cuda.yml build
# From project root directory
docker-compose -f docker-compose.yml -f components/cuda/docker-compose.cuda.yml build
```

### Run docker container
```bash
docker-compose -f docker-compose.yml -f docker-compose.cuda.yml up -d
# From project root directory
docker-compose -f docker-compose.yml -f components/cuda/docker-compose.cuda.yml up -d
```
File renamed without changes.
6 changes: 4 additions & 2 deletions components/openvino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@

### Build docker image
```bash
docker-compose -f docker-compose.yml -f docker-compose.openvino.yml build
# From project root directory
docker-compose -f docker-compose.yml -f components/openvino/docker-compose.openvino.yml build
```

### Run docker container
```bash
docker-compose -f docker-compose.yml -f docker-compose.openvino.yml up -d
# From project root directory
docker-compose -f docker-compose.yml -f components/openvino/docker-compose.openvino.yml up -d
```
File renamed without changes.
6 changes: 4 additions & 2 deletions components/tf_annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@

### Build docker image
```bash
docker-compose -f docker-compose.yml -f docker-compose.tf_annotation.yml build
# From project root directory
docker-compose -f docker-compose.yml -f components/tf_annotation/docker-compose.tf_annotation.yml build
```

### Run docker container
```bash
docker-compose -f docker-compose.yml -f docker-compose.tf_annotation.yml up -d
# From project root directory
docker-compose -f docker-compose.yml -f components/tf_annotation/docker-compose.tf_annotation.yml up -d
```
File renamed without changes.

0 comments on commit e0a0be0

Please sign in to comment.