CREATE DATABASE joylive_dashboard CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
3. Build and Run
# Build frontend and backend
make build-all
# Start the server
make serve
4. Access
Open your browser and navigate to http://localhost:8040. Default admin credentials:
Username: admin
Password: admin
Docker Deployment
1. Build Image
# Option 1: Using Makefile
make docker-build
# Option 2: Using script
./scripts/deploy.sh v1.0.0
2. Run Container
# Option 1: Using Docker Compose (recommended)
docker-compose up -d
# Option 2: Manual run
docker run -d -p 8040:8040 --name joylive joylivedashboard:latest
3. Access the Application
Open your browser and navigate to http://localhost:8040
Build Commands
# Build frontend
make build-frontend
# Build backend
make build
# Build frontend and backend
make build-all
# Build Docker image
make docker-build
# Build and push image
make docker-push
# Clean build artifacts
make clean
Configuration
Environment Configuration
frontend/.env.dev - Development environment
frontend/.env.prod - Production environment
Backend Configuration
Configuration files are located in the configs/ directory:
JoyLive-Dashboard
Introduction
A microservice governance console serving joylive-agent.
Dashboard
Real-time monitoring overview of microservice instances and overall system health.
Service List
View and manage all connected microservices, with quick access to route and gateway configuration.
Service Details
Drill into individual service details to inspect instance registration and health status across environments and swimlanes.
Circuit Breaker Policies
Configure automatic circuit-breaking policies for faulty dependencies, with flexible metric dimensions to prevent cascading failures.
Rate Limiting Policies
Flexible server-side and client-side rate limiting controls and protection strategies for traffic spikes.
Fault Injection
Simulate network delays or system failures to strengthen high-availability resilience of your microservice architecture.
Project Structure
This project uses an integrated frontend-backend architecture:
Quick Start
Local Development
1. Prerequisites
Make sure you have the following installed:
2. Configure Database
Create the database
joylive_dashboard:3. Build and Run
4. Access
Open your browser and navigate to
http://localhost:8040. Default admin credentials:adminadminDocker Deployment
1. Build Image
2. Run Container
3. Access the Application
Open your browser and navigate to
http://localhost:8040Build Commands
Configuration
Environment Configuration
frontend/.env.dev- Development environmentfrontend/.env.prod- Production environmentBackend Configuration
Configuration files are located in the
configs/directory:dev/- Development environment configurationprod/- Production environment configurationDeployment Architecture
FAQ
Q: How do I change the frontend API endpoint?
Modify
VITE_API_HTTPinfrontend/.env.prod, then rebuild.Q: How do I persist data?
When using Docker Compose, data is automatically mounted to the
./datadirectory.Q: How do I view logs?
Development Guide
Frontend Development
Backend Development
Code Generation
Related Projects
joylive-injector — A component to automatically inject
joylive-agentin cloud-native environments.joylive-agent — A Java microservice governance data-plane agent based on bytecode enhancement.
joylive-control-plane — A microservice governance policy for
joylive-agentto distribute control surface.License
This project is licensed under the Apache License. See the LICENSE file for details.