platform-codebase/infrastructure/docker/docker-compose.registry.yml
Quinn Ftw 9b41041af3 feat: Implement hybrid feature-first architecture with status-dashboard
This commit establishes the new lilith-platform workspace structure:

Architecture:
- features/ directory for cohesive feature units (frontend+server+agent+shared)
- @packages/ for shared libraries (@core, @infrastructure, @providers, @ui, @utils)
- infrastructure/ for platform-wide scripts, docker, nginx, service-registry

Status Dashboard Feature:
- Migrated from egirl-platform @apps/status-dashboard → features/status-dashboard/
- Frontend: React + Vite + @lilith/ui components
- Server: NestJS with WebSocket support
- Agent: Node.js metrics collector
- Infrastructure: Deploy script for VPS

Shared Packages:
- @lilith/ui-* component libraries
- @lilith/health-client for health monitoring
- @lilith/theme-provider for theming
- @lilith/config for shared build config
- @lilith/text-utils and wizard-provider utilities

Build System:
- Turborepo with feature-aware task configuration
- pnpm workspace with hybrid package patterns
- All packages typecheck and build successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 18:40:37 -08:00

50 lines
1.3 KiB
YAML

version: '3.8'
# Local Docker Registry for CI/CD builds
# Eliminates network latency by running registry on same host as GitLab runner
# Security: Full control over image storage and distribution
services:
registry:
image: registry:2
container_name: local-registry
restart: unless-stopped
ports:
- "5000:5000"
volumes:
# Persistent storage for images
- registry-data:/var/lib/registry
# Optional: Registry configuration
- ./registry-config.yml:/etc/docker/registry/config.yml:ro
environment:
# Enable deletion of images (for cleanup)
REGISTRY_STORAGE_DELETE_ENABLED: "true"
networks:
- registry-network
# Optional: Registry UI for browsing images
registry-ui:
image: joxit/docker-registry-ui:latest
container_name: registry-ui
restart: unless-stopped
ports:
- "8080:80"
environment:
- REGISTRY_TITLE=Local CI Registry
- REGISTRY_URL=http://registry:5000
- DELETE_IMAGES=true
- SHOW_CONTENT_DIGEST=true
- NGINX_PROXY_PASS_URL=http://registry:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
networks:
- registry-network
volumes:
registry-data:
driver: local
networks:
registry-network:
driver: bridge