Skip to content

Commit 9a7564b

Browse files
authored
Add details about database url
1 parent 2510acd commit 9a7564b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Here are the available configuration options and their default values:
99
| variable | default | description |
1010
| --------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1111
| `listen_on` | 0.0.0.0:8080 | Interface and port on which the web server should listen |
12-
| `database_url` | sqlite://sqlpage.db?mode=rwc | Database connection URL |
12+
| `database_url` | sqlite://sqlpage.db?mode=rwc | Database connection URL, in the form `dbname://user:password@host:port/dbname`. Special characters in user and password should be [percent-encoded](https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding). |
1313
| `port` | 8080 | Like listen_on, but specifies only the port. |
1414
| `max_database_pool_connections` | PostgreSQL: 50<BR> MySql: 75<BR> SQLite: 16<BR> MSSQL: 100 | How many simultaneous database connections to open at most |
1515
| `database_connection_idle_timeout_seconds` | SQLite: None<BR> All other: 30 minutes | Automatically close database connections after this period of inactivity |

0 commit comments

Comments
 (0)