Spaces:
Paused

MildredRWilliamson commited on
Commit
ce60f26
·
verified ·
1 Parent(s): 6c93640

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +10 -0
start.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # 启动cloudflared
4
+ cloudflared tunnel --token $AUTH_TOKEN &
5
+
6
+ # 启动Tailscale
7
+ tailscale up --auth-key=$TAILSCALE_AUTH_KEY &
8
+
9
+ # 保持容器运行
10
+ tail -f /dev/null