File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ case $key in
150
150
;;
151
151
--ipv6)
152
152
ipv6=true
153
+ export WO_IPV6=YES
153
154
shift # past argument
154
155
;;
155
156
* ) # unknown option
@@ -373,6 +374,7 @@ start(){
373
374
echo " ================================"
374
375
echo " Host: $WO_HOST "
375
376
echo " Port: $WO_PORT "
377
+ echo " IPv6: $WO_IPV6 "
376
378
echo " Media directory: $WO_MEDIA_DIR "
377
379
echo " Postgres DB directory: $WO_DB_DIR "
378
380
echo " SSL: $WO_SSL "
@@ -490,10 +492,6 @@ down(){
490
492
command+=" -f docker-compose.nodeodm.yml"
491
493
fi
492
494
493
- if [[ $ipv6 = true ]]; then
494
- command+=" -f docker-compose.ipv6.yml"
495
- fi
496
-
497
495
command+=" -f docker-compose.nodemicmac.yml down --remove-orphans"
498
496
499
497
run " ${command} "
@@ -596,11 +594,7 @@ elif [[ $1 = "stop" ]]; then
596
594
else
597
595
command+=" -f docker-compose.nodeodm.yml"
598
596
fi
599
-
600
- if [[ $ipv6 = true ]]; then
601
- command+=" -f docker-compose.ipv6.yml"
602
- fi
603
-
597
+
604
598
command+=" -f docker-compose.nodemicmac.yml stop"
605
599
run " ${command} "
606
600
elif [[ $1 = " restart" ]]; then
You can’t perform that action at this time.
0 commit comments