Update 10-vector.sh

This commit is contained in:
Alexandre
2024-02-03 20:51:33 +01:00
committed by GitHub
parent 593cb9dc91
commit e43d11ab1b

View File

@@ -13,7 +13,7 @@ bashio::log.info "Enabling vector.rs"
DB_PORT=5432
DB_HOSTNAME=localhost
DB_PASSWORD="$(bashio::config 'POSTGRES_PASSWORD')"
if bashio::config.has_value "DB_USERNAME"; then DB_USERNAME="$(bashio::config "DB_USERNAME")"; else DB_USERNAME=postgres; fi
if bashio::config.has_value "POSTGRES_USER"; then DB_USERNAME="$(bashio::config "POSTGRES_USER")"; else DB_USERNAME=postgres; fi
export DB_PORT
export DB_HOSTNAME