- connect to MQTTS broker - connect to Influx DB - subscribe to +/+/update MQTT topic and send receive message to influx - add traefik config for ui and db Signed-off-by: Klagarge <remi@heredero.ch>
Deployment
- Create the Influx token offline:
echo "apiv3_$(openssl rand -base64 64 | tr -d '+/=')" > secrets/admin-token.txt
- Copy
.env.templateto.envand change/add value if necessary:
cp .env.template .env
- Deploy the stack:
docker compose up -d
Traefik
A traefik config file is available on traefik.yml. It can be used with an OIDC provider (Authentik in our case) to control access to the database explorer.