nixfiles/hosts/koi/containers/sharkey/.config/default.yml
teidesu 72dae4c786
chore(koi): initial migration to shared postgres
- postgres on the host
- improved docker networking
- sharkey: moved from docker-compose to nix-managed containers
2024-08-05 10:26:36 +03:00

74 lines
2 KiB
YAML

url: https://very.stupid.fish
port: 80
db:
host: 172.17.0.1
port: 5432
db: misskey
user: misskey
pass: misskey
dbReplications: false
redis:
host: sharkey-redis.docker
port: 6379
# ┌───────────────────────────┐
#───┘ MeiliSearch configuration └─────────────────────────────
meilisearch:
host: sharkey-meili.docker
port: 7700
apiKey: misskeymeilisearch
index: ''
scope: global
id: 'aidx'
# Number of worker processes
clusterLimit: 2
maxNoteLength: 30000
proxy: 'http://172.17.0.1:7890'
proxyBypassHosts:
- api.deepl.com
- api-free.deepl.com
- www.recaptcha.net
- hcaptcha.com
- challenges.cloudflare.com
- tei.su
# Media Proxy
# Reference Implementation: https://github.com/misskey-dev/media-proxy
# * Deliver a common cache between instances
# * Perform image compression (on a different server resource than the main process)
#mediaProxy: https://example.com/proxy
# Proxy remote files (default: true)
# Proxy remote files by this instance or mediaProxy to prevent remote files from running in remote domains.
proxyRemoteFiles: true
# Movie Thumbnail Generation URL
# There is no reference implementation.
# For example, Misskey will point to the following URL:
# https://example.com/thumbnail.webp?thumbnail=1&url=https%3A%2F%2Fstorage.example.com%2Fpath%2Fto%2Fvideo.mp4
#videoThumbnailGenerator: https://example.com
# Sign to ActivityPub GET request (default: true)
signToActivityPubGet: true
# check that inbound ActivityPub GET requests are signed ("authorized fetch")
checkActivityPubGetSignature: false
# For security reasons, uploading attachments from the intranet is prohibited,
# but exceptions can be made from the following settings. Default value is "undefined".
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
#allowedPrivateNetworks: [
# '127.0.0.1/32'
#]
customMOTD: ['meow']
# Upload or download file size limits (bytes)
maxFileSize: 262144000