# The storefront repository's own file. # # Applied with `--scope application --application-key storefront`. It declares the version, the # target application and nothing shared: no sibling member, no database, no secret, no storage # volume. Everything it references is declared once in the environment's baseline. version: "1.18" applications: storefront: runtime: node runtimeVersion: "26" source: root: . build: install: [npm, ci] command: [npm, run, build] run: command: [node, dist/server.js] port: 3000 healthPath: /health env: NODE_ENV: production DATABASE_URL: {database: catalog, field: url} CATALOG_API_TOKEN: {secret: internal_api_token} ASSET_ENDPOINT: {storage: endpoint} ASSET_REGION: {storage: region} ASSET_BUCKET_NAME: {storage: bucket} ASSET_ACCESS_KEY_ID: {storage: access-key-id} ASSET_SECRET_ACCESS_KEY: {storage: secret-access-key}