Revert docker build to one OS only
[e-mobility-charging-stations-simulator.git] / manifest-cf-template.yml
index aeb21df7a726832c077be2e7768d2a727b255cd1..3b9d4d7d8053cfb2bc2f0eb47da5d38db204123f 100644 (file)
@@ -1,14 +1,16 @@
 applications:
-  - name: charging-stations-simulator
+  - name: e-mobility-charging-stations-simulator
     memory: 1G
     disk_quota: 1G
     instances: 1
     buildpacks:
       - https://github.com/cloudfoundry/nodejs-buildpack
-    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/start.cjs
     env:
       # OPTIMIZE_MEMORY: true
       NODE_OPTIONS: --stack-trace-limit=1024 --max-old-space-size=768