The Twelve-Factor App
The twelve-factor app is a methodology for writing software delivered as a service, which is what you are doing by pushing your code to Clever Cloud and for container deployment in general. By writing code following these principles, your application will be cloud ready by design.
As a lot has already been written on the subject, we strongly recommend that you read some of the following links to begin with this methodology:
Happy learning !