Configure Docker registry integration for CHORUS Services

Registry Configuration:
- Updated docker-compose.yml to use registry.home.deepblack.cloud images
- Created build-and-push.sh script for automated image building/pushing
- Enhanced chorus.sh with registry operations (login, build, pull)
- Added docker-compose.dev.yml for development with local builds
- Added docker-compose.swarm.yml for production deployment

Production Features:
- Docker Swarm deployment with Traefik integration
- All services available at *.home.deepblack.cloud domains
- Production-grade resource limits and placement constraints
- SSL/TLS certificates via Let's Encrypt
- Load balancing and high availability

Development Features:
- ./chorus.sh dev - Local builds with live reloading
- ./chorus.sh build - Build and push to registry
- ./chorus.sh deploy - Production swarm deployment
- Registry authentication with credentials

Images stored at:
- registry.home.deepblack.cloud/tony/chorus-whoosh-backend:latest
- registry.home.deepblack.cloud/tony/chorus-whoosh-frontend:latest
- registry.home.deepblack.cloud/tony/chorus-bzzz-coordinator:latest
- registry.home.deepblack.cloud/tony/chorus-slurp-api:latest
- registry.home.deepblack.cloud/tony/chorus-slurp-rl-tuner:latest

Ready for both development and production deployment.
This commit is contained in:
tony
2025-08-01 09:23:26 +10:00
parent 2090a94f58
commit ecca86b0fe
6 changed files with 619 additions and 33 deletions

View File

@@ -3,7 +3,7 @@ version: '3.8'
services:
# WHOOSH - Orchestration Platform
whoosh-backend:
build: ./modules/whoosh/backend
image: registry.home.deepblack.cloud/tony/chorus-whoosh-backend:latest
container_name: chorus_whoosh_backend
ports:
- "8087:8000"
@@ -22,7 +22,7 @@ services:
- ./modules/whoosh/config:/app/config
whoosh-frontend:
build: ./modules/whoosh/frontend
image: registry.home.deepblack.cloud/tony/chorus-whoosh-frontend:latest
container_name: chorus_whoosh_frontend
ports:
- "3001:3000"
@@ -39,9 +39,7 @@ services:
# BZZZ - P2P Agent Coordination
bzzz-coordinator:
build:
context: ./modules/bzzz
dockerfile: Dockerfile
image: registry.home.deepblack.cloud/tony/chorus-bzzz-coordinator:latest
container_name: chorus_bzzz_coordinator
ports:
- "4001:4001" # libp2p port
@@ -58,7 +56,7 @@ services:
# SLURP - Context Management (HCFS)
slurp-api:
build: ./modules/slurp/hcfs-python
image: registry.home.deepblack.cloud/tony/chorus-slurp-api:latest
container_name: chorus_slurp_api
ports:
- "8088:8000"
@@ -74,9 +72,7 @@ services:
# RL Context SLURP (COOEE equivalent)
slurp-rl-tuner:
build:
context: ./modules/slurp
dockerfile: Dockerfile.rl-tuner
image: registry.home.deepblack.cloud/tony/chorus-slurp-rl-tuner:latest
container_name: chorus_slurp_rl_tuner
ports:
- "8089:8000"