repositorio iniciado
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "http://{{MATRIX_SERVER_NAME}}:{{SYNAPSE_PORT}}",
|
||||
"server_name": "{{MATRIX_SERVER_NAME}}"
|
||||
}
|
||||
},
|
||||
"brand": "{{ELEMENT_BRAND}}",
|
||||
"showLabsSettings": true,
|
||||
"features": {
|
||||
"feature_new_layout": true,
|
||||
"feature_voice_messages": true,
|
||||
"feature_pinning": true,
|
||||
"feature_custom_status": true,
|
||||
"feature_custom_tags": true,
|
||||
"feature_state_counters": true,
|
||||
"feature_user_directory": true,
|
||||
"feature_explore_rooms": true
|
||||
},
|
||||
"default_federate": false,
|
||||
"default_theme": "{{ELEMENT_DEFAULT_THEME}}",
|
||||
"room_directory": {
|
||||
"servers": ["{{MATRIX_SERVER_NAME}}"]
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"http://{{MATRIX_SERVER_NAME}}:{{SYNAPSE_PORT}}": true
|
||||
},
|
||||
"disable_custom_urls": false,
|
||||
"disable_guests": false,
|
||||
"disable_login_language_selector": false,
|
||||
"disable_3pid_login": false,
|
||||
"brand_image_url": "",
|
||||
"welcomeUserId": "@welcome-bot:{{MATRIX_SERVER_NAME}}",
|
||||
"roomDirectory": {
|
||||
"servers": ["{{MATRIX_SERVER_NAME}}"],
|
||||
"include_all_known_servers": false
|
||||
},
|
||||
"permalink_prefix": "http://{{MATRIX_SERVER_NAME}}:{{ELEMENT_PORT}}",
|
||||
"bug_report_endpoint_url": ""
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
# Matrix Synapse Configuration Template
|
||||
# Replace variables with actual values before use
|
||||
|
||||
server_name: "{{MATRIX_SERVER_NAME}}"
|
||||
pid_file: /data/homeserver.pid
|
||||
|
||||
listeners:
|
||||
- port: 8008
|
||||
tls: false
|
||||
type: http
|
||||
x_forwarded: true
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- port: 8009
|
||||
tls: false
|
||||
type: http
|
||||
x_forwarded: true
|
||||
bind_addresses: ['0.0.0.0']
|
||||
resources:
|
||||
- names: [replication]
|
||||
compress: false
|
||||
|
||||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: "{{POSTGRES_USER}}"
|
||||
password: "{{POSTGRES_PASSWORD}}"
|
||||
database: "{{POSTGRES_DB}}"
|
||||
host: postgres
|
||||
cp_min: 5
|
||||
cp_max: 10
|
||||
allow_unsafe_locale: true
|
||||
|
||||
log_config: "/data/localhost.log.config"
|
||||
media_store_path: /data/media_store
|
||||
|
||||
registration_shared_secret: "{{REGISTRATION_SHARED_SECRET}}"
|
||||
report_stats: {{MATRIX_REPORT_STATS}}
|
||||
|
||||
enable_registration: {{ENABLE_REGISTRATION}}
|
||||
enable_registration_without_verification: {{ENABLE_REGISTRATION_WITHOUT_VERIFICATION}}
|
||||
|
||||
macaroon_secret_key: "{{MACAROON_SECRET_KEY}}"
|
||||
form_secret: "{{FORM_SECRET}}"
|
||||
signing_key_path: "/data/localhost.signing.key"
|
||||
|
||||
trusted_key_servers:
|
||||
- server_name: "matrix.org"
|
||||
suppress_key_server_warning: true
|
||||
|
||||
# User directory configuration
|
||||
user_directory:
|
||||
enabled: true
|
||||
search_all_users: true
|
||||
prefer_local_users: true
|
||||
|
||||
# Allow public room directory
|
||||
allow_public_rooms_without_auth: true
|
||||
allow_public_rooms_over_federation: true
|
||||
|
||||
# Room directory configuration
|
||||
room_list_publication_rules:
|
||||
- user_id: "*"
|
||||
alias: "*"
|
||||
room_id: "*"
|
||||
action: allow
|
||||
|
||||
# Application service configuration
|
||||
app_service_config_files: []
|
||||
|
||||
# Enable user search via federation
|
||||
user_directory_search_all_users: true
|
||||
|
||||
# Room creation settings
|
||||
room_prejoin_state:
|
||||
additional_event_types:
|
||||
- "m.room.canonical_alias"
|
||||
- "m.room.name"
|
||||
- "m.room.topic"
|
||||
- "m.room.avatar"
|
||||
|
||||
# Public room settings
|
||||
autocreate_auto_join_rooms: false
|
||||
auto_join_rooms: []
|
||||
|
||||
# Statistics and metrics
|
||||
enable_metrics: true
|
||||
stats:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user