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.yml
file contains information for only one application. -
The
manifest.yml
file contains no service bindings to databases. -
The
manifest.yml
file 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.yml
attributes arename
,memory
,instances
,path
,env
, andtimeout
. -
The launch command is automatically generated based on the
path
attribute. -
The
memory
value is rounded up to the nearest gigabyte. -
Service bindings and unsupported options are ignored.
-
If present,
manifest.json
anddeployment.json
files override equivalent options in themanifest.yml
file.
To learn more about how to deploy an application, see Deploy an Application.