FleetComplete
The FleetComplete extractor expects the connection key to be present in the env as a single string, like:
KEYS=keyToFleetComplete
Use the docker-compose-extractor.yaml
file and define the functions you want to use in the extractor:
function | description |
---|---|
set-starts | loads and saves new locations |
set-vehicles | syncs the vehicles |
set-roundtrips | loads, aggregate and save roundtrips |
clean-roundtrips | deletes X (keep_data in DB) month old roundtrips |
entrypoint: ["/bin/sh", "-c", "python -m fleetmanager.extractors.fleetcomplete set-starts && python -m fleetmanager.extractors.fleetcomplete set-vehicles && python -m fleetmanager.extractors.fleetcomplete set-roundtrips && python -m fleetmanager.extractors.fleetcomplete clean-roundtrips"]