-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
34 lines (29 loc) · 772 Bytes
/
run.sh
File metadata and controls
34 lines (29 loc) · 772 Bytes
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
#!/bin/bash
echo "========================================"
echo " SofaFriends - Starting Game Server"
echo "========================================"
echo ""
echo "[1/3] Starting Docker services..."
docker-compose up -d
echo ""
echo "[2/3] Waiting for services to initialize..."
sleep 5
echo ""
echo "[3/3] Services ready!"
echo ""
echo "========================================"
echo " Access Points:"
echo "========================================"
echo ""
echo " Host Screen (TV/Laptop):"
echo " http://localhost:3000"
echo ""
echo " Controller (Phone):"
echo " http://localhost:3001"
echo " or scan QR code on host screen"
echo ""
echo "========================================"
echo ""
echo "Press Ctrl+C to stop the server"
echo ""
docker-compose logs -f