Switch to Brian's registry at 192.168.86.11:30095, add CI build+push+deploy jobs

- All services pull from 192.168.86.11:30095 instead of localhost:5000
- Removed self-hosted registry container (Brian runs his own)
- CI workflows: test → build → push to registry → deploy
- build-push.sh and watch-loop.sh updated with new registry address
This commit is contained in:
2026-03-02 05:28:35 +00:00
parent 1ea42bbb87
commit 6b79d3cbc9
8 changed files with 83 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# dd0c CI Build & Push to Local Registry
# Builds Docker images for all Node services and pushes to localhost:5000
# Builds Docker images for all Node services and pushes to 192.168.86.11:30095
#
# Usage:
# ./build-push.sh # Build all services
@@ -9,7 +9,7 @@
set -euo pipefail
REGISTRY="${REGISTRY:-localhost:5000}"
REGISTRY="${REGISTRY:-192.168.86.11:30095}"
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'

View File

@@ -47,14 +47,6 @@ services:
volumes:
- meili_data:/meili_data
# --- Local Docker Registry ---
registry:
image: registry:2
ports:
- "5000:5000"
volumes:
- registry_data:/var/lib/registry
restart: unless-stopped
# --- dd0c Products ---
# P1: LLM Cost Router (Rust — API server)
@@ -114,7 +106,7 @@ services:
# P2: IaC Drift Detection (SaaS)
drift:
image: localhost:5000/dd0c-drift:latest
image: 192.168.86.11:30095/dd0c-drift:latest
build:
context: ./02-iac-drift-detection/saas
dockerfile: Dockerfile
@@ -133,7 +125,7 @@ services:
# P3: Alert Intelligence
alert:
image: localhost:5000/dd0c-alert:latest
image: 192.168.86.11:30095/dd0c-alert:latest
build:
context: ./03-alert-intelligence
dockerfile: Dockerfile
@@ -152,7 +144,7 @@ services:
# P4: Lightweight IDP / Service Catalog
portal:
image: localhost:5000/dd0c-portal:latest
image: 192.168.86.11:30095/dd0c-portal:latest
build:
context: ./04-lightweight-idp
dockerfile: Dockerfile
@@ -173,7 +165,7 @@ services:
# P5: AWS Cost Anomaly Detection
cost:
image: localhost:5000/dd0c-cost:latest
image: 192.168.86.11:30095/dd0c-cost:latest
build:
context: ./05-aws-cost-anomaly
dockerfile: Dockerfile
@@ -193,7 +185,7 @@ services:
# P6: Runbook Automation (SaaS)
run:
image: localhost:5000/dd0c-run:latest
image: 192.168.86.11:30095/dd0c-run:latest
build:
context: ./06-runbook-automation/saas
dockerfile: Dockerfile
@@ -213,4 +205,3 @@ services:
volumes:
pg_data:
meili_data:
registry_data:

View File

@@ -9,7 +9,7 @@ set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"
REGISTRY="${REGISTRY:-localhost:5000}"
REGISTRY="${REGISTRY:-192.168.86.11:30095}"
LOCK="/tmp/dd0c-watch.lock"
# Prevent concurrent runs