faas/stack.yml
Alex Ellis (VMware) 75f05ca38e Add skip_build to sample YAML
The sample YAML is for deploying only and not for building, for
building enter the sample-functions folder.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-24 22:36:20 +01:00

44 lines
1.0 KiB
YAML

provider:
name: faas
gateway: http://localhost:8080 # can be a remote server
functions:
# Pass a username as an argument to find how many images user has pushed to Docker Hub.
hubstats:
lang: dockerfile
image: functions/hubstats:latest
skip_build: true
# Node.js gives OS info about the node (Host)
nodeinfo:
lang: dockerfile
image: functions/nodeinfo:latest
skip_build: true
# Uses `cat` to echo back response, fastest function to execute.
echoit:
lang: dockerfile
image: functions/alpine:latest
fprocess: "cat"
skip_build: true
# Counts words in request with `wc` utility
wordcount:
lang: dockerfile
image: functions/alpine:latest
fprocess: "wc"
skip_build: true
# Calculates base64 representation of request body.
base64:
lang: dockerfile
image: functions/alpine:latest
fprocess: "base64"
skip_build: true
# Converts body in (markdown format) -> (html)
markdown:
lang: dockerfile
image: functions/markdown-render:latest
skip_build: true