Sign inSign up

nicholaswilde/cryptpad

By nicholaswilde

Updated about 4 years ago

A Docker image for Cryptpad.

Image
1

10K+

nicholaswilde/cryptpad repository overview

Cryptpad

Docker Image Version (latest by date) Docker Pulls GitHub hadolint yamllint pre-commit

A Docker image for Cryptpad.

Requirements

Usage

docker-compose
---
version: "2.1"
services:
  cryptpad:
    image: nicholaswilde/cryptpad
    container_name: cryptpad
    environment:
      - TZ=username #optional
      - PUID=1000   #optional
      - PGID=1000   #optional
    ports:
      - 3000:3000
    restart: unless-stopped
docker cli
$ docker run -d \
  --name=cryptpad \
  -e TZ=username `# optional` \
  -e PUID=token  `# optional` \
  -e PGID=port   `# optional` \
  -p 3000:3000 \
  --restart unless-stopped \
  nicholaswilde/cryptpad

Build

Check that you can build the following:

$ docker buildx ls
NAME/NODE    DRIVER/ENDPOINT             STATUS  PLATFORMS
mybuilder *  docker-container
  mybuilder0 unix:///var/run/docker.sock running linux/amd64, linux/arm64, linux/arm/v7

If you are having trouble building arm images on a x86 machine, see this blog post.

$ make build

Pre-commit hook

If you want to automatically generate README.md files with a pre-commit hook, make sure you install the pre-commit binary, and add a .pre-commit-config.yaml file to your project. Then run:

pre-commit install
pre-commit install-hooks

Currently, this only works on amd64 systems.

Tag summary

Content type

Image

Digest

Size

443.4 MB

Last updated

about 4 years ago

docker pull nicholaswilde/cryptpad