- commit
- b000ad3
- parent
- 2ff9e99
- author
- Antonio Mika
- date
- 2022-08-18 03:00:24 +0000 UTC
Added imgs
4 files changed,
+5,
-2
+1,
-1
1@@ -13,7 +13,7 @@ services:
2 image: prom/prometheus:latest
3 volumes:
4 - ./prometheus/config:/etc/prometheus
5- command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml --web.external-url https://prometheus.${APP_DOMAIN:-dev.prose.sh} --storage.tsdb.retention.time 90d
6+ command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml --web.external-url https://prometheus.${APP_DOMAIN:-dev.pico.sh} --storage.tsdb.retention.time 90d
7 restart: always
8 profiles:
9 - monitoring
1@@ -38,6 +38,7 @@ scrape_configs:
2 - prose.sh
3 - pastes.sh
4 - lists.sh
5+ - imgs.sh
6 - job_name: caddy
7 tls_config:
8 insecure_skip_verify: true
9@@ -48,4 +49,5 @@ scrape_configs:
10 - prose.sh
11 - pastes.sh
12 - lists.sh
13+ - imgs.sh
14 - monitoring.pico.sh
+1,
-1
1@@ -1,6 +1,6 @@
2 #!/bin/bash
3
4-FILTER=${1:-prose|lists|pastes}
5+FILTER=${1:-prose|lists|pastes|imgs}
6
7 function _exit {
8 kill $(jobs -p)
+1,
-0
1@@ -5,3 +5,4 @@ CMD=${1:-up -d}
2 cd prose && docker compose $CMD
3 cd ../lists && docker compose $CMD
4 cd ../pastes && docker compose $CMD
5+cd ../imgs && docker compose $CMD