Update run

Change web.console.libraries and web.console.templates to /etc instead of /usr/share
This commit is contained in:
Nathan Ellsworth 2022-07-20 00:20:21 -05:00 committed by GitHub
parent c49d1c1bdf
commit 5dc22bc440
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,8 @@ bashio::log.info 'Starting prometheus...'
options+=(--config.file="/etc/prometheus/prometheus.yml" ) options+=(--config.file="/etc/prometheus/prometheus.yml" )
options+=(--storage.tsdb.path="/data/prometheus" ) options+=(--storage.tsdb.path="/data/prometheus" )
options+=(--web.console.libraries="/usr/share/prometheus/console_libraries" ) options+=(--web.console.libraries="/etc/prometheus/console_libraries" )
options+=(--web.console.templates="/usr/share/prometheus/consoles" ) options+=(--web.console.templates="/etc/prometheus/consoles" )
options+=(--web.route-prefix="/" ) options+=(--web.route-prefix="/" )
options+=(--web.external-url="http://localhost:9090$(bashio::addon.ingress_entry)/" ) options+=(--web.external-url="http://localhost:9090$(bashio::addon.ingress_entry)/" )
options+=(--web.enable-lifecycle ) options+=(--web.enable-lifecycle )