Files
bridgehead/itcc/modules/exporter-setup.sh
T
Pierre Delpy 50ad7937cc Add exporter and reporter to the itcc project
Enabled with ENABLE_EXPORTER. The export template itcc and the quality
report itcc-qb come with the dktk-exporter and dktk-reporter images,
like the cce templates. All routes are behind the auth middleware,
because export and quality report contain local identifiers.
2026-11-06 13:43:45 +01:00

9 lines
327 B
Bash

#!/bin/bash -e
if [ "$ENABLE_EXPORTER" == true ]; then
log INFO "Exporter setup detected -- will start Exporter and Reporter services."
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
EXPORTER_DB_PASSWORD="$(generate_simple_password 'exporter-db')"
EXPORTER_API_KEY="$(generate_simple_password 'exporter')"
fi