Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openfaas/templates
OpenFaaS Classic templates
https://github.com/openfaas/templates
classic faas openfaas serverless templates watchdog
Last synced: 4 days ago
JSON representation
OpenFaaS Classic templates
- Host: GitHub
- URL: https://github.com/openfaas/templates
- Owner: openfaas
- License: mit
- Created: 2017-11-28T10:51:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T11:42:51.000Z (3 months ago)
- Last Synced: 2024-08-01T13:34:33.003Z (3 months ago)
- Topics: classic, faas, openfaas, serverless, templates, watchdog
- Language: JavaScript
- Homepage: https://www.openfaas.com
- Size: 387 KB
- Stars: 276
- Watchers: 8
- Forks: 228
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - openfaas/templates - OpenFaaS Classic templates (Dockerfile)
README
# OpenFaaS Classic templates
[![Build Status](https://github.com/openfaas/templates/workflows/ci-only/badge.svg?branch=master)](https://github.com/openfaas/templates/actions)
To find out more about the OpenFaaS templates see the [faas-cli](https://github.com/openfaas/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.
| Name | Language | Version | Linux base | Watchdog | Link
|:-----|:---------|:--------|:-----------|:---------|:----
| dockerfile | Dockerfile | N/A | Alpine Linux | classic | [Dockerfile template](https://github.com/openfaas/templates/tree/master/template/dockerfile)
| go | Go | 1.22 | Alpine Linux | classic | [Legacy Go template (deprecated)](https://github.com/openfaas/templates/tree/master/template/go)
| node18 | NodeJS | 18 | Alpine Linux | of-watchdog | [NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node18)
| node20 | NodeJS | 20 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/node20)
| bun-express | Bun | 1.0 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/bun-express)
| node | NodeJS | 20 | Alpine Linux | classic | [Legacy NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node)
| python3 | Python | 3 | Alpine Linux | classic | [Legacy Python 3 template](https://github.com/openfaas/templates/tree/master/template/python3)
| python3-debian | Python | 3 | Debian Linux | classic | [Legacy Python 3 Debian template](https://github.com/openfaas/templates/tree/master/template/python3-debian)
| python27 | Python | 2.7.18 | Alpine Linux | classic | [Python 2.7 template (deprecated)](https://github.com/openfaas/templates/tree/master/template/python27)
| java11-vert-x | Java and [Vert.x](https://vertx.io/) | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java11-vert-x)
| java11 | Java | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java11)
| ruby | Ruby | 2.7 | Alpine Linux | classic| [Ruby template](https://github.com/openfaas/templates/tree/master/template/ruby)
| php7 | PHP | 7.4 | Alpine Linux | classic | [PHP 7 template](https://github.com/openfaas/templates/tree/master/template/php7)
| php8 | PHP | 8.2 | Alpine Linux | classic | [PHP 8 template](https://github.com/openfaas/templates/tree/master/template/php8)
| csharp | C# | N/A | Debian GNU/Linux 9 | classic | [Legacy C# template (deprecated)](https://github.com/openfaas/templates/tree/master/template/csharp)For more information on the templates check out the [docs](https://docs.openfaas.com/cli/templates/).
### 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](https://github.com/openfaas/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:
* [OpenFaaS Store](https://github.com/openfaas/store/)
### Contribute to this repository
See [contributing guide](https://github.com/openfaas/templates/blob/master/CONTRIBUTING.md).
### License
This project is part of the OpenFaaS project licensed under the MIT License.