Home

Awesome

OpenFaaS Classic templates

Build Status

To find out more about the OpenFaaS templates see the faas-cli.

Note: The templates are completely customizable - so if you want to alter them please do fork them and use faas template pull to make use of your updated versions.

Classic Templates

This repository contains the Classic OpenFaaS templates, but many more are available in the Template Store.

Most of the original Classic Templates are retained or backwards compatibility, but are deprecated.

See: faas-cli template store list to see which templates are both: recommended and official for the language you wish to use.

NameLanguageVersionLinux baseWatchdogLink
dockerfileDockerfileN/AAlpine LinuxclassicDockerfile template
goGo1.22Alpine LinuxclassicLegacy Go template (deprecated)
node18NodeJS18Alpine Linuxof-watchdogNodeJS template (deprecated)
node20NodeJS20Alpine Linuxof-watchdogNodeJS template
bun-expressBun1.0Alpine Linuxof-watchdogNodeJS template
nodeNodeJS20Alpine LinuxclassicLegacy NodeJS template (deprecated)
python3Python3Alpine LinuxclassicLegacy Python 3 template
python3-debianPython3Debian LinuxclassicLegacy Python 3 Debian template
python27Python2.7.18Alpine LinuxclassicPython 2.7 template (deprecated)
java11-vert-xJava and Vert.x11Debian GNU/Linuxof-watchdogJava LTS template
java11Java11Debian GNU/Linuxof-watchdogJava LTS template
rubyRuby2.7Alpine LinuxclassicRuby template
php7PHP7.4Alpine LinuxclassicPHP 7 template
php8PHP8.2Alpine LinuxclassicPHP 8 template
csharpC#N/ADebian GNU/Linux 9classicLegacy C# template (deprecated)

For more information on the templates check out the docs.

Classic vs of-watchdog templates

The current version of OpenFaaS templates use the original watchdog which forks processes - a bit like CGI. The newer watchdog of-watchdog is more similar to fastCGI/HTTP and should be used for any benchmarking or performance testing along with one of the newer templates. Contact the project for more information.

Submit your own template to the template store

This repository is for templates supported by the project maintainers, if you'd like to submit your own template to the OpenFaaS Template Store then checkout the store:

Contribute to this repository

See contributing guide.

License

This project is part of the OpenFaaS project licensed under the MIT License.