Delete entrypoint_backup.sh
Browse files- entrypoint_backup.sh +0 -33
entrypoint_backup.sh
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
#!/bin/sh
|
2 |
-
|
3 |
-
WORK_DIR=/app
|
4 |
-
|
5 |
-
# 判断处理器架构
|
6 |
-
case "$(uname -m)" in
|
7 |
-
aarch64|arm64 )
|
8 |
-
ARCH=arm64
|
9 |
-
;;
|
10 |
-
x86_64|amd64 )
|
11 |
-
ARCH=amd64
|
12 |
-
;;
|
13 |
-
armv7* )
|
14 |
-
ARCH=arm
|
15 |
-
;;
|
16 |
-
* )
|
17 |
-
echo "Unsupported architecture"
|
18 |
-
exit 1
|
19 |
-
esac
|
20 |
-
|
21 |
-
# 下载需要的应用
|
22 |
-
wget -q -O $WORK_DIR/cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-$ARCH
|
23 |
-
|
24 |
-
# 赋执行权给 sh 及所有应用
|
25 |
-
chmod +x $WORK_DIR/cloudflared
|
26 |
-
|
27 |
-
# 运行 cloudflared
|
28 |
-
$WORK_DIR/cloudflared tunnel run --token ${ARGO_AUTH} &
|
29 |
-
|
30 |
-
# 运行 open-webui
|
31 |
-
$WORK_DIR/raycast-unblock-app
|
32 |
-
|
33 |
-
wait
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|