This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
esp8266-temperature/sensors-input/function.yaml

22 lines
455 B
YAML

apiVersion: "nuclio.io/v1beta1"
kind: "Function"
metadata:
name: esp8266-temperature-input
namespace: nuclio
spec:
runtime: "nodejs"
handler: "handler"
build:
registry: registry.lab.inf3.xyz
commands:
- "npm install --global moment"
triggers:
http:
maxWorkers: 2
kind: http
attributes:
ingresses:
second:
host: apis.lab.inf3.xyz
paths:
- /esp8266/sensors