Deploying an OpenFaaS API with Docker Swarm (v1)
HTML-код
- Опубликовано: 22 фев 2018
- This video looks at how to deploy a Serverless API to Digital Ocean with OpenFaaS and Docker Swarm.
Repo - github.com/testdrivenio/openf...
Digital Ocean signup -
m.do.co/c/d8f211a4b4c2
Digital Ocean Access Token - www.digitalocean.com/communit...
Update: This asks for auth which is set by [default](docs.openfaas.com/deployment/docker-swarm/#20-deploy-the-stack)
As of OpenFaaS 0.8.6 basic authentication will be enabled by default when running ./deploy_stack.sh. If you need to disable it pass the flag --no-auth to the ./deploy_stack.sh script as above.
I had not heard of this. Thanks for posting!
have you tried it out?
Michael Herman not yet. Havent had any problem where faas is the obvious choice to solve it.
Why is JS being used instead of Python in this video for the Serverless example?
What do you mean? Why were you expecting it to be a Python-example?
Some of your videos cover server-side development using Python. Also Python is increasingly being preferred over JS for Serverless development ( read.acloud.guru/comparing-aws-lambda-performance-of-node-js-python-java-c-and-go-29c1163c2581 ).
It's just a toy app. I decided to do it in JS. I have a Python example here github.com/testdrivenio/openci