Browse Source

Update README.md

pull/1/head
Alexey Velikiy 6 years ago committed by GitHub
parent
commit
def174d126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 37
      README.md

37
README.md

@ -1,7 +1,7 @@
[Hastic server](https://hastic.io) [![Travis CI](https://travis-ci.org/hastic/hastic-server.svg?branch=master)](https://travis-ci.org/hastic/hastic-server)
================
[Website](https://hastic.io) |
[Twitter](https://twitter.com/hasticio) |
[Twitter](https://twitter.com/hasticio)
Implementation of basic pattern recognition for anomaly detection.
@ -15,23 +15,12 @@ See also:
## Build & run
Server needs Grafana's API key (http://<your_grafana_url>/org/apikeys) to query data from Grafana datasources.
API key role needs only `Viewer` access.
API key role needs only `Viewer` access.
### Docker
You can install it on:
Example of running hastic-server in Docker:
#### Build
```bash
git clone https://github.com/hastic/hastic-server.git
cd hastic-server
docker build -t hastic-server .
```
#### Run
```bash
docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY=<your_grafana_api_key> hastic-server
```
* [Linux](#linux)
* [Docker](#docker)
### Linux
@ -67,6 +56,22 @@ cd ./hastic-server/server
npm start
```
### Docker
Example of running hastic-server in Docker:
#### Build
```bash
git clone https://github.com/hastic/hastic-server.git
cd hastic-server
docker build -t hastic-server .
```
#### Run
```bash
docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY=<your_grafana_api_key> hastic-server
```
### Known bugs & issues
- If you add labeled segments while learning - it fails

Loading…
Cancel
Save