add borg exporter for prometheus and grafana monitoring

This commit is contained in:
2022-11-02 11:06:16 +01:00
parent 8883cbe5f1
commit 25401f6f88
8 changed files with 264 additions and 3 deletions
+2
View File
@@ -7,11 +7,13 @@ GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
run_docker_container() {
echo "Running..."
docker run -dp 3000:22 \
-p 9100:9100 \
-e UID=$(id -u) \
-e GID=$(id -g) \
-e MAINTENANCE_ENABLE="true" \
-e INTERACTIVE_MODE="true" \
-e TZ="Europe/Vienna" \
-e RUN_PROMETHEUS_EXPORTER="0 * * * *" \
-v "$PWD"/Testing/crontab.txt:/crontab.txt \
-v "$PWD"/Testing/test_script.sh:/test_script.sh \
-v "$PWD"/sshkeys/clients:/sshkeys/clients \