mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 12:59:13 +02:00
Update 99-run.sh
This commit is contained in:
@@ -51,13 +51,13 @@ case $(bashio::config 'DB_TYPE') in
|
|||||||
export DB_ENGINE=django.db.backends.mysql
|
export DB_ENGINE=django.db.backends.mysql
|
||||||
export POSTGRES_HOST=$(bashio::services "mysql" "host") && bashio::log.blue "POSTGRES_HOST=$POSTGRES_HOST"
|
export POSTGRES_HOST=$(bashio::services "mysql" "host") && bashio::log.blue "POSTGRES_HOST=$POSTGRES_HOST"
|
||||||
export POSTGRES_PORT=$(bashio::services "mysql" "port") && bashio::log.blue "POSTGRES_PORT=$POSTGRES_PORT"
|
export POSTGRES_PORT=$(bashio::services "mysql" "port") && bashio::log.blue "POSTGRES_PORT=$POSTGRES_PORT"
|
||||||
export POSTGRES_DB=/data/
|
|
||||||
|
|
||||||
.db && bashio::log.blue "POSTGRES_DB=$POSTGRES_DB"
|
.db && bashio::log.blue "POSTGRES_DB=$POSTGRES_DB"
|
||||||
export POSTGRES_USER=$(bashio::services "mysql" "username") && bashio::log.blue "POSTGRES_USER=$POSTGRES_USER"
|
export POSTGRES_USER=$(bashio::services "mysql" "username") && bashio::log.blue "POSTGRES_USER=$POSTGRES_USER"
|
||||||
export POSTGRES_PASSWORD=$(bashio::services "mysql" "password") && bashio::log.blue "POSTGRES_PASSWORD=$POSTGRES_PASSWORD"
|
export POSTGRES_PASSWORD=$(bashio::services "mysql" "password") && bashio::log.blue "POSTGRES_PASSWORD=$POSTGRES_PASSWORD"
|
||||||
|
export POSTGRES_DB=$(bashio::config "POSTGRES_DB") && bashio::log.blue "POSTGRES_DB=$POSTGRES_DB"
|
||||||
|
|
||||||
bashio::log.warning "Webtrees is using the Maria DB addon"
|
bashio::log.warning "This addon is using the Maria DB addon"
|
||||||
bashio::log.warning "Please ensure this is included in your backups"
|
bashio::log.warning "Please ensure this is included in your backups"
|
||||||
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"
|
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user