|
| 1 | +#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 2 | +# Misskey configuration |
| 3 | +#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 4 | + |
| 5 | +# ┌────────────────────────┐ |
| 6 | +#───┘ Initial Setup Password └───────────────────────────────────────────────────── |
| 7 | + |
| 8 | +# Password to initiate setting up admin account. |
| 9 | +# It will not be used after the initial setup is complete. |
| 10 | +# |
| 11 | +# Be sure to change this when you set up Misskey via the Internet. |
| 12 | +# |
| 13 | +# The provider of the service who sets up Misskey on behalf of the customer should |
| 14 | +# set this value to something unique when generating the Misskey config file, |
| 15 | +# and provide it to the customer. |
| 16 | +setupPassword: example_password_please_change_this_or_you_will_get_hacked |
| 17 | + |
| 18 | +# ┌─────┐ |
| 19 | +#───┘ URL └───────────────────────────────────────────────────── |
| 20 | + |
| 21 | +# Final accessible URL seen by a user. |
| 22 | +url: 'http://misskey.local' |
| 23 | + |
| 24 | +# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE |
| 25 | +# URL SETTINGS AFTER THAT! |
| 26 | + |
| 27 | +# ┌───────────────────────┐ |
| 28 | +#───┘ Port and TLS settings └─────────────────────────────────── |
| 29 | + |
| 30 | +# |
| 31 | +# Misskey requires a reverse proxy to support HTTPS connections. |
| 32 | +# |
| 33 | +# +----- https://example.tld/ ------------+ |
| 34 | +# +------+ |+-------------+ +----------------+| |
| 35 | +# | User | ---> || Proxy (443) | ---> | Misskey (3000) || |
| 36 | +# +------+ |+-------------+ +----------------+| |
| 37 | +# +---------------------------------------+ |
| 38 | +# |
| 39 | +# You need to set up a reverse proxy. (e.g. nginx) |
| 40 | +# An encrypted connection with HTTPS is highly recommended |
| 41 | +# because tokens may be transferred in GET requests. |
| 42 | + |
| 43 | +# The port that your Misskey server should listen on. |
| 44 | +port: 61812 |
| 45 | + |
| 46 | +# ┌──────────────────────────┐ |
| 47 | +#───┘ PostgreSQL configuration └──────────────────────────────── |
| 48 | + |
| 49 | +db: |
| 50 | + host: db |
| 51 | + port: 5432 |
| 52 | + |
| 53 | + # Database name |
| 54 | + db: misskey |
| 55 | + |
| 56 | + # Auth |
| 57 | + user: postgres |
| 58 | + pass: postgres |
| 59 | + |
| 60 | + # Whether disable Caching queries |
| 61 | + #disableCache: true |
| 62 | + |
| 63 | + # Extra Connection options |
| 64 | + #extra: |
| 65 | + # ssl: true |
| 66 | + |
| 67 | +dbReplications: false |
| 68 | + |
| 69 | +# You can configure any number of replicas here |
| 70 | +#dbSlaves: |
| 71 | +# - |
| 72 | +# host: |
| 73 | +# port: |
| 74 | +# db: |
| 75 | +# user: |
| 76 | +# pass: |
| 77 | +# - |
| 78 | +# host: |
| 79 | +# port: |
| 80 | +# db: |
| 81 | +# user: |
| 82 | +# pass: |
| 83 | + |
| 84 | +# ┌─────────────────────┐ |
| 85 | +#───┘ Redis configuration └───────────────────────────────────── |
| 86 | + |
| 87 | +redis: |
| 88 | + host: redis |
| 89 | + port: 6379 |
| 90 | + #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 91 | + #pass: example-pass |
| 92 | + #prefix: example-prefix |
| 93 | + #db: 1 |
| 94 | + |
| 95 | +#redisForPubsub: |
| 96 | +# host: redis |
| 97 | +# port: 6379 |
| 98 | +# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 99 | +# #pass: example-pass |
| 100 | +# #prefix: example-prefix |
| 101 | +# #db: 1 |
| 102 | + |
| 103 | +#redisForJobQueue: |
| 104 | +# host: redis |
| 105 | +# port: 6379 |
| 106 | +# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 107 | +# #pass: example-pass |
| 108 | +# #prefix: example-prefix |
| 109 | +# #db: 1 |
| 110 | + |
| 111 | +#redisForTimelines: |
| 112 | +# host: redis |
| 113 | +# port: 6379 |
| 114 | +# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 115 | +# #pass: example-pass |
| 116 | +# #prefix: example-prefix |
| 117 | +# #db: 1 |
| 118 | + |
| 119 | +#redisForReactions: |
| 120 | +# host: redis |
| 121 | +# port: 6379 |
| 122 | +# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 123 | +# #pass: example-pass |
| 124 | +# #prefix: example-prefix |
| 125 | +# #db: 1 |
| 126 | + |
| 127 | +# ┌───────────────────────────┐ |
| 128 | +#───┘ MeiliSearch configuration └───────────────────────────── |
| 129 | + |
| 130 | +#meilisearch: |
| 131 | +# host: meilisearch |
| 132 | +# port: 7700 |
| 133 | +# apiKey: '' |
| 134 | +# ssl: true |
| 135 | +# index: '' |
| 136 | + |
| 137 | +# ┌───────────────┐ |
| 138 | +#───┘ ID generation └─────────────────────────────────────────── |
| 139 | + |
| 140 | +# You can select the ID generation method. |
| 141 | +# You don't usually need to change this setting, but you can |
| 142 | +# change it according to your preferences. |
| 143 | + |
| 144 | +# Available methods: |
| 145 | +# aid ... Short, Millisecond accuracy |
| 146 | +# aidx ... Millisecond accuracy |
| 147 | +# meid ... Similar to ObjectID, Millisecond accuracy |
| 148 | +# ulid ... Millisecond accuracy |
| 149 | +# objectid ... This is left for backward compatibility |
| 150 | + |
| 151 | +# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE |
| 152 | +# ID SETTINGS AFTER THAT! |
| 153 | + |
| 154 | +id: 'aidx' |
| 155 | + |
| 156 | +# ┌────────────────┐ |
| 157 | +#───┘ Error tracking └────────────────────────────────────────── |
| 158 | + |
| 159 | +# Sentry is available for error tracking. |
| 160 | +# See the Sentry documentation for more details on options. |
| 161 | + |
| 162 | +#sentryForBackend: |
| 163 | +# enableNodeProfiling: true |
| 164 | +# options: |
| 165 | +# dsn: 'https://[email protected]/0' |
| 166 | + |
| 167 | +#sentryForFrontend: |
| 168 | +# options: |
| 169 | +# dsn: 'https://[email protected]/0' |
| 170 | + |
| 171 | +# ┌─────────────────────┐ |
| 172 | +#───┘ Other configuration └───────────────────────────────────── |
| 173 | + |
| 174 | +# Whether disable HSTS |
| 175 | +#disableHsts: true |
| 176 | + |
| 177 | +# Number of worker processes |
| 178 | +#clusterLimit: 1 |
| 179 | + |
| 180 | +# Job concurrency per worker |
| 181 | +# deliverJobConcurrency: 128 |
| 182 | +# inboxJobConcurrency: 16 |
| 183 | + |
| 184 | +# Job rate limiter |
| 185 | +# deliverJobPerSec: 128 |
| 186 | +# inboxJobPerSec: 32 |
| 187 | + |
| 188 | +# Job attempts |
| 189 | +# deliverJobMaxAttempts: 12 |
| 190 | +# inboxJobMaxAttempts: 8 |
| 191 | + |
| 192 | +# IP address family used for outgoing request (ipv4, ipv6 or dual) |
| 193 | +#outgoingAddressFamily: ipv4 |
| 194 | + |
| 195 | +# Proxy for HTTP/HTTPS |
| 196 | +#proxy: http://127.0.0.1:3128 |
| 197 | + |
| 198 | +proxyBypassHosts: |
| 199 | + - api.deepl.com |
| 200 | + - api-free.deepl.com |
| 201 | + - www.recaptcha.net |
| 202 | + - hcaptcha.com |
| 203 | + - challenges.cloudflare.com |
| 204 | + |
| 205 | +# Proxy for SMTP/SMTPS |
| 206 | +#proxySmtp: http://127.0.0.1:3128 # use HTTP/1.1 CONNECT |
| 207 | +#proxySmtp: socks4://127.0.0.1:1080 # use SOCKS4 |
| 208 | +#proxySmtp: socks5://127.0.0.1:1080 # use SOCKS5 |
| 209 | + |
| 210 | +# Media Proxy |
| 211 | +#mediaProxy: https://example.com/proxy |
| 212 | + |
| 213 | +# Proxy remote files (default: true) |
| 214 | +proxyRemoteFiles: true |
| 215 | + |
| 216 | +# Sign to ActivityPub GET request (default: true) |
| 217 | +signToActivityPubGet: true |
| 218 | + |
| 219 | +allowedPrivateNetworks: [ |
| 220 | + '127.0.0.1/32' |
| 221 | +] |
| 222 | + |
| 223 | +# Upload or download file size limits (bytes) |
| 224 | +#maxFileSize: 262144000 |
0 commit comments