db: Hide influxdb config and provide example file

The actual config needs to be located at ffmap/influconfig.py

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-11-24 15:49:16 +01:00
parent bd1aaaeeea
commit 73c1f0c2d0
3 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ build
__pycache__
.*.swp
ffmap/mysqlconfig.py
ffmap/influconfig.py

View File

@ -0,0 +1,9 @@
#!/usr/bin/python3
infludata = {
"host":"localhost",
"port":8086,
"user":"username",
"pw":"password",
"db":"database"
}

0
ffmap/influxtools.py Executable file → Normal file
View File