Fix build due to winston types definition fix
[e-mobility-charging-stations-simulator.git] / manifest-cf-template.yml
index 13129e75538154d9c7538a31185c5c8a028c4058..e5f15405915d91a4dc03b3d1cff6925e0072a905 100644 (file)
@@ -1,5 +1,5 @@
 applications:
-- name: sap-ev-simulator
+- name: charging-stations-simulator
   memory: 1G
   disk_quota: 1G
   instances: 1
@@ -7,6 +7,8 @@ applications:
   - https://github.com/cloudfoundry/nodejs-buildpack
   no-route: true
   health-check-type: process
-  command: node src/index.js
+  health-check-invocation-timeout: 10
+  command: node -r source-map-support/register dist/start.js
   env:
-    OPTIMIZE_MEMORY: true
+    # OPTIMIZE_MEMORY: true
+    NODE_OPTIONS: --stack-trace-limit=1024 --max-old-space-size=768