No description
Find a file
Adrian Nöthlich 3687a95aa5
Bump cryptpad submodule
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
2020-12-20 19:03:36 +01:00
cryptpad@4648232797 Bump cryptpad submodule 2020-12-20 19:03:36 +01:00
customize Mount CryptPad as Git submodule 2020-05-05 06:11:05 +02:00
.dockerignore Add migrationguide, config for traefik and compose 2020-05-06 15:28:01 +02:00
.gitmodules Revert "Get cryptpad submodule via ssh" 2020-05-06 14:37:00 +02:00
docker-compose.yml Add migrationguide, config for traefik and compose 2020-05-06 15:28:01 +02:00
Dockerfile Prettify sed replacement for httpAddress 2020-10-17 22:56:37 +02:00
Dockerfile-alpine Add alpine image 2020-10-17 22:56:53 +02:00
MIGRATION.md Add migrationguide, config for traefik and compose 2020-05-06 15:28:01 +02:00
README.md Fix Docker CLI commands for local files 2020-05-16 20:44:05 +02:00
traefik2.yml Add migrationguide, config for traefik and compose 2020-05-06 15:28:01 +02:00

CryptPad docker

This repository has been created as part of an ongoing effort to separate docker from the CryptPad platform repo.

The officially recommended deployment method is to use the example.nginx.conf file provided by the core repo and to manage updates directly on the host system using git, npm (as provided by nvm) and bower.

Docker images and their supporting configuration files are provided as a community effort by those using them, with support provided by the core development team on a best-effort basis. Keep in mind that the core team neither uses nor tests Docker images, so your results may vary.

Migration

Please see the migration guide for further information on switching to this repository.

Usage

General notices

  • Mounted files and folders have to be owned by userid 4001. It is possible you have to run sudo chown -R 4001:4001 filename

Dockerfile

  • Run: docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad
  • Run with customizations: docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/customize:/cryptpad/customize promasu/cryptpad
  • Run with configuration: docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/config.js:/cryptpad/config/config.js promasu/cryptpad
  • Run with persistent data: docker run -d -p 3000:3000 -p 3001:3001 -v ${PWD}/data/blob:/cryptpad/blob -v ${PWD}/data/block:/cryptpad/block -v ${PWD}/customize:/cryptpad/customize -v ${PWD}/data/data:/cryptpad/data -v ${PWD}/data/files:/cryptpad/datastore promasu/cryptpad

Docker-compose

  • Run: docker-compose up
  • Run with traefik2 labels: docker-compose -f docker-compose.yml -f traefik2.yml up