2018-07-14 22:42:44 +09:00
|
|
|
|
# Name of your instance
|
|
|
|
|
name: 'example-instance-name'
|
2018-06-15 13:58:09 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Description of your instance
|
|
|
|
|
description: 'example-description'
|
2018-06-15 13:58:09 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Maintainer
|
2017-11-23 05:43:00 +09:00
|
|
|
|
maintainer:
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Your name
|
|
|
|
|
name: 'example-maitainer-name'
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Your contact (http or mailto)
|
|
|
|
|
url: 'http://example.com/'
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Repository URL
|
|
|
|
|
repository_url: 'http://example.com/'
|
2018-07-07 21:08:22 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Feedback URL (e.g. github issue)
|
|
|
|
|
feedback_url: 'http://example.com/'
|
2018-07-07 21:08:22 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# URL
|
|
|
|
|
url: http://localhost/
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
port: 80
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# TLS (Uncomment if you need)
|
|
|
|
|
# https:
|
|
|
|
|
# # path for certification
|
|
|
|
|
# key: example-tls-key
|
|
|
|
|
# cert: example-tls-cert
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# MongoDB
|
2017-11-23 05:43:00 +09:00
|
|
|
|
mongodb:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 27017
|
2018-07-14 22:42:44 +09:00
|
|
|
|
db: example-db
|
|
|
|
|
user: example-misskey-user
|
|
|
|
|
pass: example-misskey-pass
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Redis
|
2017-11-23 05:43:00 +09:00
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
2018-07-14 22:42:44 +09:00
|
|
|
|
pass: 'example-pass'
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# reCAPTCHA
|
2017-11-23 05:43:00 +09:00
|
|
|
|
recaptcha:
|
2018-07-14 22:42:44 +09:00
|
|
|
|
site_key: example-site-key
|
|
|
|
|
secret_key: example-secret-key
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# ServiceWorker
|
2017-11-23 05:43:00 +09:00
|
|
|
|
sw:
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Public key of VAPID
|
|
|
|
|
public_key: example-sw-public-key
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Private key of VAPID
|
|
|
|
|
private_key: example-sw-private-key
|
2017-11-23 05:43:00 +09:00
|
|
|
|
|
2018-03-05 13:47:57 +09:00
|
|
|
|
# Google Maps API
|
2018-07-14 22:42:44 +09:00
|
|
|
|
google_maps_api_key: example-google-maps-api-key
|
2018-03-05 13:47:57 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09:00
|
|
|
|
# Twitter integration (can be omitted)
|
2017-12-13 20:13:39 +09:00
|
|
|
|
twitter:
|
2018-07-14 22:42:44 +09:00
|
|
|
|
consumer_key: example-twitter-consumer-key
|
|
|
|
|
consumer_secret: example-twitter-consumer-secret-key
|
2017-12-13 20:13:39 +09:00
|
|
|
|
|
2018-07-14 22:42:44 +09: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-11 02:18:00 +09:00
|
|
|
|
preventCache: false
|