|
3 tahun lalu | |
---|---|---|
.. | ||
1.postgres.yaml | 3 tahun lalu | |
2.synapse.yaml | 3 tahun lalu | |
3.service.yaml | 3 tahun lalu | |
README.md | 3 tahun lalu | |
client | 3 tahun lalu | |
server | 3 tahun lalu |
Source: https://nonedhudla.xyz/installing-synapse-on-kubernetes/ Changed version from v1.25.0
apply #1.
Uncomment the args and env lines in #2, then apply.
Then find homeserver.yaml in the PV path, and run:
ls /mnt/kubernetes/volumes/static/
kubectl delete deployment.apps synapse
vim /mnt/kubernetes/volumes/static/synapse-pv/homeserver.yaml
set pulbic_baseurl set admin_contact set enable_group_creation to true Comment out the 'database' section (sqlite3) Add database:
database:
name: psycopg2
args:
user: synapse-db
password: MaybeJetteroWillLike
database: synapse
host: postgres-service
cp_min: 5
cp_max: 10
Comment out the args and evn lines in #2 and reaply
apply 3.service.yaml
Copy files to s3
aws s3 cp server s3://monkeybox.org/.well-known/matrix/server aws s3 cp client s3://monkeybox.org/.well-known/matrix/client