Prepare a Cloud Foundry Application for Deployment
You can deploy a Cloud Foundry application to Oracle Application Container Cloud Service with minimal changes to how it’s packaged, using your existing manifest.yml file.
You can deploy your Cloud Foundry application to Oracle Application Container Cloud Service as is, if it meets all of these conditions:
-
The
manifest.ymlfile contains information for only one application. -
The
manifest.ymlfile contains no service bindings to databases. -
The
manifest.ymlfile is located in the root directory of the application ZIP file to be uploaded. -
All dependencies are included in a single file, either the application main class or a JAR file. Unlike Cloud Foundry, Oracle Application Container Cloud Service doesn’t download dependencies.
If your application requires a service binding to a database, you must specify it in a deployment.json file. See Create Metadata Files. All other conditions are requirements.
Oracle Application Container Cloud Service interprets the manifest.yml file as follows:
-
Supported
manifest.ymlattributes arename,memory,instances,path,env, andtimeout. -
The launch command is automatically generated based on the
pathattribute. -
The
memoryvalue is rounded up to the nearest gigabyte. -
Service bindings and unsupported options are ignored.
-
If present,
manifest.jsonanddeployment.jsonfiles override equivalent options in themanifest.ymlfile.
To learn more about how to deploy an application, see Deploy an Application.