Skip to content

Commit c97c0e3

Browse files
authored
Update dockersetup.sh
1 parent e6ce86f commit c97c0e3

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

dockersetup.sh

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ app_menu() {
183183
echo -e "\e[1;33m [\033[1;36m4\e[1;33m] Watchtower\e[0m [Automatic updating of docker containers]"
184184
echo -e "\e[1;33m [\033[1;36m5\e[1;33m] Grafana_Stack\e[0m [Data visualization]"
185185
echo -e "\e[1;33m [\033[1;36m6\e[1;33m] Nginx-Proxy-Manager\e[0m [Reverse proxy with LetsEncrypt]"
186-
echo -e "\e[1;33m [\033[1;36m7\e[1;33m] Heimdall\e[0m [Dashboards for Favorites]"
186+
echo -e "\e[1;33m [\033[1;36m7\e[1;33m] Homarr\e[0m [Dashboards for Favorites]"
187187
echo
188188
echo "============================================================================="
189189
echo
@@ -199,7 +199,7 @@ app_menu() {
199199
4) install_watchtower ;;
200200
5) install_grafana_stack ;;
201201
6) install_npm ;;
202-
7) install_heimdall ;;
202+
7) install_homarr ;;
203203
Q|q) return ;;
204204
*) echo "Invalid option. Please select again." ;;
205205
esac
@@ -410,8 +410,8 @@ install_npm() {
410410
run_command docker network create npm_network
411411
run_command docker volume create npm_data
412412
run_command docker run -d --hostname=npm --name=nginx-proxy-manager --network=npm_network --restart=always \
413-
-v /npm_data/data:/data \
414-
-v /npm_data/letsencrypt:/etc/letsencrypt \
413+
-v npm_data/data:/data \
414+
-v npm_data/letsencrypt:/etc/letsencrypt \
415415
-p 80:80 \
416416
-p 443:443 \
417417
-p 81:81 \
@@ -428,22 +428,25 @@ install_npm() {
428428
read -p " Press Enter to return to the menu."
429429
}
430430

431-
install_heimdall() {
431+
install_homarr() {
432432

433433
clear
434434
displaydocker
435435
echo
436-
print_colored_section_header "Install Heimdall"
437-
run_command docker volume create heimdall_data
438-
run_command docker run -d --hostname=heimdall --name=heimdall --restart=always \
439-
-v heimdall_data/config:/app/config \
440-
-p 8080:80 \
436+
print_colored_section_header "Install homarr"
437+
run_command docker volume create homarr_data
438+
run_command docker run -d --hostname=homarr --name=homarr --restart=always \
439+
-v /var/run/docker.sock:/var/run/docker.sock \
440+
-v homarr_data:/app/data/configs \
441+
-v homarr_data:/app/public/icons \
442+
-v homarr_data:/data \
443+
-p 7575:7575 \
441444
linuxserver/heimdall:latest
442445
clear
443446
displaydocker
444447
echo
445-
echo -e " Heimdall can now be reached at the following address >"
446-
echo -e " \e[32mhttp://$(get_ip_address):8080\e[0m"
448+
echo -e " homarr can now be reached at the following address >"
449+
echo -e " \e[32mhttp://$(get_ip_address):7575\e[0m"
447450
echo
448451
read -p " Press Enter to return to the menu."
449452
}

0 commit comments

Comments
 (0)