Spaces:
Paused

File size: 178 Bytes
ce60f26
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# 启动cloudflared
cloudflared tunnel --token $AUTH_TOKEN &

# 启动Tailscale
tailscale up --auth-key=$TAILSCALE_AUTH_KEY &

# 保持容器运行
tail -f /dev/null