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