From f4258db89d96ccee5310c71bebee91d9712d3142 Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Mon, 29 May 2023 16:51:56 +0800 Subject: [PATCH] docs(self-host): document instructions to add new functions --- apps/docs/pages/guides/self-hosting/docker.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/docs/pages/guides/self-hosting/docker.mdx b/apps/docs/pages/guides/self-hosting/docker.mdx index d789a0e9ee1..d1382bdf9f9 100644 --- a/apps/docs/pages/guides/self-hosting/docker.mdx +++ b/apps/docs/pages/guides/self-hosting/docker.mdx @@ -68,6 +68,10 @@ Update the `.env` file with your own secrets. In particular, these are required: The Docker setup doesn't include a management database for managing users and logins. If you plan to deploy the Studio to the web we suggest you put it behind a web proxy with Basic Auth or hide it behind a VPN. +## Setting up Edge Functions + +Your Functions are stored in `volumes/functions`. The default setup has a `hello` Function that you can invoke on `http://localhost:8000/functions/v1/hello`. You can add new Functions as `volumes/functions//index.ts`. + ## Configuration Each system can be [configured](../self-hosting#configuration) to suit your particular use-case.