Skip to content

Commit 54d423a

Browse files
committed
Updated doc for sqlite
1 parent 5da6c97 commit 54d423a

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.jenkins/config-sqlite.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
"client": "sqlite3",
66
"connection": {
77
"filename": "/data/database.sqlite"
8-
},
9-
"pool": {
10-
"min": 0,
11-
"max": 1,
12-
"createTimeoutMillis": 3000,
13-
"acquireTimeoutMillis": 30000,
14-
"idleTimeoutMillis": 30000,
15-
"reapIntervalMillis": 1000,
16-
"createRetryIntervalMillis": 100,
17-
"propagateCreateError": false
188
}
199
}
2010
}

docs/setup/README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,31 @@ Here's an example configuration for `mysql` (or mariadb) that is compatible with
2323
}
2424
```
2525

26+
Alternatively if you would like to use a Sqlite database file:
27+
28+
```json
29+
{
30+
"database": {
31+
"engine": "knex-native",
32+
"knex": {
33+
"client": "sqlite3",
34+
"connection": {
35+
"filename": "/data/database.sqlite"
36+
}
37+
}
38+
}
39+
}
40+
```
41+
2642
Once you've created your configuration file it's easy to mount it in the docker container.
2743

2844
**Note:** After the first run of the application, the config file will be altered to include generated encryption keys unique to your installation. These keys
2945
affect the login and session management of the application. If these keys change for any reason, all users will be logged out.
3046

3147

32-
### Database
48+
### MySQL Database
3349

34-
This app doesn't come with a database, you have to provide one yourself. Currently only `mysql/mariadb` is supported for the minimum versions:
50+
If you opt for the MySQL configuration you will have to provide the database server yourself. You can also use MariaDB. Here are the minimum supported versions:
3551

3652
- MySQL v5.7.8+
3753
- MariaDB v10.2.7+

0 commit comments

Comments
 (0)