ansible-collection-fediverse/roles/gotosocial/defaults/main.yml

130 lines
4 KiB
YAML
Raw Normal View History

2023-10-20 23:48:14 +00:00
---
# defaults file for gotosocial
gotosocial_user: gotosocial
gotosocial_base_dir: /opt/gotosocial
# gotosocial_hostname: gts.example.com
2023-10-23 16:54:21 +00:00
gotosocial_version: "0.12.0"
gotosocial_release_url: |
https://github.com/superseriousbusiness/gotosocial/releases/download/v{{ gotosocial_version }}/gotosocial_{{ gotosocial_version }}_linux_amd64.tar.gz
2023-10-20 23:48:14 +00:00
2023-10-23 16:54:21 +00:00
gotosocial_admin_users: []
# gotosocial_admin_users:
# - name: username
# - email: example@example.com
# - password: SECRET
2023-10-23 18:08:02 +00:00
#
gotosocial_log_level: "info"
gotosocial_log_db_queries: false
gotosocial_log_client_ip: true
gotosocial_timestamp_format: "02/01/2006 15:04:05.000"
gotosocial_landing_page_user: ""
gotosocial_hostname: ""
gotosocial_account_domain: ""
gotosocial_protocol: "https" # 'https' or 'http'
gotosocial_bind_address: "0.0.0.0"
gotosocial_port: 8080
gotosocial_trusted_proxies: ["127.0.0.1/32", "::1"]
gotosocial_db_type: "sqlite" # Either 'sqlite' or 'postgres'
gotosocial_db_address: "{{ gotosocial_base_dir }}/gotosocial.db"
gotosocial_db_port: 5432
gotosocial_db_user: ""
gotosocial_db_password: ""
gotosocial_db_database: "gotosocial"
gotosocial_db_tls_mode: "disable" # One of 'disable', 'enable' or 'required'
gotosocial_db_tls_ca_cert: ""
gotosocial_db_max_open_conns_multiplier: 8
# See: https://www.sqlite.org/pragma.html#pragma_journal_mode
gotosocial_db_sqlite_journal_mode: "WAL"
gotosocial_db_sqlite_synchronous: "NORMAL"
gotosocial_db_sqlite_cache_size: "8MiB"
gotosocial_db_sqlite_busy_timeout: "30m"
gotosocial_cache_memory_target: "100MiB"
gotosocial_federation_mode: "blocklist" # One of 'blocklist' or 'allowlist'
gotosocial_expose_peers: false
gotosocial_expose_suspended: false
gotosocial_expose_suspended_web: false
gotosocial_expose_public_timeline: false
gotosocial_deliver_to_shared_inboxes: true
gotosocial_inject_mastodon_version: false
gotosocial_registration_open: true
gotosocial_accounts_approval_required: true
gotosocial_accounts_reason_required: true
gotosocial_accounts_allow_custom_css: false
gotosocial_accounts_custom_css_length: 10000
gotosocial_media_image_max_size: 10485760
gotosocial_media_video_max_size: 41943040
gotosocial_media_description_min_chars: 0
gotosocial_media_description_max_chars: 500
gotosocial_media_remote_cache_days: 7
gotosocial_media_emoji_local_max_size: 51200
gotosocial_media_emoji_remote_max_size: 102400
gotosocial_storage_backend: "local" # One of 'local' or 's3'
gotosocial_storage_base_path: "{{ gotosocial_base_dir }}/storage"
gotosocial_storage_s3_endpoint: ""
gotosocial_storage_s3_proxy: false
gotosocial_storage_s3_use_ssl: true
gotosocial_storage_s3_access_key: ""
gotosocial_storage_s3_secret_key: ""
gotosocial_storage_s3_bucket: ""
gotosocial_statuses_max_chars: 69420
gotosocial_cw_max_chars: 100
gotosocial_poll_max_options: 6
gotosocial_poll_option_max_chars: 50
gotosocial_statuses_media_max_files: 6
gotosocial_letsencrypt_enabled: false
gotosocial_letsencrypt_port: 80
gotosocial_letsencrypt_cert_dir: "{{ gotosocial_base_dir }}/storage/certs"
gotosocial_letsencrypt_email_address: ""
gotosocial_tls_certificate_chain: ""
gotosocial_tls_certificate_key: ""
gotosocial_oidc_enabled: false
gotosocial_oidc_idp_name: ""
gotosocial_oidc_skip_verification: false
gotosocial_oidc_issuer: ""
gotosocial_oidc_client_id: ""
gotosocial_oidc_client_secret: ""
gotosocial_oidc_scopes: ["openid", "email", "profile", "groups"]
2023-10-23 18:17:55 +00:00
gotosocial_oidc_link_existing: false
2023-10-23 18:08:02 +00:00
gotosocial_oidc_admin_groups: []
gotosocial_smtp_host: ""
gotosocial_smtp_port: 0
gotosocial_smtp_username: ""
gotosocial_smtp_password: ""
gotosocial_smtp_from: ""
gotosocial_smtp_disclose_recipients: false
gotosocial_syslog_enabled: false
gotosocial_syslog_protocol: "udp"
gotosocial_syslog_address: "localhost:514"
gotosocial_request_id_header: "X-Request-Id"
gotosocial_tracing_enabled: false
gotosocial_tracing_transport: "grpc"
gotosocial_tracing_endpoint: "localhost:4317"
gotosocial_insecure_transport: false
gotosocial_http_client_timeout: "10s"
gotosocial_http_allow_ips: []
gotosocial_http_block_ips: []
gotosocial_tls_insecure_skip_verify: false