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:
54
docker-compose.dev.yml
Normal file
54
docker-compose.dev.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
# Docker Compose Override for Development
|
||||
# This file provides local build configurations for development
|
||||
# Use: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
|
||||
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# Development overrides - builds locally instead of using registry
|
||||
whoosh-backend:
|
||||
build:
|
||||
context: ./modules/whoosh/backend
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./modules/whoosh/backend:/app
|
||||
- ./modules/whoosh/config:/app/config
|
||||
environment:
|
||||
- ENVIRONMENT=development
|
||||
- LOG_LEVEL=debug
|
||||
|
||||
whoosh-frontend:
|
||||
build:
|
||||
context: ./modules/whoosh/frontend
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./modules/whoosh/frontend:/app
|
||||
- /app/node_modules
|
||||
|
||||
bzzz-coordinator:
|
||||
build:
|
||||
context: ./modules/bzzz
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./modules/bzzz/config:/app/config
|
||||
- ./modules/bzzz/data:/app/data
|
||||
environment:
|
||||
- BZZZ_NODE_ENV=development
|
||||
- BZZZ_LOG_LEVEL=debug
|
||||
|
||||
slurp-api:
|
||||
build:
|
||||
context: ./modules/slurp/hcfs-python
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./modules/slurp/data:/app/data
|
||||
- ./modules/slurp/config:/app/config
|
||||
environment:
|
||||
- HCFS_LOG_LEVEL=debug
|
||||
|
||||
slurp-rl-tuner:
|
||||
build:
|
||||
context: ./modules/slurp
|
||||
dockerfile: Dockerfile.rl-tuner
|
||||
environment:
|
||||
- LOG_LEVEL=debug
|
||||
Reference in New Issue
Block a user