add cloudflared

This commit is contained in:
jxxghp
2024-03-17 16:52:13 +08:00
parent f2a40e1ec3
commit e6229beb94
3 changed files with 21 additions and 5 deletions

View File

@ -28,6 +28,10 @@ nginx
if [ -S "/var/run/docker.sock" ]; then
haproxy -f /app/haproxy.cfg
fi
# 启动cloudflared
if [ -S "/usr/local/bin/cloudflared" ]; then
cloudflared proxy-dns &
fi
# 设置后端服务权限掩码
umask "${UMASK}"
# 启动后端服务