synapse

by halkeye

Helm chartv0.40.0App v1.111.0MIT

The reference implementation for a Matrix.org chat server

About this chart

synapse

The reference implementation for a Matrix.org chat server

Homepage: https://github.com/matrix-org/synapse

Maintainers

NameEmailUrl
Gavin Mogan[email protected]

Source Code

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql~12.3.0
https://charts.bitnami.com/bitnamiredis~17.10.0

Values

KeyTypeDefaultDescription
affinityobject{}
cacheFactorfloat0.5How much data should be cached in ram - See https://github.com/matrix-org/synapse#help-synapse-is-slow-and-eats-all-my-ramcpu
database.hoststringnil
database.modestring"sqlite"
database.namestring"synapse"
database.passwordstringnil
database.portint5432
database.usernamestring"synapse"
deploymentAnnotationsobject{}
existingMediaClaimstringnil
extraConfigsobject{}
extra_python_modules[0]string"https://github.com/devture/matrix-synapse-shared-secret-auth/archive/refs/tags/2.0.2.zip"
extra_python_modules[1]string"https://github.com/t2bot/synapse-simple-antispam/archive/refs/heads/master.zip#egg=synapse-simple-antispam"
federation_sender.redis.enabledbooltrue
federation_sender.redis.hoststring"synapse-redis-master.matrix.svc.cluster.local"
federation_sender.redis.passwordstring"riches-jarring-acts"
federation_sender.worker_appstring"synapse.app.federation_sender"
federation_sender.worker_listeners[0].portint8083
federation_sender.worker_listeners[0].resources[0].names[0]string"federation"
federation_sender.worker_listeners[0].typestring"http"
federation_sender.worker_log_configstring"/config/log.config"
federation_sender.worker_namestring"federation_sender"
fullnameOverridestring""
generic_worker.redis.enabledbooltrue
generic_worker.redis.hoststring"synapse-redis-master.matrix.svc.cluster.local"
generic_worker.redis.passwordstring"riches-jarring-acts"
generic_worker.worker_appstring"synapse.app.generic_worker"
generic_worker.worker_listeners[0].portint8083
generic_worker.worker_listeners[0].resources[0].names[0]string"federation"
generic_worker.worker_listeners[0].typestring"http"
generic_worker.worker_log_configstring"/config/log.config"
homeserver.account_threepid_delegatesobject{}
homeserver.account_validitystringnil
homeserver.acme.account_key_filestring"/data/acme_account.key"
homeserver.acme.bind_addresses[0]string"::"
homeserver.acme.bind_addresses[1]string"0.0.0.0"
homeserver.acme.domainstring"matrix.example.com"
homeserver.acme.enabledboolfalse
homeserver.acme.portint80
homeserver.acme.reprovision_thresholdint30
homeserver.database.args.databasestring"/data/homeserver.db"
homeserver.database.namestring"sqlite3"
homeserver.emailstringnil
homeserver.enable_metricsbooltrue
homeserver.federation_ip_range_blacklist[0]string"127.0.0.0/8"
homeserver.federation_ip_range_blacklist[1]string"10.0.0.0/8"
homeserver.federation_ip_range_blacklist[2]string"172.16.0.0/12"
homeserver.federation_ip_range_blacklist[3]string"192.168.0.0/16"
homeserver.federation_ip_range_blacklist[4]string"100.64.0.0/10"
homeserver.federation_ip_range_blacklist[5]string"169.254.0.0/16"
homeserver.federation_ip_range_blacklist[6]string"::1/128"
homeserver.federation_ip_range_blacklist[7]string"fe80::/64"
homeserver.federation_ip_range_blacklist[8]string"fc00::/7"
homeserver.federation_sender_instances[0]string"federation_sender"
homeserver.form_secretstring""
homeserver.instance_map.federation_sender.hoststring"{{ include \"synapse.fullname\" . }}-federation-sender"
homeserver.instance_map.federation_sender.portint8083
homeserver.instance_map.main.hoststring"{{ include \"synapse.fullname\" . }}"
homeserver.instance_map.main.portint9093
homeserver.instance_map.master.hoststring"{{ include \"synapse.fullname\" . }}"
homeserver.instance_map.master.portint9093
homeserver.instance_map.worker.hoststring"{{ include \"synapse.fullname\" . }}-worker"
homeserver.instance_map.worker.portint8083
homeserver.listeners[0].bind_addresses[0]string"0.0.0.0"
homeserver.listeners[0].portint9000
homeserver.listeners[0].typestring"metrics"
homeserver.listeners[1].bind_addresses[0]string"0.0.0.0"
homeserver.listeners[1].portint9093
homeserver.listeners[1].resources[0].names[0]string"replication"
homeserver.listeners[1].typestring"http"
homeserver.listeners[2].portint8008
homeserver.listeners[2].resources[0].compressbooltrue
homeserver.listeners[2].resources[0].names[0]string"client"
homeserver.listeners[2].resources[1].compressboolfalse
homeserver.listeners[2].resources[1].names[0]string"federation"
homeserver.listeners[2].tlsboolfalse
homeserver.listeners[2].typestring"http"
homeserver.listeners[2].x_forwardedbooltrue
homeserver.log_configstring"/config/log.config"
homeserver.macaroon_secret_keystring""
homeserver.media_store_pathstring"/data/media_store"
homeserver.metrics_flagsstringnil
homeserver.old_signing_keysstringnil
homeserver.opentracingstringnil
homeserver.outbound_federation_restricted_to[0]string"federation_sender"
homeserver.password_configstringnil
homeserver.pid_filestring"/data/homeserver.pid"
homeserver.redis.enabledbooltrueIf you want workers/distributed processing, you want redis as of 1.67 https://matrix-org.github.io/synapse/v1.67/upgrade.html#direct-tcp-replication-is-no-longer-supported-migrate-to-redis
homeserver.redis.hoststring"{{ include \"synapse.fullname\" . }}-redis-master"
homeserver.redis.passwordstring"riches-jarring-acts"
homeserver.registration_shared_secretstring""
homeserver.report_statsbooltrue
homeserver.retentionstringnil
homeserver.saml2_config.user_mapping_provider.configstringnil
homeserver.send_federationboolfalse
homeserver.server_namestring"server_name"
homeserver.signing_key_pathstring"/data/server_name.signing.key"
homeserver.ssostringnil
homeserver.trusted_key_servers[0].server_namestring"matrix.org"
homeserver.worker_replication_secretstring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/element-hq/synapse"
image.tagstring"{{ .Chart.AppVersion }}"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.ingressClassNamestringnil
ingress.tlslist[]
logconfig.disable_existing_loggersboolfalse
logconfig.filters.context.()string"synapse.logging.context.LoggingContextFilter"
logconfig.filters.context.requeststring""
logconfig.formatters.precise.formatstring"%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s"
logconfig.handlers.console.classstring"logging.StreamHandler"
logconfig.handlers.console.filters[0]string"context"
logconfig.handlers.console.formatterstring"precise"
logconfig.handlers.file.backupCountint10
logconfig.handlers.file.classstring"logging.handlers.RotatingFileHandler"
logconfig.handlers.file.encodingstring"utf8"
logconfig.handlers.file.filenamestring"/data/homeserver.log"
logconfig.handlers.file.filters[0]string"context"
logconfig.handlers.file.formatterstring"precise"
logconfig.handlers.file.maxBytesint104857600
logconfig.loggers."synapse.storage.SQL".levelstring"INFO"
logconfig.root.handlers[0]string"file"
logconfig.root.handlers[1]string"console"
logconfig.root.levelstring"INFO"
logconfig.versionint1
nameOverridestring""
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteMany"
persistence.enabledboolfalse
persistence.existingClaimstringnil
persistence.sizestring"8Gi"
persistence.storageClassNamestringnil
podAnnotationsobject{}
podSecurityContextobject{}
postgresql.enabledboolfalse
probes.liveness.failureThresholdint5
probes.liveness.initialDelaySecondsint5
probes.liveness.periodSecondsint10
probes.readiness.failureThresholdint5
probes.readiness.initialDelaySecondsint5
probes.readiness.periodSecondsint10
probes.startup.failureThresholdint30
probes.startup.initialDelaySecondsint5
probes.startup.periodSecondsint10
redis.auth.passwordstring"riches-jarring-acts"
redis.enabledbooltrue
replicaCounts.federation_senderint1
replicaCounts.generic_workerint1
replicaCounts.masterint1
resourcesobject{}
securityContextobject{}
service.externalTrafficPolicystringnil
service.portint8443
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestringnil
settings.gidstring"991"
settings.report_statsstring"yes"
settings.uidstring"991"
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy synapse with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has synapse on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsynapse is pinned at v0.40.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply