From 07a8b629799ef8175f6db79d38bdffbd564d5ac3 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:19:31 +0000 Subject: [PATCH] add missing DIRECT_URL info --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index cc79f7d..812dcd3 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,14 @@ All of these secrets should be generated 16 byte random strings, which you can e openssl rand -hex 16 | pbcopy ``` +#### DIRECT_URL (required) + +This needs to be set to the database connection string that was printed to your terminal after the creation step above: + +```sh +Connection string: postgres://postgres:@.flycast:5432 +``` + #### LOGIN_ORIGIN and APP_ORIGIN (required) Both of these secrets should be set to the base URL of your fly application. For example `https://trigger-v2-fly-demo.fly.dev` @@ -82,6 +90,7 @@ fly secrets set \ SESSION_SECRET= \ LOGIN_ORIGIN="https://.fly.dev" \ APP_ORIGIN="https://.fly.dev" \ + DIRECT_URL="postgres://postgres:@.flycast:5432" \ FROM_EMAIL="Acme Inc. " \ REPLY_TO_EMAIL="Acme Inc. " \ RESEND_API_KEY= \