Restore build: directives alongside image: tags — allows both local build and registry pull

This commit is contained in:
2026-03-02 05:21:33 +00:00
parent 17ec444dcd
commit 1ea42bbb87

View File

@@ -115,6 +115,9 @@ services:
# P2: IaC Drift Detection (SaaS)
drift:
image: localhost:5000/dd0c-drift:latest
build:
context: ./02-iac-drift-detection/saas
dockerfile: Dockerfile
ports:
- "3002:3000"
environment:
@@ -131,6 +134,9 @@ services:
# P3: Alert Intelligence
alert:
image: localhost:5000/dd0c-alert:latest
build:
context: ./03-alert-intelligence
dockerfile: Dockerfile
ports:
- "3003:3000"
environment:
@@ -147,6 +153,9 @@ services:
# P4: Lightweight IDP / Service Catalog
portal:
image: localhost:5000/dd0c-portal:latest
build:
context: ./04-lightweight-idp
dockerfile: Dockerfile
ports:
- "3004:3000"
environment:
@@ -165,6 +174,9 @@ services:
# P5: AWS Cost Anomaly Detection
cost:
image: localhost:5000/dd0c-cost:latest
build:
context: ./05-aws-cost-anomaly
dockerfile: Dockerfile
ports:
- "3007:3000"
environment:
@@ -182,6 +194,9 @@ services:
# P6: Runbook Automation (SaaS)
run:
image: localhost:5000/dd0c-run:latest
build:
context: ./06-runbook-automation/saas
dockerfile: Dockerfile
ports:
- "3006:3000"
environment: