Giter VIP home page Giter VIP logo

role-cryptpad's Introduction

Cryptpad role

This is a simple role that installs cryptpad.

It is quite oppinionated and may not meet your needs.

Requirements

The role uses a systemd service. It also assumes that nodejs and npm are already present by other means. The role can create an nginx config but it won’t install nginx. It will also not create a ssl cert on it’s own.

Configuration

There are many variables you can adjust to configure the role.

NameDefaultDescription
cryptpad_usercryptpaduser running cryptpad
cryptpad_groupcryptpadgroup running cryptpad
cryptpad_user_home_dir/home/{{ cryptpad_user }}Home directory of the user
cryptpad_dir{{ cryptpad_user_home_dir }}/cryptpaddirectory for cryptpad
cryptpad_versionmainversion to install
cryptpad_npm_executablenpmnpm executable
cryptpad_node_executablenodenode
cryptpad_config_filecryptpad/config.js.j2config file template
cryptpad_unsafe_domaincryptpad.example.comunsafe/main domain
cryptpad_safe_domaincryptpad-other.example.comsafe domain
cryptpad_unsafe_originhttps://{{ cryptpad_unsafe_domain }}unsafe origin
cryptpad_safe_originhttps://{{ cryptpad_safe_domain }}safe origin
cryptpad_http_port3000http port
cryptpad_safe_http_port3001http safe port
cryptpad_websoket_port3003websocket port
cryptpad_admins[]array of admins
cryptpad_file_path./datastore/file path
cryptpad_archive_path./data/archivearchive path
cryptpad_service_templatecryptpad/cryptpad.service.j2cryptpad service template
cryptpad_service_namecryptpadservice name:
cryptpad_setup_nginx_proxyyessetup nginx proxy
cryptpad_nginx_config_path/etc/nginx/sites-enabled/cryptpad.confpath for the config file
cryptpad_nginx_config_templatenginx/cryptpad.conf.j2cryptpad service template
cryptpad_nginx_cert/etc/letsencrypt/live/{{ cryptpad_safe_domain }}/fullchain.pemSSL cert path
cryptpad_nginx_key/etc/letsencrypt/live/{{ cryptpad_safe_domain }}/privkey.pemSSL key path

role-cryptpad's People

Contributors

grcwolf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.