mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-20 03:28:11 +01:00
10 lines
559 B
Bash
10 lines
559 B
Bash
#!/usr/bin/with-contenv bashio
|
|
|
|
if bashio::services.available 'mysql'; then
|
|
bashio::log.warning "MariaDB addon was found! It can't be configured automatically, but you can configure it manually using those values in the initial set-up :"
|
|
bashio::log.blue "Database user : $(bashio::services "mysql" "username")"
|
|
bashio::log.blue "Database password : $(bashio::services "mysql" "password")"
|
|
bashio::log.blue "Database name : nextcloud"
|
|
bashio::log.blue "Host-name : $(bashio::services "mysql" "host"):$(bashio::services "mysql" "port")"
|
|
fi
|