Simple influx API gateway for home automation setup - uses ASP.NET Core 2.1
50K+
Part experimentation, part usage by my home automation setup to expose limited influx data to Alexa lambda functions.
Provides a web api created with ASP.NET Core 3.1. Repo includes multiple Dockerfiles to cover amd64 and arm builds.
Source: https://github.com/acrelle/influxgateway
https://hub.docker.com/r/acrelle/influxgateway/
amd64,arm32v7
Run the image using the below, or edit and use the Docker Compose further down.
docker run -d -p 8080:80 \
-e influx_username=username \
-e influx_password=password \
-e influx_url=http://influx_install_addr:port \
-e influx_database=database_name \
acrelle/influxgateway
Then view in a web browser:
http://127.0.0.1:8080/api/influx
Sample:
version: "2"
services:
influxgateway:
build: .
image: acrelle/influxgateway
container_name: influxgateway
restart: unless-stopped
ports:
- 8080:80
environment:
- influx_username=username
- influx_password=password
- influx_url=http://127.0.0.1:8086
- influx_database=database_name
Content type
Image
Digest
Size
43.4 MB
Last updated
over 4 years ago
docker pull acrelle/influxgateway