redirect stderr -> stdout in prometheus output

This commit is contained in:
fix 2021-03-02 21:38:05 +01:00
parent 2d70c2a1d9
commit 6db0a7e992

View File

@ -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