cardano-docker/monitoring/prometheus/entrypoint.sh

9 lines
226 B
Bash
Raw Normal View History

2021-02-13 15:19:38 +00:00
#!/bin/sh
# Init config
mkdir -p /config/
if [ ! -f "/config/config.yml" ]; then
python /init_config.py /config.tmpl.yml /config/config.yml
fi
prometheus --config.file=/config/config.yml --storage.tsdb.path=/config/data/