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