From 6db0a7e9927e6eefcad0721fc3c807808c2c716b Mon Sep 17 00:00:00 2001 From: fix Date: Tue, 2 Mar 2021 21:38:05 +0100 Subject: [PATCH] redirect stderr -> stdout in prometheus output --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ac8aa68..9316d19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,4 +42,4 @@ CMD (grep -qE '^prometheus:x:'"${UID}"':prometheus$' /etc/group || addgroup -g " (grep -qE '^prometheus:x:'"${UID}"':'"${GID}"':.*$' /etc/passwd || adduser -D -u "${UID}" -G prometheus prometheus) && \ chmod 700 /prometheus && chown prometheus:prometheus /prometheus && \ chown prometheus:prometheus /data && \ - su prometheus -c '/prometheus --config.file=/config/prometheus.yaml --storage.tsdb.path=/data/ ' + su prometheus -c '/prometheus --config.file=/config/prometheus.yaml --storage.tsdb.path=/data/' 2>&1