will experiment more with this tomorrow, but i am close.
This commit is contained in:
@@ -20,7 +20,7 @@ logger.addHandler(handler)
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.debug = True
|
app.debug = True
|
||||||
|
|
||||||
client = InfluxDBClient(host='localhost', port=28086)
|
client = InfluxDBClient(host='localhost', port=20007)
|
||||||
client.create_database('db')
|
client.create_database('db')
|
||||||
client.switch_database('db')
|
client.switch_database('db')
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ services:
|
|||||||
image: influxdb:1.8.4
|
image: influxdb:1.8.4
|
||||||
container_name: reachableceo-health-data
|
container_name: reachableceo-health-data
|
||||||
ports:
|
ports:
|
||||||
- "28086:8086"
|
- "20007:8086"
|
||||||
volumes:
|
volumes:
|
||||||
- reachableceo-health-data:/var/lib/influxdb
|
- reachableceo-health-data:/var/lib/influxdb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Reference in New Issue
Block a user