We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b873aba commit 82bfb39Copy full SHA for 82bfb39
instal.sh
install.sh
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
+
3
+set -e
4
5
+DOWNLOAD_URL='https://legacy-s1.apitable.com/docker-compose.tar.gz'
6
7
+mkdir -p apitable
8
+cd apitable || exit 1
9
10
+: "${DOWNLOAD_URL?✗ missing env}"
11
12
+curl -fLo docker-compose.tar.gz "${DOWNLOAD_URL}"
13
+tar -xvzf docker-compose.tar.gz
14
15
+docker-compose down -v --remove-orphans
16
+for i in {1..50}; do
17
+ if docker-compose pull; then
18
+ if docker-compose up -d; then
19
+ break
20
+ fi
21
22
+ sleep 6
23
+done
0 commit comments