diff options
author | KokaKiwi <kokakiwi+git@kokakiwi.net> | 2024-04-18 18:45:07 +0200 |
---|---|---|
committer | KokaKiwi <kokakiwi+git@kokakiwi.net> | 2024-04-18 18:45:07 +0200 |
commit | d41e10bd25e54ae46b4c35f677abb593fde4c60d (patch) | |
tree | 0a9496da35f1648a4c81a99534201716e551956f /cluster | |
parent | 96ead9a597c50f4a789ef1a950a7bca2b884a550 (diff) | |
download | nixcfg-d41e10bd25e54ae46b4c35f677abb593fde4c60d.tar.gz nixcfg-d41e10bd25e54ae46b4c35f677abb593fde4c60d.zip |
cluster/prod(app): Upgrade CryptPad to 2024.3.0
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/prod/app/cryptpad/config/config.js | 16 | ||||
-rw-r--r-- | cluster/prod/app/cryptpad/deploy/cryptpad.hcl | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/cluster/prod/app/cryptpad/config/config.js b/cluster/prod/app/cryptpad/config/config.js index d6a0473..6b16996 100644 --- a/cluster/prod/app/cryptpad/config/config.js +++ b/cluster/prod/app/cryptpad/config/config.js @@ -188,7 +188,7 @@ module.exports = { * Specify a directory where files should be stored. * It will be created automatically if it does not already exist. */ - filePath: './root/mnt/datastore/', + filePath: '/mnt/datastore/', /* CryptPad offers the ability to archive data for a configurable period * before deleting it, allowing a means of recovering data in the event @@ -197,36 +197,36 @@ module.exports = { * To set the location of this archive directory to a custom value, change * the path below: */ - archivePath: './root/mnt/data/archive', + archivePath: '/mnt/data/archive', /* CryptPad allows logged in users to request that particular documents be * stored by the server indefinitely. This is called 'pinning'. * Pin requests are stored in a pin-store. The location of this store is * defined here. */ - pinPath: './root/mnt/data/pins', + pinPath: '/mnt/data/pins', /* if you would like the list of scheduled tasks to be stored in a custom location, change the path below: */ - taskPath: './root/mnt/data/tasks', + taskPath: '/mnt/data/tasks', /* if you would like users' authenticated blocks to be stored in a custom location, change the path below: */ - blockPath: './root/mnt/block', + blockPath: '/mnt/block', /* CryptPad allows logged in users to upload encrypted files. Files/blobs * are stored in a 'blob-store'. Set its location here. */ - blobPath: './root/mnt/blob', + blobPath: '/mnt/blob', /* CryptPad stores incomplete blobs in a 'staging' area until they are * fully uploaded. Set its location here. */ - blobStagingPath: './root/mnt/data/blobstage', + blobStagingPath: '/mnt/data/blobstage', - decreePath: './root/mnt/data/decrees', + decreePath: '/mnt/data/decrees', /* CryptPad supports logging events directly to the disk in a 'logs' directory * Set its location here, or set it to false (or nothing) if you'd rather not log diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl index 0d8ac5f..bec260d 100644 --- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl +++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl @@ -1,7 +1,7 @@ job "cryptpad" { datacenters = ["neptune"] type = "service" - + group "cryptpad" { count = 1 @@ -26,16 +26,16 @@ job "cryptpad" { } config { - image = "superboum/cryptpad:0p3s44hjh4s1x55kbwkmywmwmx4wfyb8" + image = "kokakiwi/cryptpad:2024.3.0" ports = [ "http" ] volumes = [ "/mnt/ssd/cryptpad:/mnt", - "secrets/config.js:/etc/cryptpad/config.js", + "secrets/config.js:/cryptpad/config.js", ] } env { - CRYPTPAD_CONFIG = "/etc/cryptpad/config.js" + CRYPTPAD_CONFIG = "/cryptpad/config.js" } template { |