Add initial Azure Functions support, clean up gitignore

This commit is contained in:
Essem 2022-04-17 10:40:56 -05:00
parent dd7bd6b4cc
commit 6bf0537c29
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
29 changed files with 267 additions and 65 deletions

View file

@ -43,5 +43,12 @@ TMP_DOMAIN=
# Port for serving metrics. Metrics served are compatible with Prometheus.
METRICS=
# Set this to true if you want to use the external image API script, located in api/index.js
API=false
# The image API type to be used
# Set this to `none` to process all images locally
# Set this to `ws` if you want to use the external image API script, located in api/index.js
# Set this to `azure` to use the Azure Functions API
API_TYPE=none
# If API_TYPE is `azure`, set this to your Azure webhook URL
AZURE_URL=
# If API_TYPE is `azure`, set an optional password for webhook responses
AZURE_PASS=