X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=manifest-cf-template.yml;h=a7d07501739c05d270c36bae35eb62eaef72ecb1;hb=abe9e9dd3d72acc384fa2d3acd434f0053d8c61e;hp=13129e75538154d9c7538a31185c5c8a028c4058;hpb=4b5ff95c0efb7b298401c23de71f03197151bf00;p=e-mobility-charging-stations-simulator.git diff --git a/manifest-cf-template.yml b/manifest-cf-template.yml index 13129e75..a7d07501 100644 --- a/manifest-cf-template.yml +++ b/manifest-cf-template.yml @@ -1,12 +1,15 @@ applications: -- name: sap-ev-simulator - memory: 1G - disk_quota: 1G - instances: 1 - buildpacks: - - https://github.com/cloudfoundry/nodejs-buildpack - no-route: true - health-check-type: process - command: node src/index.js - env: - OPTIMIZE_MEMORY: true + - name: e-mobility-charging-stations-simulator + memory: 1G + disk_quota: 4G + instances: 1 + buildpacks: + - https://github.com/cloudfoundry/nodejs-buildpack + # no-route: true + routes: + - route: e-mobility-charging-stations-simulator.cfapps.sap.hana.ondemand.com + health-check-type: process + command: node -r source-map-support/register dist/start.mjs + env: + # OPTIMIZE_MEMORY: true + NODE_OPTIONS: --stack-trace-limit=1024 --max-old-space-size=768