Repository navigation
Expand file tree
/
Copy pathdeploy-cloud.sh
More file actions
executable file
·69 lines (66 loc) · 3.06 KB
/
Copy pathdeploy-cloud.sh
File metadata and controls
executable file
·69 lines (66 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env bash
# ==============================================================================
# Autonomous 1-Click Cloud Publisher for 24/7 Disconnected Swarm Execution
# ==============================================================================
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
echo "======================================================================"
echo " [MANI\$OFT] 24/7 INDEPENDENT CLOUD RUNNER DEPLOYMENT"
echo "======================================================================"
echo " Repository: https://github.com/manisoft-git/Manisoft_Panel"
echo " Target: Always-On Cloud Execution (Immune to phone shutdown)"
echo "======================================================================"
TARGET="${1:-huggingface}"
case "$TARGET" in
hf|huggingface)
echo "[*] Hugging Face Spaces (100% Free Forever, 16GB RAM, No Credit Card)."
echo " 🔗 Create New Space: https://huggingface.co/new-space"
echo " SDK: Docker (Blank)"
echo " Hardware: CPU Basic (2 vCPU · 16 GB RAM · Free)"
echo " Repository to import: https://github.com/manisoft-git/Manisoft_Panel"
echo "[✓] Port 7860/3000 configured. Space will run 24/7 forever."
;;
zeabur)
echo "[*] Zeabur 1-Click Git Cloud (Free tier, instant setup)."
echo " 🔗 Deploy: https://zeabur.com"
echo " Connect GitHub -> Select manisoft-git/Manisoft_Panel"
;;
koyeb)
echo "[*] Koyeb 24/7 Autonomous Cloud Runner configured (deploy-koyeb.sh)."
echo " 🔗 Koyeb Dashboard: https://app.koyeb.com"
"$SCRIPT_DIR/deploy-koyeb.sh" "${2:-status}"
;;
render)
echo "[*] Render Blueprint configured (render.yaml)."
echo " 🔗 1-Click Deploy Link: https://dashboard.render.com/select-repo?type=web"
echo " Connect your repository: manisoft-git/Manisoft_Panel"
echo "[✓] Render will automatically deploy and assign a 24/7 permanent HTTPS URL."
;;
railway)
echo "[*] Railway configured (railway.json)."
echo " 🔗 1-Click Deploy Link: https://railway.app/new"
echo " Select: Deploy from GitHub repo -> manisoft-git/Manisoft_Panel"
;;
fly)
echo "[*] Fly.io configured (fly.toml)."
if command -v flyctl >/dev/null 2>&1; then
flyctl deploy
else
echo " Install Fly CLI or deploy via GitHub Actions."
fi
;;
docker|container)
echo "[*] Building local Docker production container..."
if command -v docker >/dev/null 2>&1; then
docker build -t manisoft-singularity:v100.0 .
docker run -d --restart=always --name manisoft-core -p 3000:3000 manisoft-singularity:v100.0
echo "[✓] Container online and set to restart=always."
else
echo "[!] Docker engine not available locally."
fi
;;
*)
echo "Usage: ./deploy-cloud.sh [huggingface|zeabur|koyeb|render|railway|fly|docker]"
;;
esac