Created
July 23, 2022 21:31
-
-
Save anonfloppa/a92ca57b9bb2ee00f6b29354ec87d389 to your computer and use it in GitHub Desktop.
vars.yml configuration file of anontier for use with https://github.com/spantaleev/matrix-docker-ansible-deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### PASSWORDS ####### | |
# A shared secret (between Coturn and Synapse) used for authentication. | |
# You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`). | |
matrix_coturn_turn_static_auth_secret: '[REDACTED]' | |
# A secret used to protect access keys issued by the server. | |
# You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`). | |
matrix_synapse_macaroon_secret_key: '[REDACTED]' | |
# A Postgres password to use for the superuser Postgres user (called `matrix` by default). | |
# | |
# The playbook creates additional Postgres users and databases (one for each enabled service) | |
# using this superuser account. | |
matrix_postgres_connection_password: '[REDACTED]' | |
matrix_grafana_default_admin_user: "[REDACTED]" | |
matrix_grafana_default_admin_password: "[REDACTED]" | |
matrix_bot_mjolnir_enabled: true | |
matrix_bot_mjolnir_access_token: "[REDACTED]" | |
matrix_bot_mjolnir_management_room: "[REDACTED]" | |
###### PASSWORDS ####### | |
matrix_client_element_branding_welcomeBackgroundUrl: "https://anontier.nl/background.jpg" | |
matrix_client_element_default_theme: 'dark' | |
matrix_client_element_disable_guests: false | |
matrix_client_element_roomdir_servers: ['waifuhunter.club', 'midov.pl', 'nerdsin.space', 'cuteworld.space'] | |
# midov pink request | |
matrix_client_element_themes_enabled: true | |
matrix_client_element_themes_repository_url: https://github.com/anonfloppa/element-themes | |
matrix_client_element_welcome_headline: "Welcome to anontier.nl" | |
matrix_client_element_welcome_text: Free Speech Matrix Server.<p>By using this Matrix service, you agree to the <a href="https://anontier.nl/tos.html">terms and conditions</a><p>You can use Element to create a new account.<br>If it doesn't work, you can use our <a href="https://matrix.anontier.nl/matrix-registration/register">custom registration form</a> to register with a captcha. | |
matrix_common_after_systemd_service_start_wait_for_timeout_seconds: 40 | |
matrix_coturn_turn_external_ip_address: '205.185.117.116' | |
matrix_domain: anontier.nl | |
matrix_grafana_anonymous_access: false | |
matrix_grafana_enabled: true | |
matrix_homeserver_generic_secret_key: "{{ matrix_synapse_macaroon_secret_key }}" | |
matrix_nginx_proxy_access_log_enabled: false | |
matrix_nginx_proxy_base_domain_homepage_enabled: false | |
matrix_nginx_proxy_base_domain_serving_enabled: true | |
matrix_nginx_proxy_proxy_matrix_client_api_client_max_body_size_mb: 400 | |
# default is 60. Increased to a little over 3 minutes. | |
matrix_nginx_proxy_read_timeout: 200 | |
matrix_nginx_proxy_worker_processes: 4 | |
# do not forward the user ip to synapse | |
matrix_nginx_proxy_x_forwarded_for: 127.0.0.1 | |
# DB Version: 13 | |
# OS Type: linux | |
# DB Type: mixed | |
# Total Memory (RAM): 20 GB | |
# CPUs num: 5 | |
# Data Storage: ssd | |
# URL: https://pgtune.leopard.in.ua | |
matrix_postgres_process_extra_arguments: [ | |
"-c max_connections=250", | |
"-c shared_buffers=5GB", | |
"-c effective_cache_size=15GB", | |
"-c maintenance_work_mem=1280MB", | |
"-c checkpoint_completion_target=0.9", | |
"-c wal_buffers=16MB", | |
"-c default_statistics_target=100", | |
"-c random_page_cost=1.1", | |
"-c effective_io_concurrency=200", | |
"-c work_mem=8738kB", | |
"-c min_wal_size=1GB", | |
"-c max_wal_size=4GB", | |
"-c max_worker_processes=5", | |
"-c max_parallel_workers_per_gather=3", | |
"-c max_parallel_workers=5", | |
"-c max_parallel_maintenance_workers=3" | |
] | |
matrix_prometheus_enabled: true | |
matrix_prometheus_node_exporter_enabled: true | |
matrix_prometheus_postgres_exporter_enabled: true | |
# matrix-registration | |
matrix_registration_admin_secret: "THIS IS NOT NEEDED BUT WHATEVER" | |
matrix_registration_docker_image: "{{ matrix_registration_docker_image_name_prefix }}anonfloppa/matrix-registration:{{ matrix_registration_version }}" | |
matrix_registration_enabled: true | |
matrix_registration_version: "v0.7.2.3" | |
matrix_ssl_lets_encrypt_support_email: '[email protected]' | |
matrix_synapse_admin_enabled: true | |
matrix_synapse_allow_guest_access: true | |
matrix_synapse_allow_public_rooms_over_federation: true | |
matrix_synapse_caches_global_factor: 4.0 | |
matrix_synapse_configuration_extension_yaml: | | |
enable_search: true | |
limit_remote_rooms: | |
enabled: true | |
complexity: 2.0 | |
admins_can_join: true | |
dummy_events_threshold: 6 | |
allow_device_name_lookup_over_federation: false | |
caches: | |
sync_response_cache_duration: 2m | |
per_cache_factors: | |
_get_joined_profile_from_event_id: 7.0 | |
stateGroupMembersCache: 10.0 | |
matrix_synapse_database_txn_limit: 10000 | |
matrix_synapse_enable_registration: false | |
# I want to spam the federation :P | |
matrix_synapse_enable_registration_without_verification: true | |
matrix_synapse_encryption_enabled_by_default_for_room_type: invite | |
matrix_synapse_log_level: "ERROR" | |
matrix_synapse_storage_sql_log_level: "ERROR" | |
matrix_synapse_root_log_level: "ERROR" | |
matrix_synapse_max_upload_size_mb: 400 | |
#https://github.com/spantaleev/matrix-docker-ansible-deploy/commit/e3fa3e12bc263d3bc39948e654c439a9f97e9e88 | |
matrix_synapse_presence_enabled: false | |
# try to make anontier feel faster by increasing msg per second allowed (default 1 per 5 seconds) | |
matrix_synapse_rc_message: | |
per_second: 0.7 | |
burst_count: 5 | |
matrix_synapse_redaction_retention_period: 1m | |
matrix_synapse_redis_enabled: true | |
# avoid timeout when compressing state | |
matrix_synapse_rust_synapse_compress_state_compress_room_time: 28000 | |
matrix_synapse_rust_synapse_compress_state_find_rooms_command_wait_time: 3600 | |
# The minimum number of state groups we're looking for before we consider a room eligible for compression. | |
# Rooms with a smaller state groups count will not be compressed. | |
matrix_synapse_rust_synapse_compress_state_min_state_groups_required: 1000000 | |
matrix_synapse_rust_synapse_compress_state_psql_import_time: 5600 | |
# user ip is set to 127.0.0.1 | |
matrix_synapse_user_ips_max_age: 60m | |
matrix_synapse_workers_enabled: true | |
matrix_synapse_workers_generic_workers_count: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment