Adding a new service to your project happens in the services configuration file (.platform/services.yaml
) in your Git repository.
Configure your service in the following pattern:
.platform/services.yaml
SERVICE_NAME:
type: SERVICE_TYPE:VERSION
# Other options...
Service configuration is done within the services.yaml file, under the service.
An example service configuration for two databases might look like this:
.platform/services.yaml
database1:
type: mariadb:10.5
disk: 2048
database2:
type: postgresql:13
disk: 1024
Note: renaming a service is essentially removing old service and adding a new one, resulting in complete data loss for the old service.
To review all details and list of services, with available versions, please check our Docs page on how to add services.