cryptpad-docker/MIGRATION.md
Adrian Nöthlich 55704cf34c
Add migrationguide, config for traefik and compose
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
2020-05-06 15:28:01 +02:00

1.6 KiB

Migration from version 3.16.0

Starting at version 3.17.0 Docker isn't part of the main repository anymore. The Docker deployment is community maintained and not officially supported.

With the new repository comes a reworked Docker image and reworked docker-compose files, which require manual intervention to keep working.

Notice: xwiki/cryptpad_ was removed from Dockerhub as Docker is not supported officially. Please use promasu/cryptpad which is automaticly build from this repository. See Dockerhub to get the suitable image for you. :latest should normally do the job for you, as it's the last tagged release on the main repository.

Migration steps

  1. Clone this repository. If you want to build the image yourself you have to pull the submodule. (git submodule update --init --recursive)

  2. Move the data and customize directories from the old location into the cryptpad-docker repository.

  3. Move the configuration from data/cfg/config.js to data/config.js. Consider taking a look at the current example config if there are missing or obsolet parameters in your configuration.

  4. CryptPad now uses a dedicated user inside the repository which has no permission to access the currently saved files. You need to execute sudo chown -R 4001:4001 data customize to set the correct permissions.

  5. See the README for general instructions on using this repository.