forked from mirror/misskey
Update config example
This commit is contained in:
parent
cf17a39446
commit
3695e6db15
@ -1,35 +1,16 @@
|
|||||||
# Name of your instance
|
name: 'example-instance-name' # Name of your instance
|
||||||
name: 'example-instance-name'
|
description: 'example-description' # Description of your instance
|
||||||
|
|
||||||
# Description of your instance
|
|
||||||
description: 'example-description'
|
|
||||||
|
|
||||||
# Maintainer
|
|
||||||
maintainer:
|
maintainer:
|
||||||
# Your name
|
name: 'example-maitainer-name' # Your name
|
||||||
name: 'example-maitainer-name'
|
url: 'http://example.com/' # Your contact (http or mailto)
|
||||||
|
repository_url: 'http://example.com/' # Repository URL
|
||||||
|
feedback_url: 'http://example.com/' # Feedback URL (e.g. github issue)
|
||||||
|
|
||||||
# Your contact (http or mailto)
|
|
||||||
url: 'http://example.com/'
|
|
||||||
|
|
||||||
# Repository URL
|
|
||||||
repository_url: 'http://example.com/'
|
|
||||||
|
|
||||||
# Feedback URL (e.g. github issue)
|
|
||||||
feedback_url: 'http://example.com/'
|
|
||||||
|
|
||||||
# URL
|
|
||||||
url: http://localhost/
|
url: http://localhost/
|
||||||
|
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
# TLS (Uncomment if you need)
|
|
||||||
# https:
|
|
||||||
# # path for certification
|
|
||||||
# key: example-tls-key
|
|
||||||
# cert: example-tls-cert
|
|
||||||
|
|
||||||
# MongoDB
|
|
||||||
mongodb:
|
mongodb:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 27017
|
port: 27017
|
||||||
@ -37,35 +18,42 @@ mongodb:
|
|||||||
user: example-misskey-user
|
user: example-misskey-user
|
||||||
pass: example-misskey-pass
|
pass: example-misskey-pass
|
||||||
|
|
||||||
# Redis
|
|
||||||
redis:
|
redis:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 6379
|
port: 6379
|
||||||
pass: 'example-pass'
|
pass: 'example-pass'
|
||||||
|
|
||||||
# reCAPTCHA
|
|
||||||
recaptcha:
|
recaptcha:
|
||||||
site_key: example-site-key
|
site_key: example-site-key
|
||||||
secret_key: example-secret-key
|
secret_key: example-secret-key
|
||||||
|
|
||||||
# ServiceWorker
|
|
||||||
sw:
|
|
||||||
# Public key of VAPID
|
|
||||||
public_key: example-sw-public-key
|
|
||||||
|
|
||||||
# Private key of VAPID
|
|
||||||
private_key: example-sw-private-key
|
|
||||||
|
|
||||||
# Google Maps API
|
|
||||||
google_maps_api_key: example-google-maps-api-key
|
|
||||||
|
|
||||||
# Twitter integration (can be omitted)
|
|
||||||
twitter:
|
|
||||||
consumer_key: example-twitter-consumer-key
|
|
||||||
consumer_secret: example-twitter-consumer-secret-key
|
|
||||||
|
|
||||||
# If enabled:
|
# If enabled:
|
||||||
# Server will not cache remote files (Using direct link instead).
|
# Server will not cache remote files (Using direct link instead).
|
||||||
# You can save your storage.
|
# You can save your storage.
|
||||||
# Users cannot see remote images when they turn off "Show media from a remote server" setting.
|
# Users cannot see remote images when they turn off "Show media from a remote server" setting.
|
||||||
preventCache: false
|
preventCache: false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Below settings are optional
|
||||||
|
#
|
||||||
|
|
||||||
|
# TLS
|
||||||
|
# https:
|
||||||
|
# # path for certification
|
||||||
|
# key: example-tls-key
|
||||||
|
# cert: example-tls-cert
|
||||||
|
|
||||||
|
# ServiceWorker
|
||||||
|
# sw:
|
||||||
|
# # Public key of VAPID
|
||||||
|
# public_key: example-sw-public-key
|
||||||
|
|
||||||
|
# # Private key of VAPID
|
||||||
|
# private_key: example-sw-private-key
|
||||||
|
|
||||||
|
# google_maps_api_key: example-google-maps-api-key
|
||||||
|
|
||||||
|
# Twitter integration
|
||||||
|
# twitter:
|
||||||
|
# consumer_key: example-twitter-consumer-key
|
||||||
|
# consumer_secret: example-twitter-consumer-secret-key
|
||||||
|
Loading…
Reference in New Issue
Block a user