Type object
File match .platform.app.yml .platform.app.yaml **/.platform.app.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/platform-sh-application/latest.json
Source https://raw.githubusercontent.com/platformsh/platformify/refs/heads/main/validator/schema/platformsh.application.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

resources object
Default: null
2 nested properties
base_memory integer
Default: 64
memory_ratio integer
Default: 128
size string
Default: "AUTO"
disk integer
Default: null
access Record<string, string>
Default:
{
  "ssh": "contributor"
}
relationships Record<string, string | null | object>
Default:
{}
mounts Record<string, object>
Default:
{}
timezone string
Default: null
variables Record<string, object>
Default:
{}
firewall object
Default: null
1 nested properties
outbound object[]
Default:
[]
name string
type string
runtime object
Default:
{}
preflight object
Default:
{
  "enabled": true,
  "ignored_rules": []
}
2 nested properties
enabled boolean required
ignored_rules string[]
Default:
[]
dependencies Record<string, object>
Default:
{}
build object
Default:
{
  "flavor": null,
  "caches": {}
}
2 nested properties
flavor string
Default: null
caches Record<string, object>
Default:
{}
source object
Default:
{
  "operations": {},
  "root": null
}
2 nested properties
root string
Default: null
operations Record<string, object>
Default:
{}
web object
Default:
{
  "locations": {}
}
19 nested properties
firewall object
1 nested properties
outbound object[]
Default:
[]
variables Record<string, object>
timezone string
mounts Record<string, object>
relationships Record<string, string | null | object>
Default:
{}
access Record<string, string>
disk integer
size string
resources object
2 nested properties
base_memory integer
Default: 64
memory_ratio integer
Default: 128
locations Record<string, object>
Default:
{}
commands object
3 nested properties
start string required
pre_start string
post_start string
upstream object
2 nested properties
socket_family string
Default: "tcp"
protocol string
Default: null
document_root string
passthru string
index_files string[]
whitelist string[]
blacklist string[]
expires integer | string
move_to_root boolean
Default: false
hooks object
Default:
{}
3 nested properties
build string
Default: null
deploy string
Default: null
post_deploy string
Default: null
crons Record<string, object>
Default:
{}
workers Record<string, object>
Default:
{}
additional_hosts Record<string, string>
stack string | object | string | object[]

One of

1. variant
2. variant