diff --git a/ct/alpine-mariadb.sh b/ct/alpine-mariadb.sh index 4c564f3..c79bf3f 100644 --- a/ct/alpine-mariadb.sh +++ b/ct/alpine-mariadb.sh @@ -41,3 +41,6 @@ build_container description msg_ok "Completed Successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following IP:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}${IP}:3306${CL}" diff --git a/ct/alpine-node-red.sh b/ct/alpine-node-red.sh index ca2e8ca..73ee7b0 100644 --- a/ct/alpine-node-red.sh +++ b/ct/alpine-node-red.sh @@ -3,7 +3,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/ # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://redis.io/ +# Source: https://nodered.org APP="Alpine-Node-Red" var_tags="${var_tags:-alpine;automation}" @@ -21,20 +21,23 @@ catch_errors function update_script() { msg_info "Updating Alpine Packages" - apk update && apk upgrade + $STD apk update + $STD apk upgrade msg_ok "Updated Alpine Packages" msg_info "Updating Node.js and npm" - apk upgrade nodejs npm + $STD apk upgrade nodejs npm msg_ok "Updated Node.js and npm" msg_info "Updating Node-RED" - npm install -g --unsafe-perm node-red + $STD npm install -g --unsafe-perm node-red msg_ok "Updated Node-RED" msg_info "Restarting Node-RED" - rc-service nodered restart + $STD rc-service nodered restart msg_ok "Restarted Node-RED" + + exit 0 } start @@ -42,5 +45,6 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${APP} should be reachable on port 1880. - ${BL}http://:1880${CL} \n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following URL:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:1880${CL}" diff --git a/ct/alpine-postgresql.sh b/ct/alpine-postgresql.sh index 788e801..2ebb0aa 100644 --- a/ct/alpine-postgresql.sh +++ b/ct/alpine-postgresql.sh @@ -21,16 +21,19 @@ catch_errors function update_script() { msg_info "Updating Alpine Packages" - apk update && apk upgrade + $STD apk update + $STD apk upgrade msg_ok "Updated Alpine Packages" msg_info "Updating PostgreSQL" - apk upgrade postgresql postgresql-contrib + $STD apk upgrade postgresql postgresql-contrib msg_ok "Updated PostgreSQL" msg_info "Restarting PostgreSQL" - rc-service postgresql restart + $STD rc-service postgresql restart msg_ok "Restarted PostgreSQL" + + exit 0 } start @@ -38,3 +41,6 @@ build_container description msg_ok "Completed Successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following IP:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}${IP}:5432${CL}" diff --git a/ct/alpine-prometheus.sh b/ct/alpine-prometheus.sh index d43d529..4139176 100644 --- a/ct/alpine-prometheus.sh +++ b/ct/alpine-prometheus.sh @@ -21,16 +21,19 @@ catch_errors function update_script() { msg_info "Updating Alpine Packages" - apk update && apk upgrade + $STD apk update + $STD apk upgrade msg_ok "Updated Alpine Packages" msg_info "Updating Prometheus" - apk upgrade prometheus + $STD apk upgrade prometheus msg_ok "Updated Prometheus" msg_info "Restarting Prometheus" - rc-service prometheus restart + $STD rc-service prometheus restart msg_ok "Restarted Prometheus" + + exit 0 } start @@ -38,3 +41,6 @@ build_container description msg_ok "Completed Successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following URL:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9090${CL}" diff --git a/ct/alpine-tinyauth.sh b/ct/alpine-tinyauth.sh index 525e5ef..8f816f5 100644 --- a/ct/alpine-tinyauth.sh +++ b/ct/alpine-tinyauth.sh @@ -20,25 +20,28 @@ color catch_errors function update_script() { - header_info - if [ ! -d /opt/tinyauth ]; then - msg_error "No ${APP} Installation Found!" - exit 1 - fi - msg_info "Updating Alpine Packages" - $STD apk update && apk upgrade - msg_ok "Updated Alpine Packages" + header_info + if [ ! -d /opt/tinyauth ]; then + msg_error "No ${APP} Installation Found!" + exit 1 + fi + msg_info "Updating Alpine Packages" + $STD apk update + $STD apk upgrade + msg_ok "Updated Alpine Packages" - echo "DEBUG: CT_TYPE before update_script=${CT_TYPE:-UNDEFINED}" - echo "DEBUG: var_unprivileged=${var_unprivileged:-UNDEFINED}" + echo "DEBUG: CT_TYPE before update_script=${CT_TYPE:-UNDEFINED}" + echo "DEBUG: var_unprivileged=${var_unprivileged:-UNDEFINED}" - msg_info "Updating tinyauth" - $STD apk upgrade tinyauth - msg_ok "Updated tinyauth" + msg_info "Updating tinyauth" + $STD apk upgrade tinyauth + msg_ok "Updated tinyauth" - msg_info "Restarting tinyauth" - $STD rc-service tinyauth restart - msg_ok "Restarted tinyauth" + msg_info "Restarting tinyauth" + $STD rc-service tinyauth restart + msg_ok "Restarted tinyauth" + + exit 0 } start @@ -46,3 +49,6 @@ build_container description msg_ok "Completed Successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following URL:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:xxxx${CL}"