mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-26 17:26:05 +02:00
Update 99-elasticsearch.sh
This commit is contained in:
@@ -49,8 +49,9 @@ if bashio::config.true 'Full_Text_Search'; then
|
|||||||
HOST=$(bashio::config 'elasticsearch_server')
|
HOST=$(bashio::config 'elasticsearch_server')
|
||||||
else
|
else
|
||||||
bashio::log.warning 'Please define elasticsearch server url in addon options with the format "ip:port" such as "192.168.178.1:9200"'
|
bashio::log.warning 'Please define elasticsearch server url in addon options with the format "ip:port" such as "192.168.178.1:9200"'
|
||||||
HOST=$(bashio::network.ipv4_address)
|
HOST=http://db21ed7f-elasticsearch:9200
|
||||||
HOST="${HOST%/*}:9200"
|
#HOST=$(bashio::network.ipv4_address)
|
||||||
|
#HOST="${HOST%/*}:9200"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Final setup
|
# Final setup
|
||||||
|
|||||||
Reference in New Issue
Block a user