X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=manifest-cf-template.yml;h=3b9d4d7d8053cfb2bc2f0eb47da5d38db204123f;hb=3a13fc92f2bc5236dcde66fe5e79e0cea89f1c3d;hp=91fc9172c2e69435b1078ba8fc0953ef39ec6db1;hpb=40bf08886d77ad912505cead049ac047779aea44;p=e-mobility-charging-stations-simulator.git diff --git a/manifest-cf-template.yml b/manifest-cf-template.yml index 91fc9172..3b9d4d7d 100644 --- a/manifest-cf-template.yml +++ b/manifest-cf-template.yml @@ -1,14 +1,16 @@ applications: -- name: charging-stations-simulator - memory: 1G - disk_quota: 1G - instances: 1 - buildpacks: - - https://github.com/cloudfoundry/nodejs-buildpack - no-route: true - health-check-type: process - health-check-invocation-timeout: 30 - command: node -r source-map-support/register dist/start.js - env: - # OPTIMIZE_MEMORY: true - NODE_OPTIONS: --max-old-space-size=768 + - name: e-mobility-charging-stations-simulator + memory: 1G + disk_quota: 1G + 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