24 lines
699 B
Bash
Executable File
24 lines
699 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Colors for output
|
|
GREEN='\033[0;32m'
|
|
BLUE='\033[0;34m'
|
|
NC='\033[0m' # No Color
|
|
|
|
echo -e "${BLUE}🎮 Starting Minecraft Dashboard...${NC}"
|
|
|
|
# Check if mcnet network exists
|
|
if ! docker network ls | grep -q mcnet; then
|
|
echo -e "${BLUE}Creating mcnet network...${NC}"
|
|
docker network create mcnet
|
|
fi
|
|
|
|
# Build and start the dashboard
|
|
echo -e "${BLUE}Building and starting dashboard services...${NC}"
|
|
docker-compose -f docker-compose.dashboard.yml up -d --build
|
|
|
|
echo -e "${GREEN}✅ Dashboard is starting!${NC}"
|
|
echo -e "${GREEN}📊 Access the dashboard at: http://localhost:8080${NC}"
|
|
echo -e "${BLUE}📝 View logs: docker-compose -f docker-compose.dashboard.yml logs -f${NC}"
|
|
|