|
| 1 | +#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 2 | +# Misskey configuration |
| 3 | +#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 4 | + |
| 5 | +# ┌─────┐ |
| 6 | +#───┘ URL └───────────────────────────────────────────────────── |
| 7 | + |
| 8 | +# Final accessible URL seen by a user. |
| 9 | +url: http://127.0.0.1:3000/ |
| 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: 3000 |
| 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 | +# ┌─────────────────────┐ |
| 55 | +#───┘ Redis configuration └───────────────────────────────────── |
| 56 | + |
| 57 | +redis: |
| 58 | + host: redis |
| 59 | + port: 6379 |
| 60 | + #family: 0 # 0=Both, 4=IPv4, 6=IPv6 |
| 61 | + #pass: example-pass |
| 62 | + #prefix: example-prefix |
| 63 | + #db: 1 |
| 64 | + |
| 65 | +# ┌─────────────────────────────┐ |
| 66 | +#───┘ Elasticsearch configuration └───────────────────────────── |
| 67 | + |
| 68 | +#elasticsearch: |
| 69 | +# host: localhost |
| 70 | +# port: 9200 |
| 71 | +# ssl: false |
| 72 | +# user: |
| 73 | +# pass: |
| 74 | + |
| 75 | +# ┌───────────────┐ |
| 76 | +#───┘ ID generation └─────────────────────────────────────────── |
| 77 | + |
| 78 | +# You can select the ID generation method. |
| 79 | +# You don't usually need to change this setting, but you can |
| 80 | +# change it according to your preferences. |
| 81 | + |
| 82 | +# Available methods: |
| 83 | +# aid ... Short, Millisecond accuracy |
| 84 | +# meid ... Similar to ObjectID, Millisecond accuracy |
| 85 | +# ulid ... Millisecond accuracy |
| 86 | +# objectid ... This is left for backward compatibility |
| 87 | + |
| 88 | +# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE |
| 89 | +# ID SETTINGS AFTER THAT! |
| 90 | + |
| 91 | +id: 'aid' |
| 92 | + |
| 93 | +# ┌─────────────────────┐ |
| 94 | +#───┘ Other configuration └───────────────────────────────────── |
| 95 | + |
| 96 | +# Whether disable HSTS |
| 97 | +#disableHsts: true |
| 98 | + |
| 99 | +# Number of worker processes |
| 100 | +#clusterLimit: 1 |
| 101 | + |
| 102 | +# Job concurrency per worker |
| 103 | +# deliverJobConcurrency: 128 |
| 104 | +# inboxJobConcurrency: 16 |
| 105 | + |
| 106 | +# Job rate limiter |
| 107 | +# deliverJobPerSec: 128 |
| 108 | +# inboxJobPerSec: 16 |
| 109 | + |
| 110 | +# Job attempts |
| 111 | +# deliverJobMaxAttempts: 12 |
| 112 | +# inboxJobMaxAttempts: 8 |
| 113 | + |
| 114 | +# IP address family used for outgoing request (ipv4, ipv6 or dual) |
| 115 | +#outgoingAddressFamily: ipv4 |
| 116 | + |
| 117 | +# Proxy for HTTP/HTTPS |
| 118 | +#proxy: http://127.0.0.1:3128 |
| 119 | + |
| 120 | +proxyBypassHosts: |
| 121 | + - api.deepl.com |
| 122 | + - api-free.deepl.com |
| 123 | + - www.recaptcha.net |
| 124 | + - hcaptcha.com |
| 125 | + - challenges.cloudflare.com |
| 126 | + |
| 127 | +# Proxy for SMTP/SMTPS |
| 128 | +#proxySmtp: http://127.0.0.1:3128 # use HTTP/1.1 CONNECT |
| 129 | +#proxySmtp: socks4://127.0.0.1:1080 # use SOCKS4 |
| 130 | +#proxySmtp: socks5://127.0.0.1:1080 # use SOCKS5 |
| 131 | + |
| 132 | +# Media Proxy |
| 133 | +#mediaProxy: https://example.com/proxy |
| 134 | + |
| 135 | +# Proxy remote files (default: false) |
| 136 | +#proxyRemoteFiles: true |
| 137 | + |
| 138 | +# Sign to ActivityPub GET request (default: true) |
| 139 | +signToActivityPubGet: true |
| 140 | + |
| 141 | +allowedPrivateNetworks: [ |
| 142 | + '127.0.0.1/32' |
| 143 | +] |
| 144 | + |
| 145 | +# Upload or download file size limits (bytes) |
| 146 | +#maxFileSize: 262144000 |
0 commit comments