Update README.md to match actual docker-compose.swarm.yml ports
- Update service URLs to reflect actual ports: 8087, 3001, 3002, 9091, 5433, 6380 - Fix API documentation URLs to use correct backend port - Update management commands to use Docker Swarm instead of docker-compose - Fix troubleshooting commands for Docker Swarm services - Update health check URLs to use correct ports 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
44
README.md
44
README.md
@@ -25,10 +25,12 @@ cd /home/tony/AI/projects/hive
|
|||||||
```
|
```
|
||||||
|
|
||||||
### 2. Access Services
|
### 2. Access Services
|
||||||
- **🌐 Hive Dashboard**: https://hive.home.deepblack.cloud
|
- **🌐 Hive Dashboard**: https://hive.home.deepblack.cloud (port 3001)
|
||||||
- **📡 API Documentation**: https://hive.home.deepblack.cloud/api/docs
|
- **📡 API Documentation**: https://hive.home.deepblack.cloud/api/docs (port 8087)
|
||||||
- **📊 Grafana Monitoring**: https://hive.home.deepblack.cloud/grafana (admin/hiveadmin)
|
- **📊 Grafana Monitoring**: https://hive.home.deepblack.cloud/grafana (admin/hiveadmin) (port 3002)
|
||||||
- **🔍 Prometheus Metrics**: https://hive.home.deepblack.cloud/prometheus
|
- **🔍 Prometheus Metrics**: https://hive.home.deepblack.cloud/prometheus (port 9091)
|
||||||
|
- **🗄️ Database**: localhost:5433 (PostgreSQL)
|
||||||
|
- **🔄 Redis**: localhost:6380
|
||||||
|
|
||||||
### 3. Default Credentials
|
### 3. Default Credentials
|
||||||
- **Grafana**: admin / hiveadmin
|
- **Grafana**: admin / hiveadmin
|
||||||
@@ -112,43 +114,45 @@ cd /home/tony/AI/projects/hive
|
|||||||
### Service Management
|
### Service Management
|
||||||
```bash
|
```bash
|
||||||
# View all service logs
|
# View all service logs
|
||||||
docker-compose logs -f
|
docker service logs hive_hive-backend -f
|
||||||
|
|
||||||
# View specific service logs
|
# View specific service logs
|
||||||
docker-compose logs -f hive-backend
|
docker service logs hive_hive-frontend -f
|
||||||
|
|
||||||
# Restart services
|
# Restart services (remove and redeploy)
|
||||||
docker-compose restart
|
docker stack rm hive && docker stack deploy -c docker-compose.swarm.yml hive
|
||||||
|
|
||||||
# Stop all services
|
# Stop all services
|
||||||
docker-compose down
|
docker stack rm hive
|
||||||
|
|
||||||
# Rebuild and restart
|
# Rebuild and restart
|
||||||
docker-compose up -d --build
|
docker build -t anthonyrawlins/hive-backend:latest ./backend
|
||||||
|
docker build -t anthonyrawlins/hive-frontend:latest ./frontend
|
||||||
|
docker stack deploy -c docker-compose.swarm.yml hive
|
||||||
```
|
```
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
```bash
|
```bash
|
||||||
# Access backend shell
|
# Access backend shell
|
||||||
docker-compose exec hive-backend bash
|
docker exec -it $(docker ps -q -f name=hive_hive-backend) bash
|
||||||
|
|
||||||
# Access database
|
# Access database
|
||||||
docker-compose exec postgres psql -U hive -d hive
|
docker exec -it $(docker ps -q -f name=hive_postgres) psql -U hive -d hive
|
||||||
|
|
||||||
# View Redis data
|
# View Redis data
|
||||||
docker-compose exec redis redis-cli
|
docker exec -it $(docker ps -q -f name=hive_redis) redis-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
### Monitoring
|
### Monitoring
|
||||||
```bash
|
```bash
|
||||||
# Check service health
|
# Check service health
|
||||||
curl http://localhost:8000/health
|
curl http://localhost:8087/health
|
||||||
|
|
||||||
# Get system status
|
# Get system status
|
||||||
curl http://localhost:8000/api/status
|
curl http://localhost:8087/api/status
|
||||||
|
|
||||||
# View Prometheus metrics
|
# View Prometheus metrics
|
||||||
curl http://localhost:8000/api/metrics
|
curl http://localhost:8087/api/metrics
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📁 Project Structure
|
## 📁 Project Structure
|
||||||
@@ -302,12 +306,12 @@ Hive was created by consolidating these existing projects:
|
|||||||
### Documentation
|
### Documentation
|
||||||
- **📋 PROJECT_PLAN.md**: Comprehensive project overview
|
- **📋 PROJECT_PLAN.md**: Comprehensive project overview
|
||||||
- **🏗️ ARCHITECTURE.md**: Technical architecture details
|
- **🏗️ ARCHITECTURE.md**: Technical architecture details
|
||||||
- **🔧 API Docs**: http://localhost:8000/docs (when running)
|
- **🔧 API Docs**: http://localhost:8087/docs (when running)
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
- **Logs**: `docker-compose logs -f`
|
- **Logs**: `docker service logs hive_hive-backend -f`
|
||||||
- **Health Check**: `curl http://localhost:8000/health`
|
- **Health Check**: `curl http://localhost:8087/health`
|
||||||
- **Agent Status**: Check Hive dashboard at http://localhost:3000
|
- **Agent Status**: Check Hive dashboard at https://hive.home.deepblack.cloud
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user