Replace the ENV variable with a config file

So it's safer to configure, as we don't need to pass env variables
to a docker run service. Also it's easier to configure without
needing to pass a whole lot of env vars.
This commit is contained in:
Marijn Koesen committed 2020-06-04 21:27:14 +02:00
1 parent f436385f67
commit 79a28d169e
5 files changed
+70 -24

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
modbus:
host: 127.0.0.1
port: 1502
timeout: 1
unit: 1
mqtt:
host: 127.0.0.1
port: 1883
user: ~
pass: ~
poll_interval: 3