Migrate to my Cryptpad image
This commit is contained in:
parent
1a6371d8d5
commit
397a3fdfa9
3 changed files with 10 additions and 10 deletions
|
@ -39,7 +39,7 @@ in
|
|||
find node_modules -type f ! -path 'node_modules/gar/*' -executable -print | tee >(xargs -n 20 rm)
|
||||
|
||||
# Remove only office that IS BIG
|
||||
rm -rf www/onlyoffice
|
||||
rm -rf www/common/onlyoffice
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -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: './mnt/datastore/',
|
||||
filePath: './root/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: './mnt/data/archive',
|
||||
archivePath: './root/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: './mnt/data/pins',
|
||||
pinPath: './root/mnt/data/pins',
|
||||
|
||||
/* if you would like the list of scheduled tasks to be stored in
|
||||
a custom location, change the path below:
|
||||
*/
|
||||
taskPath: './mnt/data/tasks',
|
||||
taskPath: './root/mnt/data/tasks',
|
||||
|
||||
/* if you would like users' authenticated blocks to be stored in
|
||||
a custom location, change the path below:
|
||||
*/
|
||||
blockPath: './mnt/block',
|
||||
blockPath: './root/mnt/block',
|
||||
|
||||
/* CryptPad allows logged in users to upload encrypted files. Files/blobs
|
||||
* are stored in a 'blob-store'. Set its location here.
|
||||
*/
|
||||
blobPath: './mnt/blob',
|
||||
blobPath: './root/mnt/blob',
|
||||
|
||||
/* CryptPad stores incomplete blobs in a 'staging' area until they are
|
||||
* fully uploaded. Set its location here.
|
||||
*/
|
||||
blobStagingPath: './mnt/data/blobstage',
|
||||
blobStagingPath: './root/mnt/data/blobstage',
|
||||
|
||||
decreePath: './mnt/data/decrees',
|
||||
decreePath: './root/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
|
||||
|
|
|
@ -22,7 +22,7 @@ job "cryptpad" {
|
|||
task "main" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "superboum/cryptpad:vkbnygcq2bihcn6m4r9m134v5hdy29c4"
|
||||
image = "superboum/cryptpad:7l2fgdl9bfvf8s87rparamm9cvhb5ind"
|
||||
ports = [ "unsafe", "sandbox" ]
|
||||
|
||||
volumes = [
|
||||
|
|
Loading…
Reference in a new issue