2020-10-20 13:46:23 +02:00
|
|
|
/*
|
|
|
|
This file must be valid JSON. But comments are allowed
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* The type of the database.
|
|
|
|
*
|
|
|
|
* You can choose between many DB drivers, for example: dirty, postgres,
|
|
|
|
* sqlite, mysql.
|
|
|
|
*
|
|
|
|
* You shouldn't use "dirty" for for anything else than testing or
|
|
|
|
* development.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Database specific settings are dependent on dbType, and go in dbSettings.
|
|
|
|
* Remember that since Etherpad 1.6.0 you can also store these informations in
|
|
|
|
* credentials.json.
|
|
|
|
*
|
|
|
|
* For a complete list of the supported drivers, please refer to:
|
|
|
|
* https://www.npmjs.com/package/ueberdb2
|
|
|
|
*/
|
|
|
|
|
2022-02-06 12:32:56 +01:00
|
|
|
"dbType" : "redis",
|
2020-10-20 13:46:23 +02:00
|
|
|
"dbSettings" : {
|
2022-02-28 15:48:11 +01:00
|
|
|
"host" : "127.0.0.1",
|
2022-02-06 12:32:56 +01:00
|
|
|
"port" : 6379,
|
|
|
|
"database": "__REDIS_DB__"
|
2020-10-20 13:46:23 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Users for basic authentication.
|
|
|
|
*
|
|
|
|
* is_admin = true gives access to /admin.
|
|
|
|
* If you do not uncomment this, /admin will not be available!
|
|
|
|
*
|
|
|
|
* WARNING: passwords should not be stored in plaintext in this file.
|
|
|
|
* If you want to mitigate this, please install ep_hash_auth and
|
|
|
|
* follow the section "secure your installation" in README.md
|
|
|
|
*/
|
|
|
|
|
|
|
|
"users": {
|
|
|
|
"__ADMIN__": {
|
2023-12-11 07:36:54 +01:00
|
|
|
// 1) "password" can be replaced with "hash" if you install ep_hash_auth
|
|
|
|
// 2) please note that if password is null, the user will not be created
|
2020-10-20 13:46:23 +02:00
|
|
|
"password": "__PASSWORD__",
|
|
|
|
"is_admin": true
|
|
|
|
}
|
2020-11-02 21:16:51 +01:00
|
|
|
}
|
2020-10-20 13:46:23 +02:00
|
|
|
}
|