use busterslim image, removed print
This commit is contained in:
parent
14f0c8990d
commit
61e60fb103
2 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.8-buster
|
FROM python:3.8-slim-buster
|
||||||
|
|
||||||
LABEL maintainer="Aiden Gilmartin" \
|
LABEL maintainer="Aiden Gilmartin" \
|
||||||
description="Speedtest to InfluxDB data bridge"
|
description="Speedtest to InfluxDB data bridge"
|
||||||
|
|
1
main.py
1
main.py
|
@ -7,7 +7,6 @@ from influxdb import InfluxDBClient
|
||||||
|
|
||||||
# InfluxDB Settings
|
# InfluxDB Settings
|
||||||
DB_ADDRESS = os.environ.get('INFLUX_DB_ADDRESS')
|
DB_ADDRESS = os.environ.get('INFLUX_DB_ADDRESS')
|
||||||
print(os.environ.get('INFLUX_DB_PORT'))
|
|
||||||
DB_PORT = int(os.environ.get('INFLUX_DB_PORT'))
|
DB_PORT = int(os.environ.get('INFLUX_DB_PORT'))
|
||||||
DB_USER = os.environ.get('INFLUX_DB_USER')
|
DB_USER = os.environ.get('INFLUX_DB_USER')
|
||||||
DB_PASSWORD = os.environ.get('INFLUX_DB_PASSWORD')
|
DB_PASSWORD = os.environ.get('INFLUX_DB_PASSWORD')
|
||||||
|
|
Loading…
Reference in a new issue