Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fletchto99/healthkit-to-influx-docker
https://github.com/fletchto99/healthkit-to-influx-docker
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fletchto99/healthkit-to-influx-docker
- Owner: fletchto99
- Created: 2023-01-13T22:50:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T03:55:50.000Z (almost 2 years ago)
- Last Synced: 2024-11-10T00:24:48.953Z (2 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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`