docs: add documentation for all file formats dokku uses
Some files - those maintained by external organizations - have a very light treatment and solely point to the upstream documentation to reduce any issues creating examples/documentation for them that may differ in the future. Closes #7315
This commit is contained in:
16
docs/appendices/file-formats/lambda-yml.md
Normal file
16
docs/appendices/file-formats/lambda-yml.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# lambda.yml
|
||||
|
||||
The `lambda.yml` file is used to configure a Lambda application.
|
||||
|
||||
```yaml
|
||||
---
|
||||
build_image: mlupin/docker-lambda:dotnetcore3.1-build
|
||||
builder: dotnet
|
||||
run_image: mlupin/docker-lambda:dotnetcore3.1
|
||||
```
|
||||
|
||||
## Fields
|
||||
|
||||
`build_image`: A docker image that is accessible by the docker daemon. The `build_image` should be based on an existing Lambda image - builders may fail if they cannot run within the specified `build_image`. The build will fail if the image is inaccessible by the docker daemon.
|
||||
`builder`: The name of a builder. This may be used if multiple builders match and a specific builder is desired. If an invalid builder is specified, the build will fail.
|
||||
`run_image`: A docker image that is accessible by the docker daemon. The `run_image` should be based on an existing Lambda image - built images may fail to start if they are not compatible with the produced artifact. The generation of the `run_image` will fail if the image is inaccessible by the docker daemon.
|
||||
Reference in New Issue
Block a user