-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-status.sh
More file actions
executable file
·51 lines (45 loc) · 2.29 KB
/
docker-status.sh
File metadata and controls
executable file
·51 lines (45 loc) · 2.29 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
#!/bin/bash
# =====================================================
# Bron Vault - Docker Status & URLs
# =====================================================
# Script to display service status and access URLs
# =====================================================
# Colors
GREEN='\033[0;32m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
echo -e "${CYAN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo -e "${CYAN}📊 Bron Vault Service Status${NC}"
echo -e "${CYAN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo ""
# Check service status
docker compose ps
echo ""
echo -e "${CYAN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo -e "${GREEN}📍 Access URLs:${NC}"
echo ""
echo -e " 🌐 ${YELLOW}Bron Vault App:${NC} http://localhost:3000"
echo -e " 📊 ${YELLOW}ClickHouse Play:${NC} http://localhost:8123/play"
echo -e " 🗄️ ${YELLOW}MySQL:${NC} localhost:3306"
echo -e " 📈 ${YELLOW}ClickHouse HTTP:${NC} http://localhost:8123"
echo ""
echo -e "${CYAN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo -e "${GREEN}🔐 Default Login Credentials:${NC}"
echo ""
echo -e " ${YELLOW}Email:${NC} admin@bronvault.local"
echo -e " ${YELLOW}Password:${NC} admin"
echo ""
echo -e " ${BLUE}ℹ️ Please change the password after first login for security.${NC}"
echo ""
echo -e "${CYAN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo ""
echo -e "${BLUE}💡 Useful Commands:${NC}"
echo ""
echo -e " View logs: ${YELLOW}docker compose logs -f${NC}"
echo -e " Stop services: ${YELLOW}docker compose down${NC}"
echo -e " Restart services: ${YELLOW}docker compose restart${NC}"
echo -e " Check status: ${YELLOW}./docker-status.sh${NC}"
echo ""