Files
animal/score.yaml
Scaffolder e8500e3093
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 1m42s
initial commit
Change-Id: I9a212410892986980114d61a6844b2a6e2c61f38
2026-03-27 15:48:35 +00:00

46 lines
821 B
YAML

apiVersion: score.dev/v1b1
metadata:
name: animals
containers:
app:
image: .
variables:
SPRING_PROFILES_ACTIVE: "dev"
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: 8080
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
resources:
limits:
memory: "512Mi"
cpu: "500m"
requests:
memory: "256Mi"
cpu: "100m"
service:
ports:
http:
port: 80
targetPort: 8080
resources:
env:
type: environment
dns:
type: dns
# ----- Uncomment to add a PostgreSQL database (deployment_profile: db-only or db+cache) -----
# db:
# type: postgres
# ----- Uncomment to add Redis cache (deployment_profile: db+cache) -----
# cache:
# type: redis