Skip to content

Commit 358c04a

Browse files
Merge pull request #11173 from mruiserrmendix/patch-16
Include example manifest for Cloud Foundry deployment
2 parents 9552564 + 8d1aa2d commit 358c04a

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

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

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,28 @@ To deploy your app to Cloud Foundry, perform the following steps:
4646
services:
4747
env:
4848
```
49-
49+
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+
5072
5. Run the `cf push` command.
5173
6. Verify that the Mendix app has started successfully.

0 commit comments

Comments
 (0)