All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 55s
- chore: ingest source code 58 files from https://github.com/gothinkster/node-express-realworld-example-app - feat: add platform deployment artifacts - feat: add CI/CD workflow automation
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
apiVersion: score.dev/v1b1
|
|
containers:
|
|
reno-realworld-5:
|
|
image: .
|
|
variables:
|
|
DATABASE_URL: postgresql://${resources.db.username}:${resources.db.password}@${resources.db.hostname}:${resources.db.port}/${resources.db.database}
|
|
NODE_ENV: production
|
|
PORT: '3000'
|
|
OTEL_SERVICE_NAME: reno-realworld-5
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: service.name=reno-realworld-5,app=reno-realworld-5
|
|
OTEL_METRICS_EXPORTER: otlp
|
|
OTEL_TRACES_EXPORTER: otlp
|
|
OTEL_LOGS_EXPORTER: none
|
|
metadata:
|
|
annotations:
|
|
prometheus.io/path: /metrics
|
|
prometheus.io/port: '3000'
|
|
prometheus.io/scrape: 'true'
|
|
labels:
|
|
app: reno-realworld-5
|
|
backstage.io/kubernetes-id: reno-realworld-5
|
|
name: reno-realworld-5
|
|
resources:
|
|
db:
|
|
type: postgres
|
|
env:
|
|
type: environment
|
|
ingress:
|
|
params:
|
|
hostname: reno-realworld-5.apps.dev.crucible.kyndemo.live
|
|
name: reno-realworld-5
|
|
service_name: reno-realworld-5
|
|
service_port: 3000
|
|
type: workload-ingress
|
|
service:
|
|
ports:
|
|
http:
|
|
port: 3000
|
|
targetPort: 3000
|