nebula/docker/conf/wiki.yml

143 lines
4.1 KiB
YAML
Raw Normal View History

2017-11-26 07:45:28 +00:00
#######################################################################
# Wiki.js - CONFIGURATION #
#######################################################################
# Full explanation + examples in the documentation:
# https://docs.requarks.io/wiki/install
# You can use an ENV variable by using $(ENV_VAR_NAME) as the value
# ---------------------------------------------------------------------
# Title of this site
# ---------------------------------------------------------------------
2017-12-07 13:34:31 +00:00
title: Scarif Wiki
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
# Full public path to the site, without the trailing slash
# ---------------------------------------------------------------------
# INCLUDE CLIENT PORT IF NOT 80/443!
host: https://wiki.bb8.fun
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
# Port the main server should listen to (80 by default)
# ---------------------------------------------------------------------
# To use process.env.PORT, comment the line below:
2017-11-26 20:16:49 +00:00
port: 9999
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
# Data Directories
# ---------------------------------------------------------------------
paths:
repo: /repo
data: /data
# ---------------------------------------------------------------------
# Upload Limits
# ---------------------------------------------------------------------
# In megabytes (MB)
uploads:
maxImageFileSize: 5
maxOtherFileSize: 100
# ---------------------------------------------------------------------
# Site Language
# ---------------------------------------------------------------------
# Possible values: en, de, es, fa, fr, ja, ko, nl, pt, ru, sr, tr or zh
lang: en
# Enable for right to left languages (e.g. arabic):
langRtl: false
# ---------------------------------------------------------------------
# Site Authentication
# ---------------------------------------------------------------------
2017-12-07 13:34:31 +00:00
public: true
2017-11-26 07:45:28 +00:00
auth:
defaultReadAccess: false
local:
enabled: true
google:
2017-12-03 14:52:14 +00:00
enabled: false
2017-11-26 07:45:28 +00:00
clientId: GOOGLE_CLIENT_ID
clientSecret: GOOGLE_CLIENT_SECRET
# ---------------------------------------------------------------------
# Secret key to use when encrypting sessions
# ---------------------------------------------------------------------
# Use a long and unique random string (256-bit keys are perfect!)
2017-12-03 14:52:14 +00:00
sessionSecret: $(SESSION_SECRET)
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
# Database Connection String
# ---------------------------------------------------------------------
2017-12-03 14:52:14 +00:00
db: mongodb://mongorocks:27017/wiki
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
2018-06-20 15:50:06 +00:00
# Git Connection Info (force disabled)
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
2018-09-12 16:17:14 +00:00
# git: false
git:
url: https://git.captnemo.in/nemo/wiki
branch: master
2017-12-03 14:52:14 +00:00
# auth:
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# # Type: basic or ssh
# type: ssh
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# # Only for Basic authentication:
# username: marty
# password: MartyMcFly88
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# # Only for SSH authentication:
# privateKey: /etc/wiki/keys/git.pem
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# sslVerify: true
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# # Default email to use as commit author
# serverEmail: marty@example.com
2017-11-26 07:45:28 +00:00
2017-12-03 14:52:14 +00:00
# # Whether to use user email as author in commits
# showUserEmail: true
2017-11-26 07:45:28 +00:00
# ---------------------------------------------------------------------
# Features
# ---------------------------------------------------------------------
# You can enable / disable specific features below
features:
linebreaks: true
mathjax: false
# ---------------------------------------------------------------------
# External Logging
# ---------------------------------------------------------------------
externalLogging:
bugsnag: false
loggly: false
papertrail: false
rollbar: false
sentry: false
# ---------------------------------------------------------------------
# Color Theme
# ---------------------------------------------------------------------
theme:
primary: indigo
alt: blue-grey
viewSource: all # all | write | false
footer: blue-grey
code:
dark: true
2017-11-26 20:16:49 +00:00
colorize: true