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