This repo is a dokku-deployable wrapper for wiki.js.
It makes use of a Dockerfile
to add this repo's config.yml
to the latest code for wiki.js.
config.yml
contains all of the configuration for the wiki.js instance. Some config options are hard-coded, and some are brought in as environment variables.
Make sure the following environment variables are configured on your dokku app:
MONGODB_URI
- Mongodb connection string (our instance uses MLab)WIKI_GIT_USERNAME
- Username to use for writes to the content storage repoWIKI_GIT_PASSWORD
- Password to use for writes to the content storage repoWIKI_SESSION_KEY
- A secret key to be used when creating sessionsGITHUB_CLIENT_ID
- Username for github auth third-party appGITHUB_CLIENT_SECRET
- Password for github auth third-party app
- Add a new remote called dokku
git remote add dokku dokku@{host}:{appname}
- Push
git push dokku master