No description
- Go 97.4%
- Dockerfile 2.6%
Update golang Docker tag to v1.25.4 See merge request firehouse-smokedetection/backend!55 |
||
|---|---|---|
| alarm | ||
| cache | ||
| database | ||
| docs | ||
| mqttclient | ||
| mqttserver | ||
| types | ||
| webserver | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| Readme.md | ||
| renovate.json | ||
Firehouse Smokedetection
Configuration
The configuration can either be done through environment variables or a file called .env
| Env name | Default | Description |
|---|---|---|
| LOG_FOLDER | Target folder for logs ( leave empty to disable file logs ) | |
| LOG_LEVEL | info | Log level, can be DEBUG, INFO, WARN, ERROR |
| MQTT_SERVER | embedded |
Hostname of the MQTT Server between ZigBee2MQTT and the application. Use embedded to start a internal mqtt server |
| MQTT_PORT | 1883 |
MQTT Port |
| MQTT_USERNAME | Optional: Username for MQTT authentication | |
| MQTT_PASSWORD | Optional: Password for the MQTT user | |
| MQTT_LISTEN | 0.0.0.0:1883 |
MQTT listen address |
| EXIT_ON_DISCONNECT | false |
Exit the application on MQTT disconnect |
| Z2M_BASETOPIC | zigbee2mqtt |
Base topic for ZigBee2MQTT |
| DB_DRIVER | sqlite |
Database driver, currently ony sqlite is supported |
| DB_NAME | ./database.db |
Name of the databse, for sqlite path to the DB file |
| EXECUTE_MIGRATIONS | true |
Execute database migrations on start |
| PLUGIN_DIR | ./plugins |
Where to search for plugins |