Loading deploy/conf/entrypoint.sh +3 −1 Original line number Diff line number Diff line #!/bin/sh -e cat /etc/prometheus/prometheus-conf.yml > /tmp/prometheus.yml if [ ${JOBS+x} ] then for job in $(echo "${JOBS}" | tr ',' ' ') Loading Loading @@ -41,7 +43,7 @@ then done fi cp /tmp/prometheus.yml /etc/prometheus/prometheus.yml mv /tmp/prometheus.yml /etc/prometheus/prometheus.yml set -- /bin/prometheus "$@" Loading deploy/docker-compose.tmpl.yml +1 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,7 @@ services: - prometheus:/prometheus configs: - source: prometheus-conf target: /tmp/prometheus.yml mode: 0444 target: /etc/prometheus/prometheus-conf.yml - source: prometheus-entrypoint target: /etc/prometheus/entrypoint.sh mode: 0744 Loading Loading
deploy/conf/entrypoint.sh +3 −1 Original line number Diff line number Diff line #!/bin/sh -e cat /etc/prometheus/prometheus-conf.yml > /tmp/prometheus.yml if [ ${JOBS+x} ] then for job in $(echo "${JOBS}" | tr ',' ' ') Loading Loading @@ -41,7 +43,7 @@ then done fi cp /tmp/prometheus.yml /etc/prometheus/prometheus.yml mv /tmp/prometheus.yml /etc/prometheus/prometheus.yml set -- /bin/prometheus "$@" Loading
deploy/docker-compose.tmpl.yml +1 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,7 @@ services: - prometheus:/prometheus configs: - source: prometheus-conf target: /tmp/prometheus.yml mode: 0444 target: /etc/prometheus/prometheus-conf.yml - source: prometheus-entrypoint target: /etc/prometheus/entrypoint.sh mode: 0744 Loading