applications:
- - name: charging-stations-simulator
+ - name: e-mobility-charging-stations-simulator
memory: 1G
- disk_quota: 1G
+ disk_quota: 4G
instances: 1
buildpacks:
- https://github.com/cloudfoundry/nodejs-buildpack
- # Comment out if you are using the web UI
- no-route: true
+ # 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.js
- # command: node -r source-map-support/register dist/httpd/ui/start.js
+ # debug deployed app development build
+ # command: node -r source-map-support/register dist/start.js
+ command: node dist/start.js
env:
# OPTIMIZE_MEMORY: true
NODE_OPTIONS: --stack-trace-limit=1024 --max-old-space-size=768