mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Delete README.md
This commit is contained in:
@ -1,17 +0,0 @@
|
|||||||
* Build the watchdog app which outputs fwatchdog
|
|
||||||
|
|
||||||
* Copy fwatchdog to the directory of each function you want to build.
|
|
||||||
|
|
||||||
* Create a service for each function:
|
|
||||||
|
|
||||||
```
|
|
||||||
# docker build -t catservice .
|
|
||||||
# docker service rm catservice ; docker service create --network=functions --name catservice catservice
|
|
||||||
```
|
|
||||||
|
|
||||||
* Consume it like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
# curl -X POST -d @$HOME/.ssh/id_rsa.pub -H "X-Function: catservice" localhost:8080/
|
|
||||||
ssh-rsa AAAAB3NzaC1yc2....
|
|
||||||
```
|
|
Reference in New Issue
Block a user