Skip to content

Instantly share code, notes, and snippets.

@eduardoromero
Last active September 24, 2017 05:51
Show Gist options
  • Select an option

  • Save eduardoromero/f7e7607ea244721671a8a0c84a3d64d3 to your computer and use it in GitHub Desktop.

Select an option

Save eduardoromero/f7e7607ea244721671a8a0c84a3d64d3 to your computer and use it in GitHub Desktop.
Serverless YAML for WebTask
service:
name: quick-api-with-webtask
provider:
name: webtasks
environment:
RETHINKDB_SERVER: "${env:RETHINKDB_SERVER, opt:rethinkdb-server, self:provider.defaults.RETHINKDB_SERVER}"
defaults:
RETHINKDB_SERVER: "127.0.0.1"
functions:
main:
handler: handler
plugins:
- '@webtask/serverless-webtasks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment