We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b526879 commit 7374dc6Copy full SHA for 7374dc6
2 files changed
src/scripts/prometheus.sh
@@ -55,7 +55,7 @@ run_output=$(docker run -d \
55
--name "$CONTAINER_NAME" \
56
--network "$NETWORK_NAME" \
57
-p "$PROMETHEUS_PORT:$PROMETHEUS_PORT" \
58
- --restart unless-stopped \
+ --restart always \
59
-v "$PROMETHEUS_CONFIG_FILE:/etc/prometheus/prometheus.yml" \
60
"$PROMETHEUS_IMAGE" 2>&1) # Capture both stdout and stderr
61
src/scripts/update_prometheus.sh
@@ -28,7 +28,7 @@ else
28
29
30
31
32
-v "$PROMETHEUS_CONFIG:/etc/prometheus/prometheus.yml" \
33
"$PROMETHEUS_IMAGE" &> /dev/null
34
0 commit comments