Merge pull request #230 from AppFlowy-IO/doc/database

doc: update faq on external postgres
This commit is contained in:
Zack 2023-12-20 11:57:17 -08:00 committed by GitHub
commit 9c9e6b44fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -167,4 +167,5 @@ with your own in `nginx/ssl/` directory
## 5. FAQ
- How do I use a different `postgres`?
> You can set `APPFLOWY_DATABASE_URL` to another postgres url. The default url is using the postgres in docker compose.
> To do so, you need set `APPFLOWY_DATABASE_URL` to another postgres url. You also need to set `DATABASE_URL` to use the same postgres database.
The default url is using the postgres in docker compose, in service `appflowy_cloud` and `gotrue` respectively.