mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 17:26:47 +00:00
Move to healthcheck-backed image for base images
This commit is contained in:
parent
2941fee881
commit
f2172462bb
@ -94,7 +94,7 @@ services:
|
|||||||
|
|
||||||
# Uses `cat` to echo back response, fastest function to execute.
|
# Uses `cat` to echo back response, fastest function to execute.
|
||||||
echoit:
|
echoit:
|
||||||
image: functions/alpine:latest
|
image: functions/alpine:health
|
||||||
labels:
|
labels:
|
||||||
function: "true"
|
function: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -108,7 +108,7 @@ services:
|
|||||||
|
|
||||||
# Counts words in request with `wc` utility
|
# Counts words in request with `wc` utility
|
||||||
wordcount:
|
wordcount:
|
||||||
image: functions/alpine:latest
|
image: functions/alpine:health
|
||||||
labels:
|
labels:
|
||||||
function: "true"
|
function: "true"
|
||||||
com.faas.max_replicas: "10"
|
com.faas.max_replicas: "10"
|
||||||
@ -123,7 +123,7 @@ services:
|
|||||||
|
|
||||||
# Calculates base64 representation of request body.
|
# Calculates base64 representation of request body.
|
||||||
base64:
|
base64:
|
||||||
image: functions/alpine:latest
|
image: functions/alpine:health
|
||||||
labels:
|
labels:
|
||||||
function: "true"
|
function: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -137,7 +137,7 @@ services:
|
|||||||
|
|
||||||
# Decodes base64 representation of request body.
|
# Decodes base64 representation of request body.
|
||||||
decodebase64:
|
decodebase64:
|
||||||
image: functions/alpine:latest
|
image: functions/alpine:health
|
||||||
labels:
|
labels:
|
||||||
function: "true"
|
function: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user