- Created complete Next.js 15 teaser website with CHORUS brand styling - Implemented mobile-responsive 3D logo (128px mobile, 512px desktop) - Added proper Exo font loading via Next.js Google Fonts for iOS/Chrome compatibility - Built comprehensive early access form with GDPR compliance and rate limiting - Integrated PostgreSQL database with complete schema for lead capture - Added scroll indicators that auto-hide when scrolling begins - Optimized mobile modal forms with proper scrolling and submit button access - Deployed via Docker Swarm with Traefik SSL termination at chorus.services - Includes database migrations, consent tracking, and email notifications 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
175 lines
4.6 KiB
YAML
175 lines
4.6 KiB
YAML
services:
|
|
# WHOOSH - Orchestration Platform
|
|
whoosh-backend:
|
|
image: registry.home.deepblack.cloud/tony/chorus-whoosh-backend:latest
|
|
container_name: chorus_whoosh_backend
|
|
ports:
|
|
- "8087:8000"
|
|
environment:
|
|
- DATABASE_URL=postgresql://chorus:choruspass@postgres:5432/chorus_whoosh
|
|
- REDIS_URL=redis://redis:6379
|
|
- CORS_ORIGINS=http://localhost:3001,https://whoosh.home.deepblack.cloud
|
|
- ENVIRONMENT=development
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
networks:
|
|
- chorus_network
|
|
volumes:
|
|
- ./modules/whoosh/backend:/app
|
|
- ./modules/whoosh/config:/app/config
|
|
|
|
whoosh-frontend:
|
|
image: registry.home.deepblack.cloud/tony/chorus-whoosh-frontend:latest
|
|
container_name: chorus_whoosh_frontend
|
|
ports:
|
|
- "3001:3000"
|
|
environment:
|
|
- REACT_APP_API_URL=http://localhost:8087
|
|
- REACT_APP_WS_URL=ws://localhost:8087
|
|
depends_on:
|
|
- whoosh-backend
|
|
networks:
|
|
- chorus_network
|
|
volumes:
|
|
- ./modules/whoosh/frontend:/app
|
|
- /app/node_modules
|
|
|
|
# BZZZ - P2P Agent Coordination
|
|
bzzz-coordinator:
|
|
image: registry.home.deepblack.cloud/tony/chorus-bzzz-coordinator:latest
|
|
container_name: chorus_bzzz_coordinator
|
|
ports:
|
|
- "4001:4001" # libp2p port
|
|
- "8080:8080" # HTTP API port
|
|
environment:
|
|
- BZZZ_NODE_ENV=development
|
|
- BZZZ_LOG_LEVEL=info
|
|
networks:
|
|
- chorus_network
|
|
volumes:
|
|
- ./modules/bzzz/config:/app/config
|
|
- ./modules/bzzz/data:/app/data
|
|
|
|
# SLURP - Context Curator Service
|
|
slurp-curator:
|
|
image: registry.home.deepblack.cloud/tony/chorus-slurp-curator:latest
|
|
container_name: chorus_slurp_curator
|
|
ports:
|
|
- "8088:8000"
|
|
environment:
|
|
- SLURP_DATABASE_URL=postgresql://chorus:choruspass@postgres:5432/chorus_slurp
|
|
- SLURP_LOG_LEVEL=info
|
|
- SLURP_AUTH_ENABLED=true
|
|
- HYPERCORE_LOG_URL=http://hypercore-log:8000
|
|
- BZZZ_COORDINATOR_URL=http://bzzz-coordinator:8080
|
|
networks:
|
|
- chorus_network
|
|
volumes:
|
|
- slurp_data:/app/data
|
|
- ./modules/slurp/config:/app/config
|
|
depends_on:
|
|
- postgres
|
|
- bzzz-coordinator
|
|
|
|
# COOEE - RL Feedback System (part of SLURP)
|
|
slurp-rl-tuner:
|
|
image: registry.home.deepblack.cloud/tony/chorus-slurp-rl-tuner:latest
|
|
container_name: chorus_slurp_rl_tuner
|
|
ports:
|
|
- "8089:8000"
|
|
environment:
|
|
- RL_TUNER_DATABASE_URL=postgresql://chorus:choruspass@postgres:5432/chorus_rl_tuner
|
|
- SLURP_CURATOR_URL=http://slurp-curator:8000
|
|
- BZZZ_API_URL=http://bzzz-coordinator:8080
|
|
depends_on:
|
|
- postgres
|
|
- slurp-curator
|
|
- bzzz-coordinator
|
|
networks:
|
|
- chorus_network
|
|
|
|
# CHORUS Website
|
|
chorus-website:
|
|
image: registry.home.deepblack.cloud/tony/chorus-website:latest
|
|
container_name: chorus_website
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- DATABASE_URL=postgresql://chorus:choruspass@postgres:5432/chorus_website
|
|
- NEXT_TELEMETRY_DISABLED=1
|
|
depends_on:
|
|
- postgres
|
|
networks:
|
|
- chorus_network
|
|
volumes:
|
|
- ./modules/website/config:/app/config
|
|
profiles:
|
|
- website # Only start with: docker-compose --profile website up
|
|
|
|
# Shared Infrastructure
|
|
postgres:
|
|
image: postgres:15
|
|
container_name: chorus_postgres
|
|
environment:
|
|
- POSTGRES_DB=chorus
|
|
- POSTGRES_USER=chorus
|
|
- POSTGRES_PASSWORD=choruspass
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
|
|
networks:
|
|
- chorus_network
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: chorus_redis
|
|
ports:
|
|
- "6380:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
networks:
|
|
- chorus_network
|
|
|
|
# Monitoring Stack
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: chorus_prometheus
|
|
ports:
|
|
- "9092:9090"
|
|
volumes:
|
|
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml
|
|
- prometheus_data:/prometheus
|
|
networks:
|
|
- chorus_network
|
|
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
container_name: chorus_grafana
|
|
ports:
|
|
- "3002:3000"
|
|
environment:
|
|
- GF_SECURITY_ADMIN_PASSWORD=chorusadmin
|
|
volumes:
|
|
- grafana_data:/var/lib/grafana
|
|
- ./monitoring/grafana/dashboards:/etc/grafana/provisioning/dashboards
|
|
- ./monitoring/grafana/datasources:/etc/grafana/provisioning/datasources
|
|
networks:
|
|
- chorus_network
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
prometheus_data:
|
|
grafana_data:
|
|
slurp_data:
|
|
|
|
networks:
|
|
chorus_network:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 192.168.100.0/24 |