name: orders-api
region: de
replicas: 1
build_cmd: npm ci
start_cmd: npm start
runtime:
  name: node@24
  port: 8081
  health_path: /healthz
resources:
  - name: db
    template: postgres:16
    database: orders
    username: orders_api
    password: secret://ORDERS_DB_PASSWORD
env:
  HOST: 0.0.0.0
  PORT: "8081"
  API_JWT_SECRET: secret://ORDERS_API_JWT_SECRET
# Adios injects DATABASE_URL for the managed Postgres resource.
