Add config.json, nothing is sensitive in it, use .env

This commit is contained in:
Skylar Grant 2024-08-14 19:08:06 -04:00
parent 76e66c8818
commit e24a70053d
2 changed files with 21 additions and 1 deletions

1
.gitignore vendored
View File

@ -9,7 +9,6 @@ lerna-debug.log*
.VSCodeCounter .VSCodeCounter
.vscode .vscode
.vscode/* .vscode/*
config.json
log.txt log.txt
nohup.out nohup.out
data/config.db data/config.db

21
src/assets/config.json Normal file
View File

@ -0,0 +1,21 @@
{
"config": {
"mqtt": {
"address": "wd://broker-url:port",
"subscriptions": [
{
"name": "igniter",
"topic": "hestia/status/igniter"
},
{
"name": "exhaust",
"topic": "hestia/status/exhaust"
},
{
"name": "auger",
"topic": "hestia/status/auger"
}
]
}
}
}