An open API service indexing awesome lists of open source software.

https://github.com/linsamtw/docker-kdb-1

KDB+ 32bit Docker Image
https://github.com/linsamtw/docker-kdb-1

Last synced: 5 months ago
JSON representation

KDB+ 32bit Docker Image

Awesome Lists containing this project

README

          

## Build Docker Image

- ubuntu:18.04
- KDB+ 32bit (x86)

```sh
docker build -t kdb .
```

## Run Container

```sh
docker run -d --name kdb -v $pwd:/root/q -e ON_STARTUP=/root/q/q.q -p 5000:5000 kdb

docker logs kdb

# print
0
Welcome to kdb+ 32bit edition
For support please see http://groups.google.com/d/forum/personal-kdbplus
Tutorials can be found at http://code.kx.com
To exit, type \\
To remove this startup msg, edit q.q
2020.07.03 01:35:13 Hello World!
```

### Variables

- ON_STARTUP : 실행시 구동할 파일
- PORT : 포트

## Monitoring

### Prometheus Exporter
You can apply [KxSystems/Prometheus Exporter for kdb+](https://github.com/KxSystems/prometheus-kdb-exporter) for prometheus metrics.

```sh
# Example
system "cd ../prometheus-exporter"
system "l exporter.q"
system "cd ../q"
```

### Grafana Dashboard
[prometheus-kdb-exporter/kdb-dashboard.json](https://github.com/KxSystems/prometheus-kdb-exporter/blob/master/examples/DockerCompose/grafana-config/dashboards/kdb-dashboard.json)

## Contributors
- Mambo