Skip to content

Commit afc7d20

Browse files
authored
fix: can not find docker-compose (#80)
1 parent 698a8c2 commit afc7d20

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/install.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -e
33

44
unalias cp 2>/dev/null || true
5-
alias docker-compose='docker compose'
65

76
set_env() {
87
[[ ! -n "$external_ip" ]] && read -p "Enter your openv2x external ip: " external_ip
@@ -136,12 +135,12 @@ verify_install() {
136135
docker pull openv2x/$i:latest
137136
done
138137

139-
docker-compose -f /tmp/pre/docker-compose-pre.yaml up -d
138+
docker compose -f /tmp/pre/docker-compose-pre.yaml up -d
140139
verify_mysql
141-
docker-compose -f /tmp/init/docker-compose-init.yaml up -d
140+
docker compose -f /tmp/init/docker-compose-init.yaml up -d
142141
verify_bootstrap
143142
docker rm dandelion_bootstrap || true
144-
docker-compose -f /tmp/service/docker-compose-service.yaml up -d
143+
docker compose -f /tmp/service/docker-compose-service.yaml up -d
145144
printf "%40s\n" "$(tput setaf 4)
146145
openv2x has been installed successfully!
147146
________

0 commit comments

Comments
 (0)