Skip to content

Commit 8d1aa2d

Browse files
Update cloud-foundry-deploy-pad.md
1 parent 1c961aa commit 8d1aa2d

1 file changed

Lines changed: 22 additions & 21 deletions

File tree

content/en/docs/deployment/on-premises-design/cloud-foundry/cloud-foundry-deploy-pad.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,27 @@ To deploy your app to Cloud Foundry, perform the following steps:
4747
env:
4848
```
4949
50-
It should be a manifest like the following example
51-
52-
``` yaml
53-
applications:
54-
- name: mx-java-app
55-
path: <path-to-zip>
56-
memory: 1G
57-
buildpacks:
58-
- java_buildpack
59-
services:
60-
- <service instance_id to be bind>
61-
- <service instance_id to be bind>
62-
env:
63-
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 21.+}}'
64-
JBP_LOG_LEVEL: INFO
65-
JAVA_OPTS: >
66-
-Xmx512m
67-
-Xms512m
68-
-XX:MaxDirectMemorySize=20M
69-
-XX:MaxMetaspaceSize=128M
70-
```
50+
An example manifest file can look like the following:
51+
52+
``` yaml
53+
applications:
54+
- name: mx-java-app
55+
path: <path-to-zip>
56+
memory: 1G
57+
buildpacks:
58+
- java_buildpack
59+
services:
60+
- <service instance_id to be bind>
61+
- <service instance_id to be bind>
62+
env:
63+
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 21.+}}'
64+
JBP_LOG_LEVEL: INFO
65+
JAVA_OPTS: >
66+
-Xmx512m
67+
-Xms512m
68+
-XX:MaxDirectMemorySize=20M
69+
-XX:MaxMetaspaceSize=128M
70+
```
71+
7172
5. Run the `cf push` command.
7273
6. Verify that the Mendix app has started successfully.

0 commit comments

Comments
 (0)