Skip to content

Commit 2b0e094

Browse files
authored
Update dockersetup.sh
1 parent c97c0e3 commit 2b0e094

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

dockersetup.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ install_adguard_home() {
242242
print_colored_section_header "Install Adguard Home..."
243243
run_command docker volume create adguardhome_data
244244
run_command docker run -d --hostname=adguardhome --name=adguardhome --restart=always \
245+
-v /var/run/docker.sock:/var/run/docker.sock \
245246
-v adguardhome_data:/opt/adguardhome/conf \
246247
-v adguardhome_data:/opt/adguardhome/work \
247248
-p 53:53/tcp \
@@ -268,6 +269,7 @@ install_uptime_kuma() {
268269
print_colored_section_header "Install Uptime Kuma..."
269270
run_command docker volume create uptimekuma_data
270271
run_command docker run -d --hostname=uptimekuma --name=uptimekuma --restart=always \
272+
-v /var/run/docker.sock:/var/run/docker.sock \
271273
-v uptimekuma_data:/app/data \
272274
-p 3001:3001 \
273275
louislam/uptime-kuma:latest
@@ -434,11 +436,13 @@ install_homarr() {
434436
displaydocker
435437
echo
436438
print_colored_section_header "Install homarr"
439+
run_command docker volume create homarr_configs
440+
run_command docker volume create homarr_icons
437441
run_command docker volume create homarr_data
438442
run_command docker run -d --hostname=homarr --name=homarr --restart=always \
439443
-v /var/run/docker.sock:/var/run/docker.sock \
440-
-v homarr_data:/app/data/configs \
441-
-v homarr_data:/app/public/icons \
444+
-v homarr_configs:/app/data/configs \
445+
-v homarr_icons:/app/public/icons \
442446
-v homarr_data:/data \
443447
-p 7575:7575 \
444448
linuxserver/heimdall:latest

0 commit comments

Comments
 (0)