Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniele Tricoli 7758b5662a Bump version to 1.9.7 1 month ago
Dockerfile Bump version to 1.9.7 1 month ago
README.md Add README 2 years ago





dokku apps:create hedgedoc

dokku postgres:create hedgedoc
dokku postgres:link hedgedoc hedgedoc

dokku config:set --no-restart hedgedoc TZ=Europe/Rome
dokku config:set --no-restart hedgedoc CMD_DB_URL=<DATABASE_URL>
dokku config:unset --no-restart hedgedoc DATABASE_URL
dokku config:set --no-restart hedgedoc DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku config:set --no-restart hedgedoc CMD_DOMAIN=example.org
dokku config:set --no-restart hedgedoc CMD_PROTOCOL_USESSL=true
dokku config:set --no-restart hedgedoc CMD_ALLOW_ANONYMOUS=false
dokku config:set --no-restart hedgedoc CMD_ALLOW_ANONYMOUS_EDITS=false
dokku config:set --no-restart hedgedoc CMD_ALLOW_EMAIL_REGISTER=false
dokku config:set --no-restart hedgedoc CMD_DEFAULT_PERMISSION=limited

dokku storage:mount hedgedoc /var/lib/dokku/data/storage/hedgedoc:/hedgedoc/public/uploads

dokku proxy:ports-add hedgedoc http:80:3000
dokku proxy:ports-remove hedgedoc http:3000:3000

git push dokku main:main

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

NOTE: CMD_ALLOW_EMAIL_REGISTER=false will disable registration so users must be created using:

dokku run hedgedoc bin/manage_users --add example@example.org