Functions/functions.yml

45 lines
943 B
YAML

version: 1.0
provider:
name: openfaas
gateway: http://pinky:8082
functions:
# busqueda:
# lang: python3-flask
# handler: ./busqueda
# image: ralsina/nombres_busqueda:latest
# historico:
# lang: python3-flask
# handler: ./historico
# image: ralsina/nombres_historico:latest
tapas:
lang: python3-flask
handler: ./tapas
image: ralsina/tapas:latest
c-historico:
lang: crystal-http
handler: ./c-historico
image: ralsina/c-historico:latest
build_args:
ADDITIONAL_PACKAGE: gnuplot
secrets:
- nombres-pass
- nombres-user
c-busqueda:
lang: crystal-http
handler: ./c-busqueda
image: ralsina/c-busqueda:latest
build_args:
ADDITIONAL_PACKAGE: gnuplot
secrets:
- nombres-pass
- nombres-user
iol:
lang: python3-fastapi
handler: ./iol
image: ralsina/iol:latest
secrets:
- iol-pass
- iol-user
- iol-api-secret