feat: add platformsh config

This commit is contained in:
Jan Kohlbach 2024-08-06 09:39:52 +02:00
parent b006747a45
commit f4025098e9
4 changed files with 102 additions and 0 deletions

7
.platform/routes.yaml Normal file
View file

@ -0,0 +1,7 @@
"https://{default}/":
type: upstream
upstream: "app:http"
"https://www.{default}/":
type: redirect
to: "https://{default}/"

10
.platform/services.yaml Normal file
View file

@ -0,0 +1,10 @@
# The name given to the PostgreSQL service (lowercase alphanumeric only).
dbpostgres:
# The type of your service (postgresql), which uses the format
# 'type:version'. Be sure to consult the PostgreSQL documentation
# (https://docs.platform.sh/add-services/postgresql.html#supported-versions)
# when choosing a version. If you specify a version number which is not available,
# the CLI will return an error.
type: postgresql:15
# The disk attribute is the size of the persistent disk (in MB) allocated to the service.
disk: 2048