Platform.sh is a next-generation Platform-as-a-Service (PaaS) that offers both a hosting application and services, like MySQL, PostgreSQL, and Kafka, through the infrastructure-as-code concept. Platform.sh manages everything—from hosting to global deployment and support—so developers can focus on creating amazing new apps, features and what matters most -- faster delivery.
The following files and additions make the framework work. If using this project as a reference for your own existing project, replicate the changes below to your project.
.platform/routes.yaml: Platform.sh allows you to define the routes.
.platform/services.yaml: Platform.sh allows you to completely define and configure the topology and services you want to use on your project.
.platform.app.yaml: You control your application and the way it will be built and deployed on Platform.sh via a single configuration file.
- An additional library dependency,
platformsh/config-reader-java, has been added. It provides convenience wrappers for accessing the Platform.sh environment variables.