Skip to content

Instantly share code, notes, and snippets.

@otofune
Last active July 23, 2016 02:08
Show Gist options
  • Save otofune/ecfd33888881427dd936a66473448720 to your computer and use it in GitHub Desktop.
Save otofune/ecfd33888881427dd936a66473448720 to your computer and use it in GitHub Desktop.
misskey-core's config-template
# Misskey API Configuration
### サーバーの管理者情報
# ex) "Your Name <youremail@example.com>"
maintainer: <string>
### APIアクセス時のパスワード
apiPass: <string>
### アクセスするときのドメイン
url: <string>
### アクセスする時のポート
# サーバー内部でlistenするポートではありません。ブラウザでアクセスするときの最終的なポートです。
# 内部でプロキシを使用していたりなどの理由で、リクエストを待ち受けるポートを指定する場合は bindPorts の項目を設定してください。
port: <number>
# Listen時の設定
bindPort: <number>
bindIp: <string>
### TLS設定
https:
enable: <boolean>
# 以下証明書設定。 enable が false の場合は省略
keyPath: <string>
certPath: <string>
### DB(Mongo)の情報
mongo:
uri: <string>
options:
user: <string>
pass: <string>
### DB(Redis)の情報
redis:
host: <string>
port: <number>
password: <string>
### ドキュメント指向型検索エンジン(Elasticsearch)の情報
elasticsearch:
host: <string>
port: <number>
### ドライブの情報
drive:
url: <string>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment