Sign inSign up

acrelle/influxgateway

By acrelle

•Updated over 4 years ago

Simple influx API gateway for home automation setup - uses ASP.NET Core 2.1

Image
0

50K+

acrelle/influxgateway repository overview

⁠influxgateway

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

Source: https://github.com/acrelle/influxgateway⁠

⁠Build

https://hub.docker.com/r/acrelle/influxgateway/⁠

⁠Supported architectures

amd64,arm32v7

⁠Usage

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⁠

⁠Docker Compose

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

Tag summary

Content type

Image

Digest

Size

43.4 MB

Last updated

over 4 years ago

docker pull acrelle/influxgateway