Skip to content

Commit

Permalink
Merge pull request #2 from almosnow/main
Browse files Browse the repository at this point in the history
fix: 'docker-compose' is deprecated, using new syntax for v2
  • Loading branch information
vac (Brendan) committed Dec 26, 2022
2 parents 1d0bd19 + 42be00d commit d07e62a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ notes () {
======== WARM TIPS ========
Before you submit any github issue, please do the following check:
* make sure the docker daemon is running
* make sure you use docker-compose v2: recommend 2.x.x, got $(docker-compose version --short 2>/dev/null || echo not install)
* make sure you use docker compose v2: recommend 2.x.x, got $(docker compose version --short 2>/dev/null || echo not install)
* check your internet connection if timeout happens
===========================
EOF
Expand All @@ -25,10 +25,10 @@ cd apitable || exit 1
curl -fLo docker-compose.tar.gz "${DOWNLOAD_URL}"
tar -xvzf docker-compose.tar.gz

docker-compose down -v --remove-orphans
docker compose down -v --remove-orphans
for i in {1..50}; do
if docker-compose pull; then
if docker-compose up -d; then
if docker compose pull; then
if docker compose up -d; then
break
fi
fi
Expand Down

0 comments on commit d07e62a

Please sign in to comment.