mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update 99-run.sh
This commit is contained in:
@@ -36,8 +36,9 @@ chmod -R 777 "$CONFIG_HOME"
|
|||||||
# Set variables for vector.rs
|
# Set variables for vector.rs
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
DB_HOSTNAME=localhost
|
DB_HOSTNAME=localhost
|
||||||
DB_USERNAME=postgres
|
|
||||||
DB_PASSWORD="$(bashio::config 'POSTGRES_PASSWORD')"
|
DB_PASSWORD="$(bashio::config 'POSTGRES_PASSWORD')"
|
||||||
|
if bashio::config.has_value "POSTGRES_USER"; then POSTGRES_USER="$(bashio::config "POSTGRES_USER")"; else POSTGRES_USER=postgres; fi
|
||||||
|
|
||||||
export DB_PORT
|
export DB_PORT
|
||||||
export DB_HOSTNAME
|
export DB_HOSTNAME
|
||||||
export DB_USERNAME
|
export DB_USERNAME
|
||||||
|
|||||||
Reference in New Issue
Block a user