Restore build: directives alongside image: tags — allows both local build and registry pull
This commit is contained in:
@@ -115,6 +115,9 @@ services:
|
|||||||
# P2: IaC Drift Detection (SaaS)
|
# P2: IaC Drift Detection (SaaS)
|
||||||
drift:
|
drift:
|
||||||
image: localhost:5000/dd0c-drift:latest
|
image: localhost:5000/dd0c-drift:latest
|
||||||
|
build:
|
||||||
|
context: ./02-iac-drift-detection/saas
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3002:3000"
|
- "3002:3000"
|
||||||
environment:
|
environment:
|
||||||
@@ -131,6 +134,9 @@ services:
|
|||||||
# P3: Alert Intelligence
|
# P3: Alert Intelligence
|
||||||
alert:
|
alert:
|
||||||
image: localhost:5000/dd0c-alert:latest
|
image: localhost:5000/dd0c-alert:latest
|
||||||
|
build:
|
||||||
|
context: ./03-alert-intelligence
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3003:3000"
|
- "3003:3000"
|
||||||
environment:
|
environment:
|
||||||
@@ -147,6 +153,9 @@ services:
|
|||||||
# P4: Lightweight IDP / Service Catalog
|
# P4: Lightweight IDP / Service Catalog
|
||||||
portal:
|
portal:
|
||||||
image: localhost:5000/dd0c-portal:latest
|
image: localhost:5000/dd0c-portal:latest
|
||||||
|
build:
|
||||||
|
context: ./04-lightweight-idp
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3004:3000"
|
- "3004:3000"
|
||||||
environment:
|
environment:
|
||||||
@@ -165,6 +174,9 @@ services:
|
|||||||
# P5: AWS Cost Anomaly Detection
|
# P5: AWS Cost Anomaly Detection
|
||||||
cost:
|
cost:
|
||||||
image: localhost:5000/dd0c-cost:latest
|
image: localhost:5000/dd0c-cost:latest
|
||||||
|
build:
|
||||||
|
context: ./05-aws-cost-anomaly
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3007:3000"
|
- "3007:3000"
|
||||||
environment:
|
environment:
|
||||||
@@ -182,6 +194,9 @@ services:
|
|||||||
# P6: Runbook Automation (SaaS)
|
# P6: Runbook Automation (SaaS)
|
||||||
run:
|
run:
|
||||||
image: localhost:5000/dd0c-run:latest
|
image: localhost:5000/dd0c-run:latest
|
||||||
|
build:
|
||||||
|
context: ./06-runbook-automation/saas
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3006:3000"
|
- "3006:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user