1
0
Fork 0
Go to file
Daniele Tricoli fd0440ba7d Update letsencrypt command 2021-06-10 02:49:06 +02:00
Dockerfile Fix typo on the container name 2021-06-10 01:16:42 +02:00
README.md Update letsencrypt command 2021-06-10 02:49:06 +02:00

README.md

pod-cryptpad

Deploy

Dokku

dokku apps:create cryptpad

dokku config:set cryptpad --no-restart TZ=Europe/Rome
dokku config:set --no-restart cryptpad DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku config:set --no-restart cryptpad CPAD_MAIN_DOMAIN=example.org
dokku config:set --no-restart cryptpad CPAD_SANDBOX_DOMAIN=sandbox.example.org

dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/config:/cryptpad/config/
dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/blob:/cryptpad/blob
dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/block:/cryptpad/block
dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/customize:/cryptpad/customize
dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/data:/cryptpad/data
dokku storage:mount cryptpad /var/lib/dokku/data/storage/cryptpad/files:/cryptpad/datastore

git push dokku main:main

dokku letsencrypt:enable cryptpad
dokku letsencrypt:cron-job --add cryptpad