It’s basically four keys: name, image, min_size (optional), and config.
The config key contains the cloud-config, tutorial here: https://www.digitalocean.com/community/tutorials/an-introduc...
Example app.yml with more stuff: https://github.com/churchio/onebody/blob/master/app.yml