X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=manifest-cf-template.yml;h=1fd2dcd83a4b3fcf952bfb5b055cc89d12df96fa;hb=78202038ffd2aca15aa97f45bc66ba42f40f2ec4;hp=052c276f44d71313133d59953a27747cc69dd5ce;hpb=b3ed85984685280c4af723033d362d44129677a9;p=e-mobility-charging-stations-simulator.git diff --git a/manifest-cf-template.yml b/manifest-cf-template.yml index 052c276f..1fd2dcd8 100644 --- a/manifest-cf-template.yml +++ b/manifest-cf-template.yml @@ -1,12 +1,16 @@ 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 dist/start.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 + health-check-invocation-timeout: 10 + command: node -r source-map-support/register dist/start.cjs + env: + # OPTIMIZE_MEMORY: true + NODE_OPTIONS: --stack-trace-limit=1024 --max-old-space-size=768