# This file is managed by Ansible # log-level: "{{ gotosocial_log_level | default('info') }}" log-db-queries: false log-client-ip: true log-timestamp-format: "02/01/2006 15:04:05.000" application-name: "gotosocial" landing-page-user: "{{ gotosocial_landing_page_user | default('') }}" host: "{{ gotosocial_hostname }}" account-domain: "{{ gotosocial_account_domain | default('') }}" protocol: "https" bind-address: "{{ gotosocial_bind_address | default('0.0.0.0') }}" port: {{ gotosocial_https_port | default(8080) }} trusted-proxies: {{ gotosocial_trusted_proxies | default(['127.0.0.1/32', '::1']) }} db-type: "sqlite" db-address: "gotosocial.db" db-sqlite-journal-mode: "WAL" db-sqlite-synchronous: "NORMAL" db-sqlite-cache-size: "8MiB" db-sqlite-busy-timeout: "30m" cache: memory-target: "100MiB" web-asset-base-dir: "./web/assets/" instance-federation-mode: "blocklist" instance-expose-peers: false instance-expose-suspended: false instance-expose-suspended-web: false instance-expose-public-timeline: false instance-deliver-to-shared-inboxes: true instance-inject-mastodon-version: false ########################### ##### ACCOUNTS CONFIG ##### ########################### # Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts. accounts-registration-open: {{ gotosocial_registration_open | default(false) }} accounts-approval-required: {{ gotosocial_account_approvel | default(true) }} accounts-reason-required: true accounts-allow-custom-css: false accounts-custom-css-length: 10000 media-image-max-size: 10485760 media-video-max-size: 41943040 media-description-min-chars: 0 media-description-max-chars: 500 media-remote-cache-days: 7 media-emoji-local-max-size: 51200 media-emoji-remote-max-size: 102400 storage-backend: "local" storage-local-base-path: "{{ gotosocial_base_dir }}/storage" storage-s3-endpoint: "" storage-s3-proxy: false storage-s3-use-ssl: true storage-s3-access-key: "" storage-s3-secret-key: "" storage-s3-bucket: "" statuses-max-chars: 5000 statuses-cw-max-chars: 100 statuses-poll-max-options: 6 statuses-poll-option-max-chars: 50 statuses-media-max-files: 6 letsencrypt-enabled: {{ gotosocial_letsencrypt_enabled }} letsencrypt-port: {{ gotosocial_http_port | default(80) }} letsencrypt-cert-dir: "{{ gotosocial_base_dir }}/storage/certs" letsencrypt-email-address: "{{ gotosocial_letsencrypt_email }}" oidc-enabled: false oidc-idp-name: "" oidc-skip-verification: false oidc-issuer: "" oidc-client-id: "" oidc-client-secret: "" oidc-scopes: - "openid" - "email" - "profile" - "groups" oidc-link-existing: false oidc-admin-groups: [] smtp-host: "" smtp-port: 0 smtp-username: "" smtp-password: "" smtp-from: "" smtp-disclose-recipients: false syslog-enabled: false syslog-protocol: "udp" syslog-address: "localhost:514" request-id-header: "X-Request-Id" tracing-enabled: false tracing-transport: "grpc" tracing-endpoint: "" tracing-insecure-transport: false http-client: timeout: "10s" allow-ips: [] block-ips: [] tls-insecure-skip-verify: false advanced-cookies-samesite: "lax" advanced-rate-limit-requests: 300 advanced-rate-limit-exceptions: [] advanced-throttling-multiplier: 8 advanced-throttling-retry-after: "30s" advanced-sender-multiplier: 2 advanced-csp-extra-uris: []