A role to provision Cryptpad as a Docker Compose service, compatible with Traefik.
Find a file
2024-01-13 14:24:14 +01:00
defaults Adjusted variables and docker-compose file to account for multitenancy setups. 2024-01-13 14:24:14 +01:00
handlers Initial commit 2020-04-12 00:17:39 +02:00
meta Initial commit 2020-04-12 00:17:39 +02:00
tasks Added install paths and new default values. 2024-01-13 14:22:58 +01:00
templates Adjusted variables and docker-compose file to account for multitenancy setups. 2024-01-13 14:24:14 +01:00
tests Initial commit 2020-04-12 00:17:39 +02:00
vars Initial commit 2020-04-12 00:17:39 +02:00
.travis.yml Initial commit 2020-04-12 00:17:39 +02:00
LICENSE Initial commit 2020-04-12 00:17:39 +02:00
README.md Adjusted variables and docker-compose file to account for multitenancy setups. 2024-01-13 14:24:14 +01:00

Cryptpad (Docker-Compose)

A single-instance Cryptpad server that can be run behind Traefik.

Requirements

Role Variables

Variable Description Default
cryptpad_install_user The user who is going to manage/run the Docker Compose services {{ ansible_user }}
cryptpad_install_path The location where the service should be deployed /home/{{ cryptpad_install_user }}
cryptpad_multitenant_label A label (unique accross all instances on this host) identifying the tenant
cryptpad_virtual_host The virtual host that is e.g. used by Traefik, usually part of the public url localhost
cryptpad_safe_virtual_host See above, and: this additonal domain is used together with cryptpad_virtual_host for additional security and must not be the same! More docs are in the config.js template
cryptpad_http_address The address under which this instance can be found 127.0.0.1
cryptpad_exposed_port The port under which this instance connects to the host 3000
cryptpad_http_unsafe_origin_url The URL of the public entrypoint URL, e.g. https://pad.example.tld https:// + $cryptpad_virtual_host
cryptpad_http_safe_origin_url The URL of the safe public URL, e.g. https://pad-sandbox.example.tld
cryptpad_admin_email An email address that will be published on the /contact.html page
cryptpad_block_daily_check If enabled, the instance will send some basic information to the developers like the Cryptpad version together with the admin email, which is only used in case there is a serious problem with that version false

Dependencies

Example Playbook

License

MIT

Author Information

This role was created in 2020 by Jan Beilicke.