docs(demo): synchronize all documentation with 16-service stack
Fix all documentation to match the actual running stack. Every service count, port number, credential, network name, container name, and dependency is now accurate across all files. Key changes: - Remove all stale Portainer/portainer references (replaced by Dockhand) - Fix project name from tsysdevstack to kneldevstack everywhere - Fix volume name pattern (underscore not dash after project name) - Fix network names (add -network suffix, correct subnet in commands) - Fix Homepage category from Infrastructure to Developer Tools - Add companion services (ta-redis, ta-elasticsearch) to all service lists - Fix Dockhand dependency description (direct socket, not proxy) - Remove port 4005 from all host-facing health check loops and port tables - Fix broken commands (docker exec dockhand docker version, wrong volume globs) - Fix INFLUXDB_ADMIN_USER credential references from demo_admin to admin - Fix Grafana datasource user to match - Fix misleading "ports 4000-4018" range to explicit port list - Add Docker Socket Proxy internal-only notes where applicable - Update root AGENTS.md service categories to match compose labels 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
@@ -7,7 +7,7 @@ This document provides API endpoint information for all services in the stack.
|
||||
## Infrastructure Services APIs
|
||||
|
||||
### Docker Socket Proxy
|
||||
- **Base URL**: `http://localhost:4005`
|
||||
- **Base URL: http://docker-socket-proxy:2375 (internal only, not accessible from host)`
|
||||
- **API Version**: Docker Engine API
|
||||
- **Authentication**: None (restricted by proxy)
|
||||
- **Endpoints**:
|
||||
@@ -27,7 +27,7 @@ This document provides API endpoint information for all services in the stack.
|
||||
|
||||
### Dockhand
|
||||
- **Base URL**: `http://localhost:4007`
|
||||
- **Authentication**: Direct Docker API access
|
||||
- **Authentication**: Web UI with direct Docker socket access
|
||||
- **Features**:
|
||||
- Container lifecycle management
|
||||
- Compose stack orchestration
|
||||
@@ -156,10 +156,10 @@ This document provides API endpoint information for all services in the stack.
|
||||
### Docker Socket Proxy Example
|
||||
```bash
|
||||
# Get Docker version
|
||||
curl http://localhost:4005/version
|
||||
# curl http://localhost:4005/version (internal only)
|
||||
|
||||
# List containers
|
||||
curl http://localhost:4005/containers/json
|
||||
# curl http://localhost:4005/containers/json (internal only)
|
||||
```
|
||||
|
||||
### InfluxDB Example
|
||||
@@ -255,7 +255,7 @@ All services provide health check endpoints:
|
||||
### Testing APIs
|
||||
```bash
|
||||
# Test all health endpoints
|
||||
for port in 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4017 4018; do
|
||||
for port in 4000 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4017 4018; do
|
||||
echo "Testing port $port..."
|
||||
curl -f -s "http://localhost:$port/health" || \
|
||||
curl -f -s "http://localhost:$port/ping" || \
|
||||
|
||||
Reference in New Issue
Block a user