1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
etherpad_ynh/conf/credentials.json
ericgaspar 5f915b4526
fix
2020-11-02 21:16:51 +01:00

50 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" : "postgres",
"dbSettings" : {
"user" : "__DB_NAME__",
"host" : "localhost",
"port" : 5432,
"password": "__DB_PWD__",
"database": "__DB_NAME__"
},
/*
* 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
}
}
}