mirror of
https://github.com/openfaas/faas.git
synced 2025-06-14 19:26:48 +00:00
parent
1e4b0e3c0b
commit
67bda365cd
@ -169,7 +169,12 @@ To override the Content-Type of all your responses set the `content_type` enviro
|
||||
|
||||
### I don't want to use the watchdog
|
||||
|
||||
This is an unsupported use-case for the OpenFaaS project however if your container exposes HTTP POST on port 8080 then the OpenFaaS API gateway and other tooling will manage your container.
|
||||
This is an unsupported use-case for the OpenFaaS project however if your container conforms to the requirements below then the OpenFaaS API gateway and other tooling will manage and scale your service.
|
||||
|
||||
You will need to provide a lock-file at `/tmp/.lock` so that the orchestration system can run healthchecks on your container. If you are using Docker Swarm make sure you provide a `HEALTHCHECK` instruction in your Dockerfile - samples are given in the `faas` repository.
|
||||
|
||||
* Expose TCP port 8080 over HTTP
|
||||
* Create `/tmp/.lock` or in whatever location responds to the OS tempdir syscall
|
||||
|
||||
### Tuning auto-scaling
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user