# The checkout repository's own file. # # Applied with `--scope application --application-key checkout`. `CATALOG_URL` references a # database this application does not own: it is granted `catalog` in the environment baseline, so # the same logical database and the same credential serve both consumers. version: "1.18" applications: checkout: runtime: python runtimeVersion: "3.15" source: root: . build: install: [python, -m, pip, install, --no-cache-dir, --target, .hosting-deps, -r, requirements.txt] run: command: [.hosting-deps/bin/gunicorn, app:app] port: 8000 healthPath: /health env: CATALOG_URL: {database: catalog, field: url} CATALOG_API_TOKEN: {secret: internal_api_token} PAYMENTS_API_KEY: {secret: payments_api_key} PORT: "8000"