Platform.sh is now Upsun. Click here to learn more
Upsun Fixed User Documentation

source

Try Upsun for 15 days
After that, enjoy the same game-changing Upsun features for less with the First Project Incentive!¹ A monthly $19 perk!
Activate your 15-day trial
¹Terms and conditions apply. Only for Flexible Resource projects.

Contains information about the app’s source code and operations that can be run on it.

Optional in single-runtime and composable images.

The following table shows the properties that can be set in source:

Name Type Required Description
operations An operations dictionary Operations that can be applied to the source code. See source operations.
root string The path where the app code lives. Useful when you have multiple apps in a single project.
Single-runtime image: Defaults to the directory of the .platform.app.yaml file.
Composable image: Defaults to the root project directory.