This repository contains a simple setup to log and monitor ABQ transit data in real-time.
See also: abqtransit
Note: InfluxDB data will be stored in the influxdb-data
folder by default. Configure this location in docker-compose.yml
- Check the
docker-compose.yml
for path configuration options. - Stand-up influxdb:
docker-compose up -d influxdb
- Setup InfluxDB with a user, org, and bucket. The telegraf config expects:
org=tauterra
,bucket=abqtransit
. - Create a token with write permissions to the
abqtransit
bucket. Make note of this token. - Paste the token in
docker-compose.yml
underservices/telegraf/environment/INFLUX_TOKEN
. - Start remaining containers:
docker-compose up -d abq_transit_proxy
docker-compose up -d telegraf
If you change Python code in abq_transit_proxy
:
docker-compose build abq_transit_proxy && docker-compose up -d --force-recreate abq_transit_proxy
If you change the Token:
docker-compose up -d --force-recreate telegraf