File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
docs/documentation/guides/self-hosting Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,11 @@ Both of these secrets should be set to the base URL of your fly application. For
74
74
75
75
3 . ` DIRECT_URL `
76
76
77
- This needs to be set to the database connection string that was printed to your terminal after the creation step above:
77
+ This needs to match the value of ` DATABASE_URL ` which was printed to your terminal after the creation step above:
78
78
79
79
``` sh
80
- Connection string: postgres://postgres:< PASSWORD> @< fly db name> .flycast:5432
80
+ The following secret was added to < app name> :
81
+ DATABASE_URL=postgres://postgres:< PASSWORD> @< fly db name> .flycast:5432/< app name> ? sslmode=disable
81
82
```
82
83
83
84
### Optional
@@ -111,7 +112,7 @@ fly secrets set \
111
112
SESSION_SECRET=< random string> \
112
113
LOGIN_ORIGIN=" https://<fly app name>.fly.dev" \
113
114
APP_ORIGIN=" https://<fly app name>.fly.dev" \
114
- DIRECT_URL=" postgres://postgres:<PASSWORD>@<fly db name>.flycast:5432" \
115
+ DIRECT_URL=" postgres://postgres:<PASSWORD>@<fly db name>.flycast:5432/<app name>?sslmode=disable " \
115
116
FROM_EMAIL=
" Acme Inc. <[email protected] >" \
116
117
REPLY_TO_EMAIL=
" Acme Inc. <[email protected] >" \
117
118
RESEND_API_KEY=< your API Key> \
You can’t perform that action at this time.
0 commit comments