Files
gotosocial-vps/config/config.yaml

79 lines
1.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
################################
# GoToSocial konfigurační soubor
# Dokumentace: https://docs.gotosocial.org/en/latest/configuration/
################################
# Vaše doména
host: "GTS_HOST_PLACEHOLDER"
# Pokud chcete oddělit doménu účtů od domény serveru
# Např. účty @user@vase-domena.cz, ale server běží na social.vase-domena.cz
# account-domain: "ACCOUNT_DOMAIN_PLACEHOLDER"
protocol: "https"
bind-address: "0.0.0.0"
port: 8080
trusted-proxies:
- "172.18.0.1/16"
- "127.0.0.1/32"
- "::1"
# Databáze
db-type: "sqlite"
db-address: "/gotosocial/storage/sqlite.db"
db-sqlite-journal-mode: "WAL"
db-sqlite-synchronous: "NORMAL"
db-sqlite-cache-size: "8MiB"
db-sqlite-busy-timeout: "30s"
# Úložiště médií
storage-backend: "local"
storage-local-base-path: "/gotosocial/storage"
# Web rozhraní
web-template-base-dir: "/gotosocial/web/template/"
web-asset-base-dir: "/gotosocial/web/assets/"
# Instance
instance-expose-peers: false
instance-expose-suspended: false
instance-expose-suspended-web: false
instance-deliver-to-shared-inboxes: true
# Účty
accounts-registration-open: false
accounts-approval-required: true
accounts-reason-required: true
accounts-allow-custom-css: false
# Média
media-local-max-size: "52428800" # 50 MiB
media-video-max-size: 41943040 # 40 MiB
media-description-min-chars: 0
media-description-max-chars: 500
media-remote-cache-days: 7
media-cleanup-from: "00:00"
media-cleanup-every: "24h"
# Emojis
media-emoji-local-max-size: 51200 # 50 KiB
media-emoji-remote-max-size: 102400 # 100 KiB
# Logy
log-level: "info"
log-db-queries: false
# SMTP (e-mail) volitelné
# smtp-host: ""
# smtp-port: 587
# smtp-username: ""
# smtp-password: ""
# smtp-from: "noreply@vase-domena.cz"
# OIDc (volitelné přihlašování přes externí poskytovatele)
# oidc-enabled: false
# CORS
advanced-cookies-samesite: "lax"
advanced-rate-limit-requests: 300