skygear.yaml. Configurations can be divided into two types, microservice and web hooks respectively.
deployments, while those of hooks are under the key
api_versiondeclares the API version. Use the value
deploymentscontains a list of deployment items. In the above sample, there are two micro-service deployment items, named
portkey specifies the TCP port the micro-service is listening for. Required.
commandkey specifies the command of a microservice. It will be translated to the
argskey of Kubernetes deployment.
environmentkey specifies the environment variables of a microservice item.
nameis optional, with use the Secret's name when not given.
hookskey. Each entry represents a web-hook handler.
pathkey specifies the location of web-hook handler. It can be an absolute URL (e.g.
https://example.com), or path (which would be resolved to absolute URL based on the app endpoint).