mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
chore: Add documentation for DATABASE_URL environment variable (#1146)
This commit is contained in:
@@ -6,7 +6,15 @@ title: "Environment Variables"
|
|||||||
|
|
||||||
### Database configuration
|
### Database configuration
|
||||||
|
|
||||||
Use the following values in database.yml which lives inside `config` directory.
|
You can set Postgres connection URI as `DATABASE_URL` in the environment to connect to the database.
|
||||||
|
|
||||||
|
The URI is of the format
|
||||||
|
|
||||||
|
```bash
|
||||||
|
postgresql://[user[:password]@][netloc][:port][,...][/dbname][?param1=value1&...]
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, use the following values in database.yml which lives inside `config` directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
development:
|
development:
|
||||||
|
|||||||
Reference in New Issue
Block a user