Update mediamanager-install.sh
This commit is contained in:
parent
c97be769aa
commit
73d2bab42a
@ -11,18 +11,14 @@ verb_ip6
|
|||||||
catch_errors
|
catch_errors
|
||||||
setting_up_container
|
setting_up_container
|
||||||
network_check
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
read -r -p "${TAB3}Enter the email address of your first admin user: " admin_email
|
read -r -p "${TAB3}Enter the email address of your first admin user: " admin_email
|
||||||
if [[ "$admin_email" ]]; then
|
if [[ "$admin_email" ]]; then
|
||||||
EMAIL="$admin_email"
|
EMAIL="$admin_email"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update_os
|
setup_yq
|
||||||
|
|
||||||
msg_info "Installing dependencies"
|
|
||||||
$STD apt-get install -y yq
|
|
||||||
msg_ok "Installed dependencies"
|
|
||||||
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
setup_uv
|
setup_uv
|
||||||
PG_VERSION="17" setup_postgresql
|
PG_VERSION="17" setup_postgresql
|
||||||
@ -43,6 +39,7 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8'
|
|||||||
msg_ok "Set up PostgreSQL"
|
msg_ok "Set up PostgreSQL"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "MediaManager" "maxdorninger/MediaManager" "tarball" "latest" "/opt/mediamanager"
|
fetch_and_deploy_gh_release "MediaManager" "maxdorninger/MediaManager" "tarball" "latest" "/opt/mediamanager"
|
||||||
|
|
||||||
msg_info "Configuring MediaManager"
|
msg_info "Configuring MediaManager"
|
||||||
MM_DIR="/opt/mm"
|
MM_DIR="/opt/mm"
|
||||||
MEDIA_DIR="${MM_DIR}/media"
|
MEDIA_DIR="${MM_DIR}/media"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user