cryptpad persistence
This commit is contained in:
parent
71dfe2f0ea
commit
55b97aae90
2 changed files with 154 additions and 159 deletions
|
@ -7,22 +7,9 @@ module.exports = {
|
||||||
httpPort: 3000,
|
httpPort: 3000,
|
||||||
httpSafePort: 3001,
|
httpSafePort: 3001,
|
||||||
|
|
||||||
/* =====================
|
|
||||||
* Admin
|
|
||||||
* ===================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* CryptPad contains an administration panel. Its access is restricted to specific
|
|
||||||
* users using the following list.
|
|
||||||
* To give access to the admin panel to a user account, just add their public signing
|
|
||||||
* key, which can be found on the settings page for registered users.
|
|
||||||
* Entries should be strings separated by a comma.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
adminKeys: [
|
adminKeys: [
|
||||||
//"[cryptpad-user1@my.awesome.website/YZgXQxKR0Rcb6r6CmxHPdAGLVludrAF2lEnkbx1vVOo=]",
|
"[cyplo@notes.purrfect.estate/Ii+Y2Z5ZDAN2fFpAEQu93SDjQcWkSfY7eaSvhCJedX8=]",
|
||||||
],
|
],
|
||||||
*/
|
|
||||||
|
|
||||||
/* =====================
|
/* =====================
|
||||||
* STORAGE
|
* STORAGE
|
||||||
|
@ -187,5 +174,5 @@ module.exports = {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
installMethod: 'unspecified',
|
installMethod: 'unspecified',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,15 @@
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.cryptpad = {
|
virtualisation.oci-containers.containers.cryptpad = {
|
||||||
image = "promasu/cryptpad:nginx";
|
image = "promasu/cryptpad:nginx";
|
||||||
volumes = [ "${./cryptpad.config.js}:/cryptpad/config/config.js" ];
|
volumes = [
|
||||||
|
"${./cryptpad.config.js}:/cryptpad/config/config.js"
|
||||||
|
|
||||||
|
"cryptpad_blob:/cryptpad/blob"
|
||||||
|
"cryptpad_block:/cryptpad/block"
|
||||||
|
"cryptpad_customize:/cryptpad/customize"
|
||||||
|
"cryptpad_data:/cryptpad/data"
|
||||||
|
"cryptpad_data_files:/cryptpad/datastore"
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
CPAD_MAIN_DOMAIN = "notes.purrfect.estate";
|
CPAD_MAIN_DOMAIN = "notes.purrfect.estate";
|
||||||
CPAD_SANDBOX_DOMAIN = "notes-sandbox.purrfect.estate";
|
CPAD_SANDBOX_DOMAIN = "notes-sandbox.purrfect.estate";
|
||||||
|
|
Loading…
Reference in a new issue