fix formatting.... again.

This commit is contained in:
2026-03-05 06:38:19 +01:00
parent 7d8c36a771
commit 9560c6b40f

View File

@@ -163,13 +163,13 @@ publicip="$(curl -fsS https://api.ipify.org || curl -fsS https://ifconfig.me ||
localip="$(hostname -I | awk '{print $1}')" localip="$(hostname -I | awk '{print $1}')"
echo "--------------------------------------------------------" echo "--------------------------------------------------------"
echo "please double-check your ${cyan}DNS records${nc} to ensure they are set. the following dns records need to be set:" echo -e "please double-check your ${cyan}DNS records${nc} to ensure they are set. the following dns records need to be set:"
echo "" echo ""
echo "|name |type |value " echo "|name |type |value "
echo "|@ |A |$publicip " echo "|@ |A |$publicip "
echo "|* |CNAME |@ " echo "|* |CNAME |@ "
echo "" echo ""
echo "once you've done this, press any key to ${underline}continue${nc}" echo -e "once you've done this, press any key to ${underline}continue${nc}"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
@@ -283,7 +283,7 @@ echo "DNSStubListener=no" | tee -a /etc/systemd/resolved.conf
cd /opt/dockge cd /opt/dockge
docker compose up -d docker compose up -d
echo "${cyan}Dockge${nc} has been installed and launched. go to http://$localip:5001 and configure your username and password, then press any key to continue" echo -e "${cyan}Dockge${nc} has been installed and launched. go to http://$localip:5001 and configure your username and password, then press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
# call replacements for nginx db # call replacements for nginx db
@@ -294,74 +294,74 @@ replace_in_sqlite_db "/opt/stacks/npm/data/database.sqlite" "<adminemail>" $admi
cd /opt/stacks/npm cd /opt/stacks/npm
docker compose up -d docker compose up -d
echo "${cyan}Nginx Proxy Manager${nc} has been installed and launched. go to http://$localip:81 and configure your username and password, then press any key to continue" echo -e "${cyan}Nginx Proxy Manager${nc} has been installed and launched. go to http://$localip:81 and configure your username and password, then press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
cd /opt/stacks/dozzle cd /opt/stacks/dozzle
docker compose up -d docker compose up -d
echo "${cyan}dozzle${nc} has been launched from http://dozzle.$domain, verify it is online, do not worry if the UI gives a time-out error, this is due to docker being busy while this script runs." echo -e "${cyan}dozzle${nc} has been launched from http://dozzle.$domain, verify it is online, do not worry if the UI gives a time-out error, this is due to docker being busy while this script runs."
cd /opt/stacks/convertx cd /opt/stacks/convertx
docker compose up -d docker compose up -d
echo "${cyan}convertx${nc} has been launched from http://convert.$domain, verify it is online" echo -e "${cyan}convertx${nc} has been launched from http://convert.$domain, verify it is online"
cd /opt/stacks/wireguard cd /opt/stacks/wireguard
docker compose up -d docker compose up -d
echo "${cyan}wireguard${nc} has been launched from http://vpn.$domain, verify it is online" echo -e "${cyan}wireguard${nc} has been launched from http://vpn.$domain, verify it is online"
cd /opt/stacks/it-tools cd /opt/stacks/it-tools
docker compose up -d docker compose up -d
echo "${cyan}it-tools${nc} has been launched from http://tools.$domain, verify it is online" echo -e "${cyan}it-tools${nc} has been launched from http://tools.$domain, verify it is online"
cd /opt/stacks/onlyoffice cd /opt/stacks/onlyoffice
docker compose up -d docker compose up -d
echo "${cyan}onlyoffice${nc} has been launched from http://tools.$domain, verify it is online" echo -e "${cyan}onlyoffice${nc} has been launched from http://tools.$domain, verify it is online"
#owncloud #owncloud
# todo: use OC config commands to install addons and configure onlyoffice # todo: use OC config commands to install addons and configure onlyoffice
cd /opt/stacks/owncloud cd /opt/stacks/owncloud
docker compose up -d docker compose up -d
echo "${cyan}owncloud${nc} has been launched from http://cloud.$domain, check if it is online and working, it may take a bit to launch. feel free to add marketplace plugins" echo -e "${cyan}owncloud${nc} has been launched from http://cloud.$domain, check if it is online and working, it may take a bit to launch. feel free to add marketplace plugins"
cd /opt/stacks/site cd /opt/stacks/site
docker compose up -d docker compose up -d
echo "${cyan}site${nc} has been launched from http://www.$domain, verify it is online" echo -e "${cyan}site${nc} has been launched from http://www.$domain, verify it is online"
cd /opt/stacks/vaultwarden cd /opt/stacks/vaultwarden
docker compose up -d docker compose up -d
echo "${cyan}vaultwarden${nc} has been launched from http://vault.$domain, verify it is online" echo -e "${cyan}vaultwarden${nc} has been launched from http://vault.$domain, verify it is online"
cd /opt/stacks/downloader cd /opt/stacks/downloader
docker compose up -d docker compose up -d
echo "${cyan}downloader${nc} has been launched from http://download.$domain, verify it is online" echo -e "${cyan}downloader${nc} has been launched from http://download.$domain, verify it is online"
echo "" echo ""
echo "recap of all available services up to now:" echo -e "recap of all available services up to now:"
echo "${cyan}owncloud${nc} has been launched from http://cloud.$domain, check if it is online and working, it may take a bit to launch. feel free to add marketplace plugins" echo -e "${cyan}owncloud${nc} has been launched from http://cloud.$domain, check if it is online and working, it may take a bit to launch. feel free to add marketplace plugins"
echo "${cyan}vaultwarden${nc} has been launched from http://vault.$domain, verify it is online" echo -e "${cyan}vaultwarden${nc} has been launched from http://vault.$domain, verify it is online"
echo "${cyan}site${nc} has been launched from http://www.$domain, verify it is online" echo -e "${cyan}site${nc} has been launched from http://www.$domain, verify it is online"
echo "${cyan}onlyoffice${nc} has been launched from http://tools.$domain, verify it is online" echo -e "${cyan}onlyoffice${nc} has been launched from http://tools.$domain, verify it is online"
echo "${cyan}it-tools${nc} has been launched from http://tools.$domain, verify it is online" echo -e "${cyan}it-tools${nc} has been launched from http://tools.$domain, verify it is online"
echo "${cyan}wireguard${nc} has been launched from http://vpn.$domain, verify it is online" echo -e "${cyan}wireguard${nc} has been launched from http://vpn.$domain, verify it is online"
echo "${cyan}convertx${nc} has been launched from http://convert.$domain, verify it is online" echo -e "${cyan}convertx${nc} has been launched from http://convert.$domain, verify it is online"
echo "${cyan}downloader${nc} has been launched from http://download.$domain, verify it is online" echo -e "${cyan}downloader${nc} has been launched from http://download.$domain, verify it is online"
echo "${cyan}dozzle${nc} has been launched from http://dozzle.$domain, verify it is online, do not worry if the UI gives a time-out error, this is due to docker being busy while this script runs." echo -e "${cyan}dozzle${nc} has been launched from http://dozzle.$domain, verify it is online, do not worry if the UI gives a time-out error, this is due to docker being busy while this script runs."
echo "${cyan}Nginx Proxy Manager${nc} has been installed, configured and launched from http://proxy.$domain" echo -e "${cyan}Nginx Proxy Manager${nc} has been installed, configured and launched from http://proxy.$domain"
echo "${cyan}Dockge${nc} has been installed, configured and launched from http://docker.$domain" echo -e "${cyan}Dockge${nc} has been installed, configured and launched from http://docker.$domain"
#bookstack #bookstack
cd /opt/stacks/bookstack cd /opt/stacks/bookstack
docker compose up -d docker compose up -d
echo "${cyan}bookstack${nc} has been launched from http://docs.$domain, verify it is online (this may take a bit) and log in with email 'admin@admin.com' and password 'password', then reset this account to use $adminemail and your password. afterwards, press any key to continue" echo -e "${cyan}bookstack${nc} has been launched from http://docs.$domain, verify it is online (this may take a bit) and log in with email 'admin@admin.com' and password 'password', then reset this account to use $adminemail and your password. afterwards, press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
#browser #browser
cd /opt/stacks/browser cd /opt/stacks/browser
docker compose up -d docker compose up -d
echo "${cyan}filebrowser${nc} has been launched from http://browser.$domain, head to dockge (http://docker.$domain), open the filebrowser stack and check the logs for the initial admin password. make sure to change this in filebrowser's config, then press any key to continue" echo -e "${cyan}filebrowser${nc} has been launched from http://browser.$domain, head to dockge (http://docker.$domain), open the filebrowser stack and check the logs for the initial admin password. make sure to change this in filebrowser's config, then press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
#jellyfin #jellyfin
@@ -369,26 +369,26 @@ cd /opt/stacks/jellyfin
docker compose up -d docker compose up -d
mkdir /opt/stacks/jellyfin/media/shows mkdir /opt/stacks/jellyfin/media/shows
mkdir /opt/stacks/jellyfin/media/movies mkdir /opt/stacks/jellyfin/media/movies
echo "${cyan}jellyfin${nc} has launched from http://video.$domain, perform the initial setup and press any key to continue" echo -e "${cyan}jellyfin${nc} has launched from http://video.$domain, perform the initial setup and press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
#uptimekuma #uptimekuma
cd /opt/stacks/kuma cd /opt/stacks/kuma
docker compose up -d docker compose up -d
echo "${cyan}uptime kuma${nc} has been launched from http://status.$domain, perform the initial setup, choosing embedded mariaDB, then press any key to continue" echo -e "${cyan}uptime kuma${nc} has been launched from http://status.$domain, perform the initial setup, choosing embedded mariaDB, then press any key to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
#pihole #pihole
systemctl restart systemd-resolved systemctl restart systemd-resolved
cd /opt/stacks/pihole cd /opt/stacks/pihole
docker compose up -d docker compose up -d
echo "${cyan}pihole${nc} has been launched from http://dns.$domain, to use pihole as your DNS provider, set your DNS to $localip in your router for DHCP and on your device for any device with a static ip. Currently, the DNS is configured to use the joindns4.eu DNS, which *also* has built-in adblocking." echo -e "${cyan}pihole${nc} has been launched from http://dns.$domain, to use pihole as your DNS provider, set your DNS to $localip in your router for DHCP and on your device for any device with a static ip. Currently, the DNS is configured to use the joindns4.eu DNS, which *also* has built-in adblocking."
#dashboard #dashboard
replace_in_sqlite_db "/opt/stacks/dashboard/config/www/app.sqlite" "<domain>" $domain replace_in_sqlite_db "/opt/stacks/dashboard/config/www/app.sqlite" "<domain>" $domain
cd /opt/stacks/dashboard cd /opt/stacks/dashboard
docker compose up -d docker compose up -d
echo "${cyan}dashboard${nc} has been launched from http://dash.$domain, verify it is online, check that its entries work and press any button to continue" echo -e "${cyan}dashboard${nc} has been launched from http://dash.$domain, verify it is online, check that its entries work and press any button to continue"
read -n 1 -s -r -p "" read -n 1 -s -r -p ""
#doesnt work yet #doesnt work yet
@@ -396,9 +396,10 @@ read -n 1 -s -r -p ""
echo "" echo ""
echo "" echo ""
echo "" echo ""
echo "you can now access the dockge GUI interface at $localip:5001 and the proxy interface at $localip:81 once you start it from Dockge. be sure to forward ports 80, 443 and 51820 to $localip in your router settings" echo -e "you can now access the dockge GUI interface at $localip:5001 and the proxy interface at $localip:81 once you start it from Dockge. be sure to forward ports 80, 443 and 51820 to $localip in your router settings"
echo "to use ${green}pihole${nc} as your DNS provider, set your DNS to $localip in your router for DHCP and on your device for any device with a static ip. Currently, the DNS is configured to use the joindns4.eu DNS, which also has built-in adblocking." echo -e "to use ${green}pihole${nc} as your DNS provider, set your DNS to $localip in your router for DHCP and on your device for any device with a static ip. Currently, the DNS is configured to use the joindns4.eu DNS, which also has built-in adblocking."
echo "please reboot before further use" echo "please reboot before further use"
-e