Retrospring/config/justask.yml.example

85 lines
1.9 KiB
Plaintext

# The site name, shown everywhere.
site_name: "justask"
hostname: "justask.rrerr.net"
https: true
email_from: "noreply@justask.rrerr.net"
# Name of the "Anonymous" user. (e.g. "Anonymous Coward", "Arno Nym", "Mr. X", ...)
anonymous_name: "Anonymous"
# How many items (questions, answers, ...) do you want to show per page?
items_per_page: 10
features:
# "Discover" page
discover:
enabled: true
# Public timeline
public:
enabled: true
# OAuth tokens
sharing:
twitter:
enabled: true
# Get the tokens from https://apps.twitter.com
consumer_key: ''
consumer_secret: ''
facebook:
enabled: false
tumblr:
enabled: true
# Get the tokens from https://www.tumblr.com/oauth/apps
consumer_key: ''
consumer_secret: ''
# Redis
redis_url: "redis://localhost:6379"
# uncomment if using cloud storage
# fog:
# fog credentials
# credentials:
# provider: 'AWS'
# aws_access_key_id: 'ACCESS KEY'
# aws_secret_access_key: 'SECRET KEY'
# region: 'space-pluto-1'
# URL host, comment out to use default, GENERALLY you don't want to define this
# host: 's3.wherever.com'
# bucket name, required
# directory: 'retrospring'
# hCaptcha -- get keys from https://www.hcaptcha.com/
hcaptcha:
enabled: false
site_key: ''
secret_key: ''
# TOTP Drift period in seconds
otp_drift_period: 30
# This list controls the "accept" attribute on file upload fields
# This ensures mobile users get an appropriate file picker (one for only images)
# as well as preventing the upload of videos or formats we don't support
# including making iOS automatically convert HEIC files to JPEG
accepted_image_formats:
- image/jpeg
- .jpg
- .jpeg
- image/png
- .png
- image/gif
- .gif
# This list controls which hosts are excempt from the linkfilter
# Note: `hostname` is always included by default
allowed_hosts_in_markdown:
- twitter.com
- youtube.com
- youtu.be
# Sentry connection string
sentry_dsn: ''