Getting Started with Manifest
Manifest Tutorial
In this example we are going to modify the configuration of the simple application we used in our Getting started guide.
Updating the Manifest file
You'll see that we're defining several things in this YAML:
- The framework we are configuring (
node
) - The location of our custom log files (
["/tmp/mylog/*/*.log"]
)
Next, deploy your application and the new setting will take effect!
Defining a server for your component
The Manifest file gives you a lot of control over your components. For example, you can use the server
settings to specify the exact size and region for your application server. The YAML below is an example of this in action:
This would install your Node application on DigitalOcean, at their London data centre and on a 2CPU and 2GB cloud server.
- You can find the available values for
size
andregion
in our API documentation. - You can find the
key_name
for your cloud provider(s) listed on your Dashboard.
Editing the manifest file of an existing application may not necessarily result in changes to the deployed instance(s) of that application, even if the application is subsequently redeployed. See the Understanding Manifest Files section.
If you explicitly set the version of any component in your manifest file, we will respect that setting even if it conflicts with other system changes or upgrades (for example upgrading Ubuntu). If you are having trouble upgrading any component of your application, remember to check your manifest file to ensure you have not previously locked the version of that component or one of its dependents.