2018-07-14 13:42:44 +00:00
|
|
|
|
# Name of your instance
|
|
|
|
|
name: 'example-instance-name'
|
2018-06-15 04:58:09 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Description of your instance
|
|
|
|
|
description: 'example-description'
|
2018-06-15 04:58:09 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Maintainer
|
2017-11-22 20:43:00 +00:00
|
|
|
|
maintainer:
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Your name
|
|
|
|
|
name: 'example-maitainer-name'
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Your contact (http or mailto)
|
|
|
|
|
url: 'http://example.com/'
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Repository URL
|
|
|
|
|
repository_url: 'http://example.com/'
|
2018-07-07 12:08:22 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Feedback URL (e.g. github issue)
|
|
|
|
|
feedback_url: 'http://example.com/'
|
2018-07-07 12:08:22 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# URL
|
|
|
|
|
url: http://localhost/
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
port: 80
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# TLS (Uncomment if you need)
|
|
|
|
|
# https:
|
|
|
|
|
# # path for certification
|
|
|
|
|
# key: example-tls-key
|
|
|
|
|
# cert: example-tls-cert
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# MongoDB
|
2017-11-22 20:43:00 +00:00
|
|
|
|
mongodb:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 27017
|
2018-07-14 13:42:44 +00:00
|
|
|
|
db: example-db
|
|
|
|
|
user: example-misskey-user
|
|
|
|
|
pass: example-misskey-pass
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Redis
|
2017-11-22 20:43:00 +00:00
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
2018-07-14 13:42:44 +00:00
|
|
|
|
pass: 'example-pass'
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# reCAPTCHA
|
2017-11-22 20:43:00 +00:00
|
|
|
|
recaptcha:
|
2018-07-14 13:42:44 +00:00
|
|
|
|
site_key: example-site-key
|
|
|
|
|
secret_key: example-secret-key
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# ServiceWorker
|
2017-11-22 20:43:00 +00:00
|
|
|
|
sw:
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Public key of VAPID
|
|
|
|
|
public_key: example-sw-public-key
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Private key of VAPID
|
|
|
|
|
private_key: example-sw-private-key
|
2017-11-22 20:43:00 +00:00
|
|
|
|
|
2018-03-05 04:47:57 +00:00
|
|
|
|
# Google Maps API
|
2018-07-14 13:42:44 +00:00
|
|
|
|
google_maps_api_key: example-google-maps-api-key
|
2018-03-05 04:47:57 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# Twitter integration (can be omitted)
|
2017-12-13 11:13:39 +00:00
|
|
|
|
twitter:
|
2018-07-14 13:42:44 +00:00
|
|
|
|
consumer_key: example-twitter-consumer-key
|
|
|
|
|
consumer_secret: example-twitter-consumer-secret-key
|
2017-12-13 11:13:39 +00:00
|
|
|
|
|
2018-07-14 13:42:44 +00:00
|
|
|
|
# If enabled:
|
|
|
|
|
# Server will not cache remote files (Using direct link instead).
|
|
|
|
|
# You can save your storage.
|
|
|
|
|
# Users cannot see remote images when they turn off "Show media from a remote server" setting.
|
2018-06-10 17:18:00 +00:00
|
|
|
|
preventCache: false
|