mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
/*
|
|
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
|
|
*/
|
|
|
|
/* An Example of MySQL Configuration */
|
|
"dbType" : "redis",
|
|
"dbSettings" : {
|
|
"host" : "localhost",
|
|
"port" : 6379,
|
|
"database": "__REDIS_DB__"
|
|
},
|
|
|
|
/*
|
|
* 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__": {
|
|
"password": "__PASSWORD__",
|
|
"is_admin": true
|
|
}
|
|
}
|
|
}
|