ansible-collection-fediverse/roles/gotosocial/templates/config.yaml.j2

136 lines
3.2 KiB
Text
Raw Normal View History

2023-10-20 23:48:14 +00:00
# This file is managed by Ansible #
2023-10-22 14:18:54 +00:00
log-level: "{{ gotosocial_log_level | default('info') }}"
2023-10-20 23:48:14 +00:00
log-db-queries: false
log-client-ip: true
log-timestamp-format: "02/01/2006 15:04:05.000"
application-name: "gotosocial"
2023-10-22 14:18:54 +00:00
landing-page-user: "{{ gotosocial_landing_page_user | default('') }}"
2023-10-20 23:48:14 +00:00
2023-10-22 14:18:54 +00:00
host: "{{ gotosocial_hostname }}"
2023-10-20 23:48:14 +00:00
2023-10-22 14:18:54 +00:00
account-domain: "{{ gotosocial_account_domain | default('') }}"
2023-10-20 23:48:14 +00:00
protocol: "https"
2023-10-22 14:18:54 +00:00
bind-address: "{{ gotosocial_bind_address | default('0.0.0.0') }}"
2023-10-20 23:48:14 +00:00
2023-10-22 14:18:54 +00:00
port: {{ gotosocial_https_port | default(8080) }}
2023-10-20 23:48:14 +00:00
2023-10-22 14:18:54 +00:00
trusted-proxies: {{ gotosocial_trusted_proxies | default(['127.0.0.1/32', '::1']) }}
2023-10-20 23:48:14 +00:00
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.
2023-10-22 14:18:54 +00:00
accounts-registration-open: {{ gotosocial_registration_open | default(false) }}
accounts-approval-required: {{ gotosocial_account_approvel | default(true) }}
2023-10-20 23:48:14 +00:00
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"
2023-10-22 14:18:54 +00:00
storage-local-base-path: "{{ gotosocial_base_dir }}/storage"
2023-10-20 23:48:14 +00:00
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
2023-10-22 14:18:54 +00:00
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 }}"
2023-10-20 23:48:14 +00:00
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: []