You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2024. It is now read-only.
| PORT | The port that will be used by Konga's server | - | 1337 |
92
+
| NODE_ENV | The environment |`production`,`development`|`development`|
93
+
| SSL_KEY_PATH | If you want to use SSL, this will be the absolute path to the .key file. Both `SSL_KEY_PATH` & `SSL_CRT_PATH` must be set. | - | null |
94
+
| SSL_CRT_PATH | If you want to use SSL, this will be the absolute path to the .crt file. Both `SSL_KEY_PATH` & `SSL_CRT_PATH` must be set. | - | null |
95
+
| KONGA_HOOK_TIMEOUT | The time in ms that Konga will wait for startup tasks to finish before exiting the process. | - | 60000 |
96
+
| DB_ADAPTER | The database that Konga will use. If not set, the localDisk db will be used. |`mongo`,`mysql`,`postgres`,`sqlserver`| - |
97
+
| DB_URI | The full db connection string. Depends on `DB_ADAPTER`. If this is set, no other DB related var is needed. | - | - |
98
+
| DB_HOST | If `DB_URI` is not specified, this is the database host. Depends on `DB_ADAPTER`. | - | localhost |
99
+
| DB_PORT | If `DB_URI` is not specified, this is the database port. Depends on `DB_ADAPTER`. | - | DB default. |
100
+
| DB_USER | If `DB_URI` is not specified, this is the database user. Depends on `DB_ADAPTER`. | - | - |
101
+
| DB_PASSWORD | If `DB_URI` is not specified, this is the database user's password. Depends on `DB_ADAPTER`. | - | - |
102
+
| DB_DATABASE | If `DB_URI` is not specified, this is the name of Konga's db. Depends on `DB_ADAPTER`. | - |`konga_database`|
103
+
| DB_PG_SCHEMA | If using postgres as a database, this is the schema that will be used. | - |`public`|
104
+
| KONGA_LOG_LEVEL | The logging level |`silly`,`debug`,`info`,`warn`,`error`|`debug` on dev environment & `warn` on prod. |
105
+
| TOKEN_SECRET | The secret that will be used to sign JWT tokens issued by Konga | - | - |
106
+
85
107
86
108
### Databases Integration
87
109
@@ -94,45 +116,42 @@ The application also supports some of the most popular databases out of the box:
94
116
1. MySQL
95
117
2. MongoDB
96
118
3. PostgresSQL
97
-
4. SQL Server
98
119
99
-
In order to use them, in your `/config/local.js` replace
| PORT | The port that will be used by Konga's server | - | 1337 |
233
-
| NODE_ENV | The environment |`production`,`development`|`development`|
234
-
| SSL_KEY_PATH | If you want to use SSL, this will be the absolute path to the .key file. Both `SSL_KEY_PATH` & `SSL_CRT_PATH` must be set. | - | null |
235
-
| SSL_CRT_PATH | If you want to use SSL, this will be the absolute path to the .crt file. Both `SSL_KEY_PATH` & `SSL_CRT_PATH` must be set. | - | null |
236
-
| KONGA_HOOK_TIMEOUT | The time in ms that Konga will wait for startup tasks to finish before exiting the process. | - | 60000 |
237
-
| DB_ADAPTER | The database that Konga will use. If not set, the localDisk db will be used. |`mongo`,`mysql`,`postgres`,`sqlserver`| - |
238
-
| DB_URI | The full db connection string. Depends on `DB_ADAPTER`. If this is set, no other DB related var is needed. | - | - |
239
-
| DB_HOST | If `DB_URI` is not specified, this is the database host. Depends on `DB_ADAPTER`. | - | localhost |
240
-
| DB_PORT | If `DB_URI` is not specified, this is the database port. Depends on `DB_ADAPTER`. | - | DB default. |
241
-
| DB_USER | If `DB_URI` is not specified, this is the database user. Depends on `DB_ADAPTER`. | - | - |
242
-
| DB_PASSWORD | If `DB_URI` is not specified, this is the database user's password. Depends on `DB_ADAPTER`. | - | - |
243
-
| DB_DATABASE | If `DB_URI` is not specified, this is the name of Konga's db. Depends on `DB_ADAPTER`. | - |`konga_database`|
244
-
| DB_PG_SCHEMA | If using postgres as a database, this is the schema that will be used. | - |`public`|
245
-
| KONGA_LOG_LEVEL | The logging level |`silly`,`debug`,`info`,`warn`,`error`|`debug` on dev environment & `warn` on prod. |
246
-
| TOKEN_SECRET | The secret that will be used to sign JWT tokens issued by Konga | - | - |
247
233
## Upgrading
248
234
In some cases a newer version of Konga may introduce new db tables, collections or changes in schemas.
249
235
The only thing you need to do is to start Konga in dev mode once so that the migrations will be applied.
0 commit comments