Skip to content

Commit 899d2fb

Browse files
authored
Merge pull request #991 from supertokens/feat/add-detail-about-postgres-connection-url-in-core-self-hosted
2 parents 0fe430d + fbd58d7 commit 899d2fb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/deployment/self-host-supertokens.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ You also need to make the database listen on all the IPs of the local machine.
302302
Edit the `postgresql.conf` configuration file and set the value of `listen_addresses` to `0.0.0.0`.
303303
:::
304304

305+
:::caution
306+
It is important to use the `postgresql://` scheme designator in the PostgreSQL Connection URI. Using `postgres://` will lead to a startup error.
307+
:::
308+
305309
```bash
306310

307311
docker run \
@@ -358,6 +362,11 @@ mysql_database_name: "supertokens"
358362
</DatabaseTabs.TabItem>
359363
360364
<DatabaseTabs.TabItem value="postgresql">
365+
366+
:::caution
367+
It is important to use the `postgresql://` scheme designator in the PostgreSQL Connection URI. Using `postgres://` will lead to a startup error.
368+
:::
369+
361370
```yaml
362371
# You need to add the following to the config.yaml file.
363372
# The file path can be found by running the "supertokens --help" command

0 commit comments

Comments
 (0)