Repository navigation
Expand file tree
/
Copy pathhomeserver.yaml.example
More file actions
83 lines (82 loc) · 3 KB
/
Copy pathhomeserver.yaml.example
File metadata and controls
83 lines (82 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Configuration file for Synapse.
#
# This is a YAML file: see [1] for a quick introduction. Note in particular
# that *indentation is important*: all the elements of a list or dictionary
# should have the same indentation.
#
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
#
# For more information on how to configure Synapse, including a complete accounting of
# each option, go to docs/usage/configuration/config_documentation.md or
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
server_name: "localhost"
pid_file: homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: ["::1", "127.0.0.1"]
resources:
- names: [client, federation]
compress: false
database:
name: sqlite3
args:
database: homeserver.db
log_config: "./localhost.log.config"
media_store_path: ./media_store
# registration_shared_secret: "..."
report_stats: false
macaroon_secret_key: "..."
form_secret: "..."
signing_key_path: "<PATH_TO_SIGNING_KEY>"
trusted_key_servers:
- server_name: "matrix.org"
suppress_key_server_warning: true
registration_requires_token: false
enable_registration: false
# enable_registration_without_verification: true
password_config:
enabled: true
localdb_enabled: false
password_providers:
- module: modules.rest_auth_provider.rest_auth_provider.RestAuthProvider
config:
api_base: "http://0.0.0.0:9000"
admins:
- "@admin:localhost"
modules:
- module: modules.vod_service.module.VodServiceModule
config:
object_storage_base_url: "https://objectstorage.<REGIAO>.oraclecloud.com"
namespace: "<NAMESPACE>"
bucket: "vod-teste"
- module: modules.room_service.module.RoomServiceModule
config:
admin_user_id: "@admin:localhost" # IMPORTANTE!!! PRECISA ADAPTAR CASO A CASO
admin_token_file: "/data/admin_token.txt"
homeserver: "http://localhost:3000"
- module: modules.room_features_service.module.RoomFeaturesServiceModule
config:
admin_user_id: "@admin:localhost" # IMPORTANTE!!! PRECISA ADAPTAR CASO A CASO
admin_token_file: "/data/admin_token.txt"
homeserver: "http://localhost:3000"
- module: modules.schedule_service.module.ScheduleServiceModule
config:
google_api_key_file: "/data/google_api_key.txt"
timezone: "America/Sao_Paulo"
- module: modules.room_streams_service.module.RoomStreamsServiceModule
config:
admin_user_id: "@admin:localhost"
admin_token_file: "/data/admin_token.txt"
homeserver: "http://localhost:3000"
- module: modules.youtube_live_service.module.YoutubeLiveServiceModule
config:
youtube_client_id: "123456789.apps.googleusercontent.com"
youtube_client_secret_file: "/data/youtube_client_secret.txt"
youtube_refresh_token_file: "/data/youtube_refresh_token.txt"
# Only for local development without real credentials (returns FAKE
# broadcasts; never enable in production):
# youtube_use_mock: true
# vim:ft=yaml