File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,17 @@ deploy_ballerine() {
38
38
local input=$1
39
39
echo " checking domain if suitable $input "
40
40
if [[ $input == * http://* && $input != * https://* ]]; then
41
+ if [[ " $OSTYPE " == " darwin" * ]]; then
41
42
cd deploy; sudo docker-compose -f docker-compose-build.yml up -d
43
+ else
44
+ cd deploy; sudo docker compose -f docker-compose-build.yml up -d
45
+ fi
42
46
elif [[ $input == * https://* && $input != * http://* ]]; then
47
+ if [[ " $OSTYPE " == " darwin" * ]]; then
43
48
cd deploy; sudo docker-compose -f docker-compose-build-https.yml up -d
49
+ else
50
+ cd deploy; sudo docker compose -f docker-compose-build-https.yml up -d
51
+ fi
44
52
elif [[ $input == * http://* && $input == * https://* ]]; then
45
53
echo " The string contains both 'http' and 'https'."
46
54
exit 1;
@@ -71,7 +79,7 @@ install_docker_ubuntu(){
71
79
$( . /etc/os-release && echo " $VERSION_CODENAME " ) stable" | \
72
80
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
73
81
sudo apt-get update
74
- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
82
+ sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
75
83
}
76
84
77
85
You can’t perform that action at this time.
0 commit comments