Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
When i have more than one file i get this error in logs:
“Zip file does not include main__”
When i have one file, everything is ok, because DO finds the main function himself.
I tried to fill “main” field in project.yml with entrypoint, but didn’t succeed. What is the format of entrypoint? sample.hello.hello.main ? Or hello.main ?
This is cool, I’m glad to see DigitalOcean offering Serverless functions. I haven’t used them before (yet) but I’m wondering about one thing… every time you want to change and deploy your function, you get a new endpoint for the new function correct? It involves some random hash code… what’s the best way to deal with this ever-changing endpoint when sharing to other 3rd party services and tools I might have? It would be annoying to always have to update those services with the new endpoint every time it changes.
I suppose I could write my own script that does the deploy, gets the new URL, and updates/shares it wherever necessary. Is that what people typically do?
@agarnett thanks for this post, but I’m wondering if there are any docs on the project.yml.
The DO format is obviously different than that of the other projects in the Serverless examples repository.
I know that I can see some of them when I run doctl serverless init, but they don’t see to be listed/documented anywhere.
And of course, right after I post that I find the resource.
It’s here, for any one else looking: https://docs.digitalocean.com/products/functions/reference/project-configuration/
Where is the complete documentation on project.yml? I am not able to configure auth through the yml file.
I have to say, after working with Serverless Functions for a week or so, in my opionion its nowhere near production ready. It’s brittle and the docs are laughably brief, and often wrong.
Is there a way to deploy Serverless Function like this in DigitalOcean using a custom runtime (Docker container)?