Dokku For BookStack
- Create your container:
dokku apps:create <app-name> - Install Plugin Dokku-Mysql
- Create and link mysql to your app:
dokku mysql:create <mysql-name>
dokku mysql:link <mysql-name> <app-name> - Set env
APP_KEYandAPP_URLto app:
dokku config:set <app-name> APP_KEY=SomeRandomStringWith32Characters APP_URL=https://containerdomain.example - Install and use plugins: plugin timeout, plugin max upload
- Push to dokku:
git push dokku master - gg!
Set to app follow envs:
STORAGE_TYPE="s3"
STORAGE_S3_KEY="**KEY**"
STORAGE_S3_SECRET="**SECRET**"
STORAGE_S3_REGION="**REGION**"
STORAGE_S3_BUCKET="**BUCKET**"
Set if you using S3 custom domains/cdns:
STORAGE_URL="**URL**"
Thanks for docker-bookstack <3