mirror of
https://github.com/openfaas/faas.git
synced 2025-06-12 18:26:49 +00:00
Add base64 decode sample function
This commit is contained in:
parent
6d921cac50
commit
6f869bc313
@ -135,6 +135,20 @@ services:
|
|||||||
no_proxy: "gateway"
|
no_proxy: "gateway"
|
||||||
https_proxy: $https_proxy
|
https_proxy: $https_proxy
|
||||||
|
|
||||||
|
# Decodes base64 representation of request body.
|
||||||
|
decodebase64:
|
||||||
|
image: alexellis2/faas-alpinefunction:latest
|
||||||
|
labels:
|
||||||
|
function: "true"
|
||||||
|
depends_on:
|
||||||
|
- gateway
|
||||||
|
networks:
|
||||||
|
- functions
|
||||||
|
environment:
|
||||||
|
fprocess: "base64 -d"
|
||||||
|
no_proxy: "gateway"
|
||||||
|
https_proxy: $https_proxy
|
||||||
|
|
||||||
# Converts body in (markdown format) -> (html)
|
# Converts body in (markdown format) -> (html)
|
||||||
markdown:
|
markdown:
|
||||||
image: alexellis2/faas-markdownrender:latest
|
image: alexellis2/faas-markdownrender:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user