Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ The entry in the application's `/server/datasources.json` will look like this:
"mydb": {
"name": "mydb",
"connector": "postgresql"

"host": "mydbhost",
"port": 5432,
"url": "postgres://admin:admin@myhost/db",
"database": "db1",
"password": "admin",
"user": "admin"
"port": 5432,
"url": "postgres://admin:admin@mydbhost:5432/db1?ssl=false",
"database": "db1",
"password": "admin",
"user": "admin",
"ssl": false
}
```

Expand All @@ -55,15 +55,16 @@ Example of `datasource.json`:
"mypostgresdb": {
"host": "mydbhost",
"port": 5432,
"url": "postgres://admin:admin@myhost/db",
"url": "postgres://admin:password1@mydbhost:5432/db1?ssl=false",
"database": "db1",
"password": "password1",
"name": "mypostgresdb",
"user": "admin",
"connector": "postgresql",
"min": 5,
"max": 200,
"idleTimeoutMillis": 60000
"idleTimeoutMillis": 60000,
"ssl": false
}
}
```
Expand Down Expand Up @@ -139,6 +140,11 @@ Check out [node-pg-pool](https://github.com/brianc/node-pg-pool) and [node postg
<td>Integer</td>
<td>Maximum time a client in the pool has to stay idle before closing it</td>
</tr>
<tr>
<td>ssl</td>
<td>Boolean</td>
<td>Whether to try SSL/TLS to connect to server</td>
</tr>
</tbody>
</table>

Expand Down