-
Notifications
You must be signed in to change notification settings - Fork 1
/
configmap.yaml
107 lines (84 loc) · 2.35 KB
/
configmap.yaml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: v1
kind: ConfigMap
metadata:
name: matrix-synapse-config
labels:
app.kubernetes.io/name: matrix-synapse
app.kubernetes.io/instance: canary
# - '127.0.0.0/8'
# - '10.0.0.0/8'
data:
homeserver.yaml: |
enable_registration: true
server_name: "my.matrix.host"
pid_file: /data/homeserver.pid
use_presence: true
federation_ip_range_blacklist:
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
acme:
enabled: false
port: 80
bind_addresses: ['::', '0.0.0.0']
reprovision_threshold: 30
domain: matrix.example.com
account_key_file: /data/acme_account.key
#database:
# name: sqlite3
# args:
# database: /data/homeserver.db
database:
# The database engine name
name: "psycopg2"
# Arguments to pass to the engine
args:
user: matrix
password: matrix
database: matrix
host: "postgres.default.svc.cluster.local"
#hostaddr: "10.104.249.73"
port: "5432"
log_config: "/data/my.matrix.host.log.config"
media_store_path: "/data/media_store"
allow_guest_access: true
suppress_key_server_warning: true
allow_public_rooms_over_federation: true
report_stats: true
macaroon_secret_key: "^2UyGuTR+zNVp1zNV~z9uMgkLV*+RDCXCPAYwl#KQ0Bz+qN9j^"
form_secret: ":AdNU=&jKRU&u^+F9,6@E+GansKwHMK_g_QSCA=7cQ0eOR4iU7"
signing_key_path: /data/keys/my.matrix.host.signing.key"
my.matrix.host.log.config: |
version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
request: ""
handlers:
console:
class: logging.StreamHandler
formatter: precise
filters: [context]
loggers:
synapse:
level: WARNING
synapse.storage.SQL:
level: WARNING
root:
level: WARNING
handlers: [console]