Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fletchto99/healthkit-to-influx-docker


https://github.com/fletchto99/healthkit-to-influx-docker

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# Healthkit to Influx Docker

This container ingests data from Health Auto Export (an iOS app) and transforms it to timeseries data to be stored in influxDB 2.0 (via FluxQL).

*Note:* The API is unauthenticated so be sure to run it behind a reverse proxy with some form of authentication if the service is public facing.

## Usage

```
docker create \
--name=healthkit \
-e PGID= -e PUID= \
-e INFLUX_HOST= \
-e INFLUX_PORT= \
-e INFLUX_ORG= \
-e INFLUX_BUCKET= \
-e INFLUX_TOKEN= \
-p 5353:5353 \
fletchto99/healthkit-to-influx
```

## Parameters
* `-p 8080` - The port to run the container on
* `-e INFLUX_HOST` - The host which influx 2.0 is running on
* `-e INFLUX_PORT` - The port which influx 2.0 is running on
* `-e INFLUX_ORG` - The influx org which you wish to send data to
* `-e INFLUX_BUCKET` - The influx bucket which you wish to send data to
* `-e INFLUX_TOKEN` - The token, created in influx, which has *write* access to the `INFLUX_BUCKET`