nest volumes not exposed via HTTP in 'data' folder for easier migration

pull/1/head
ansuz 5 years ago
parent 80f3175a0e
commit 69bfca52fa

@ -28,11 +28,8 @@ VOLUME /cryptpad/cfg
VOLUME /cryptpad/datastore VOLUME /cryptpad/datastore
VOLUME /cryptpad/customize VOLUME /cryptpad/customize
VOLUME /cryptpad/blobstage VOLUME /cryptpad/blobstage
VOLUME /cryptpad/pins
VOLUME /cryptpad/tasks
VOLUME /cryptpad/block VOLUME /cryptpad/block
VOLUME /cryptpad/blob VOLUME /cryptpad/blob
VOLUME /cryptpad/blobstage
VOLUME /cryptpad/data VOLUME /cryptpad/data
# Copy cryptpad and tini from the build container # Copy cryptpad and tini from the build container

@ -299,12 +299,12 @@ module.exports = {
* Pin requests are stored in a pin-store. The location of this store is * Pin requests are stored in a pin-store. The location of this store is
* defined here. * defined here.
*/ */
pinPath: './pins', pinPath: './data/pins',
/* if you would like the list of scheduled tasks to be stored in /* if you would like the list of scheduled tasks to be stored in
a custom location, change the path below: a custom location, change the path below:
*/ */
taskPath: './tasks', taskPath: './data/tasks',
/* if you would like users' authenticated blocks to be stored in /* if you would like users' authenticated blocks to be stored in
a custom location, change the path below: a custom location, change the path below:
@ -319,7 +319,7 @@ module.exports = {
/* CryptPad stores incomplete blobs in a 'staging' area until they are /* CryptPad stores incomplete blobs in a 'staging' area until they are
* fully uploaded. Set its location here. * fully uploaded. Set its location here.
*/ */
blobStagingPath: './blobstage', blobStagingPath: './data/blobstage',
/* CryptPad supports logging events directly to the disk in a 'logs' directory /* 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 * Set its location here, or set it to false (or nothing) if you'd rather not log

@ -25,10 +25,7 @@ services:
volumes: volumes:
- ./data/files:/cryptpad/datastore:rw - ./data/files:/cryptpad/datastore:rw
- ./data/customize:/cryptpad/customize:rw - ./data/customize:/cryptpad/customize:rw
- ./data/pins:/cryptpad/pins:rw
- ./data/blob:/cryptpad/blob:rw - ./data/blob:/cryptpad/blob:rw
- ./data/blobstage:/cryptpad/blobstage:rw
- ./data/tasks:/cryptpad/tasks:rw
- ./data/block:/cryptpad/block:rw - ./data/block:/cryptpad/block:rw
- ./data/config:/cryptpad/cfg:rw - ./data/config:/cryptpad/cfg:rw
- ./data/data:/cryptpad/data:rw - ./data/data:/cryptpad/data:rw

Loading…
Cancel
Save