mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 19:21:35 +00:00
Update run
Change web.console.libraries and web.console.templates to /etc instead of /usr/share
This commit is contained in:
parent
c49d1c1bdf
commit
5dc22bc440
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue