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
7474
75753 . ` DIRECT_URL `
7676
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:
7878
7979``` 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
8182```
8283
8384### Optional
@@ -111,7 +112,7 @@ fly secrets set \
111112 SESSION_SECRET=< random string> \
112113 LOGIN_ORIGIN=" https://<fly app name>.fly.dev" \
113114 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 " \
115116 FROM_EMAIL=" Acme Inc. <hello@yourdomain.com>" \
116117 REPLY_TO_EMAIL=" Acme Inc. <reply@yourdomain.com>" \
117118 RESEND_API_KEY=< your API Key> \
You can’t perform that action at this time.
0 commit comments