var www wikijs config.yml - ourcanadian/server-docs GitHub Wiki
Path /var/www/wikijs/config.yml
title: OurCanadianWiki
host: 'https://wiki.ourcanadian.ca'
port: 3001
paths:
repo: ./repo
data: ./data
uploads:
maxImageFileSize: 3
maxOtherFileSize: 100
lang: en
langRtl: false
public: true
auth:
defaultReadAccess: false
local:
enabled: true
google:
enabled: true
clientId: GOOGLE_CLIENT_ID
clientSecret: GOOGLE_CLIENT_SECRET
microsoft:
enabled: true
clientId: MS_APP_ID
clientSecret: MS_APP_SECRET
facebook:
enabled: false
clientId: FACEBOOK_APP_ID
clientSecret: FACEBOOK_APP_SECRET
github:
enabled: false
clientId: GITHUB_CLIENT_ID
clientSecret: GITHUB_CLIENT_SECRET
slack:
enabled: false
clientId: SLACK_CLIENT_ID
clientSecret: SLACK_CLIENT_SECRET
ldap:
enabled: false
url: 'ldap://serverhost:389'
bindDn: cn='root'
bindCredentials: BIND_PASSWORD
searchBase: 'o=users,o=example.com'
searchFilter: '(uid={{username}})'
tlsEnabled: false
tlsCertPath: 'C:\example\root_ca_cert.crt'
azure:
enabled: false
clientId: APP_ID
clientSecret: APP_SECRET_KEY
resource: 00000002-0000-0000-c000-000000000000
tenant: YOUR_TENANT.onmicrosoft.com
oauth2:
enabled: false
clientId: OAUTH2_CLIENT_ID
clientSecret: OAUTH2_CLIENT_SECRET
authorizationURL: OAUTH2_AUTH_URL
tokenURL: OAUTH2_TOKEN_URL
oidc:
enabled: false
clientId: OPENID_CONNECT_CLIENT_ID
clientSecret: OPENID_CONNECT_CLIENT_SECRET
issuer: OPENID_CONNECT_ISSUER
userInfoUrl: OPENID_CONNECT_USER_INFO_URL
authorizationURL: OPENID_CONNECT_AUTHORIZATION_URL
tokenURL: OPENID_CONNECT_TOKEN_URL
emailClaim: OPENID_CONNECT_EMAIL_CLAIM_PATH
usernameClaim: OPENID_CONNECT_USERNAME_CLAIM_PATH
sessionSecret: ********************************************
db:
type: postgres
host: localhost
port: 5432
user: ottawa
pass: ********
db: ottawa
git: false
features:
linebreaks: true
mathjax: true
externalLogging:
bugsnag: false
loggly: false
papertrail: false
rollbar: false
sentry: false
theme:
primary: indigo
alt: blue-grey
viewSource: all
footer: blue-grey
code:
dark: true
colorize: true