mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Config tweak for samples
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -22,5 +22,7 @@ COPY --from=builder /tmp /tmp
|
||||
|
||||
ENV fprocess="/main"
|
||||
|
||||
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
|
||||
|
||||
CMD ["/fwatchdog"]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alexellis2/faas-alpinefunction:latest
|
||||
FROM functions/alpine:latest
|
||||
|
||||
# Populate example here
|
||||
ENV fprocess="wc"
|
||||
|
@ -7,6 +7,8 @@ functions:
|
||||
lang: dockerfile
|
||||
handler: ./AlpineFunction
|
||||
image: functions/alpine:latest
|
||||
environment:
|
||||
fprocess: "cat"
|
||||
|
||||
apikeyprotected:
|
||||
lang: dockerfile
|
||||
@ -85,6 +87,8 @@ functions:
|
||||
lang: dockerfile
|
||||
handler: ./WordCountFunction
|
||||
image: functions/wordcount:latest
|
||||
environment:
|
||||
fprocess: "wc"
|
||||
|
||||
nmap:
|
||||
lang: dockerfile
|
||||
|
Reference in New Issue
Block a user