View Code? Open in Web Editor
NEW
This project forked from blue-n/temperature-processor
Shell 3.57%
Python 94.02%
Dockerfile 2.42%
temperature-processor's Introduction
Optional Environment Variables
- INFLUXDB_BUCKET: InfluxDB bucket
- INFLUXDB_ORG: InfluxDB organization
- INFLUXDB_TOKEN: InfluxDB token
- INFLUXDB_URL: http(s)://influxdbhost:8086
- TEMPERATURE_PORT: Port Temperature-Sensor to listen on
pip install -r requirements.txt
docker-compose up -d
- Be in the root directory of the project
pytest
docker run -it -e INFLUXDB_URL=http://foo -e INFLUXDB_TOKEN=bar -e INFLUXDB_ORG=somewhere -e TEMPERATURE_PORT=1111 -p 8080:1111 temperature-processor
docker build -t temperature-processor . -f build/Dockerfile
temperature-processor's People
Contributors