Adding services is done by placing specifically formatted entries into the .platform/services.yaml
file stored in your project's git repository.
An example of a .platform/services.yaml
file with a MariaDB 10.5 and Redis 7.0 service is shown below:
db:
type: mariadb:10.5
disk: 2048
cache:
type: redis:7.0
Note: To grant your apps access to these services, you will need to configure Relationships in your apps' YAML configuration files.
For more information on this feature, please see the following page in the Platform.sh documentation: