mautrix-discord
by Helm
Helm chartv0.6.0App 0.6.0MIT
A Matrix-Discord puppeting bridge.
About this chart
mautrix-discord
A Matrix-Discord puppeting bridge.
Homepage: https://matrix.to/#/#discord:maunium.net
Maintainers
| Name | Url | |
|---|---|---|
| Mike Cronce | [email protected] |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| config.appservice.address | string | "" | |
| config.appservice.as_token | string | "This value is generated when generating the registration" | |
| config.appservice.async_transactions | bool | false | |
| config.appservice.bot.avatar | string | "mxc://maunium.net/nIdEykemnwdisvHbpxflpDlC" | |
| config.appservice.bot.displayname | string | "Discord bridge bot" | |
| config.appservice.bot.username | string | "discordbot" | |
| config.appservice.database.max_conn_idle_time | string | nil | |
| config.appservice.database.max_conn_lifetime | string | nil | |
| config.appservice.database.max_idle_conns | int | 2 | |
| config.appservice.database.max_open_conns | int | 20 | |
| config.appservice.database.type | string | "postgres" | |
| config.appservice.database.uri | string | "postgres://user:password@host/database?sslmode=disable" | |
| config.appservice.ephemeral_events | bool | true | |
| config.appservice.hostname | string | "0.0.0.0" | |
| config.appservice.hs_token | string | "This value is generated when generating the registration" | |
| config.appservice.id | string | "discord" | |
| config.appservice.port | int | 80 | |
| config.bridge.animated_sticker.args.fps | int | 25 | |
| config.bridge.animated_sticker.args.height | int | 320 | |
| config.bridge.animated_sticker.args.width | int | 320 | |
| config.bridge.animated_sticker.target | string | "webp" | |
| config.bridge.autojoin_thread_on_open | bool | true | |
| config.bridge.backfill.forward_limits.initial.channel | int | 0 | |
| config.bridge.backfill.forward_limits.initial.dm | int | 0 | |
| config.bridge.backfill.forward_limits.missed.channel | int | 0 | |
| config.bridge.backfill.forward_limits.missed.dm | int | 0 | |
| config.bridge.backfill.max_guild_members | int | -1 | |
| config.bridge.channel_name_template | string | "{{ \"{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}\" }}" | |
| config.bridge.command_prefix | string | "!discord" | |
| config.bridge.custom_emoji_reactions | bool | true | |
| config.bridge.delete_portal_on_channel_delete | bool | false | |
| config.bridge.delivery_receipts | bool | false | |
| config.bridge.displayname_template | string | "{{ \"{{.Username}}#{{.Discriminator}}{{if .Bot}} (bot){{end}}\" }}" | |
| config.bridge.double_puppet_allow_discovery | bool | false | |
| config.bridge.double_puppet_server_map | object | {} | |
| config.bridge.embed_fields_as_tables | bool | true | |
| config.bridge.encryption.allow | bool | false | |
| config.bridge.encryption.allow_key_sharing | bool | false | |
| config.bridge.encryption.appservice | bool | false | |
| config.bridge.encryption.default | bool | false | |
| config.bridge.encryption.delete_keys.delete_fully_used_on_decrypt | bool | false | |
| config.bridge.encryption.delete_keys.delete_on_device_delete | bool | false | |
| config.bridge.encryption.delete_keys.delete_outbound_on_ack | bool | false | |
| config.bridge.encryption.delete_keys.delete_prev_on_new_session | bool | false | |
| config.bridge.encryption.delete_keys.dont_store_outbound | bool | false | |
| config.bridge.encryption.delete_keys.periodically_delete_expired | bool | false | |
| config.bridge.encryption.delete_keys.ratchet_on_decrypt | bool | false | |
| config.bridge.encryption.require | bool | false | |
| config.bridge.encryption.rotation.enable_custom | bool | false | |
| config.bridge.encryption.rotation.messages | int | 100 | |
| config.bridge.encryption.rotation.milliseconds | int | 604800000 | |
| config.bridge.encryption.verification_levels.receive | string | "unverified" | |
| config.bridge.encryption.verification_levels.send | string | "unverified" | |
| config.bridge.encryption.verification_levels.share | string | "cross-signed-tofu" | |
| config.bridge.federate_rooms | bool | true | |
| config.bridge.guild_name_template | string | "{{ \"{{.Name}}\" }}" | |
| config.bridge.login_shared_secret_map | object | {} | |
| config.bridge.management_room_text.additional_help | string | "" | |
| config.bridge.management_room_text.welcome | string | "Hello, I'm a Discord bridge bot." | |
| config.bridge.management_room_text.welcome_connected | string | "Use help for help." | |
| config.bridge.management_room_text.welcome_unconnected | string | "Use helpfor help orlogin to log in." | |
| config.bridge.message_error_notices | bool | true | |
| config.bridge.message_status_events | bool | false | |
| config.bridge.mute_channels_on_create | bool | false | |
| config.bridge.permissions | object | {} | |
| config.bridge.portal_message_buffer | int | 128 | |
| config.bridge.private_chat_portal_meta | string | "default" | |
| config.bridge.provisioning.prefix | string | "/_matrix/provision" | |
| config.bridge.provisioning.shared_secret | string | "generate" | |
| config.bridge.resend_bridge_info | bool | false | |
| config.bridge.restricted_rooms | bool | true | |
| config.bridge.startup_private_channel_create_limit | int | 5 | |
| config.bridge.sync_direct_chat_list | bool | false | |
| config.bridge.username_template | string | "discord_{{ \"{{.}}\" }}" | |
| config.homeserver.address | string | "" | |
| config.homeserver.async_media | bool | false | |
| config.homeserver.domain | string | "" | |
| config.homeserver.message_send_checkpoint_endpoint | string | nil | |
| config.homeserver.software | string | "standard" | |
| config.homeserver.status_endpoint | string | nil | |
| config.logging.directory | string | "/data/logs" | |
| config.logging.file_date_format | string | "2006-01-02" | |
| config.logging.file_json | bool | false | |
| config.logging.file_mode | int | 384 | |
| config.logging.file_name_format | string | "{{ \"{{.Date}}-{{.Index}}.log\" }}" | |
| config.logging.print_json | bool | false | |
| config.logging.print_level | string | "debug" | |
| config.logging.timestamp_format | string | "Jan _2, 2006 15:04:05" | |
| deploymentAnnotations | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "dock.mau.dev/mautrix/discord" | |
| image.tag | string | "{{ .Chart.AppVersion }}" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.class | string | nil | |
| ingress.enabled | bool | false | |
| ingress.hosts[0] | string | "chart-example.local" | |
| ingress.path | string | "/" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | |
| persistence.enabled | bool | false | |
| persistence.existingClaim | string | "" | |
| persistence.size | string | "128Mi" | |
| persistence.storageClass | string | "" | |
| podAnnotations | object | {} | |
| podSecurityContext.sysctls[0].name | string | "net.ipv4.ip_unprivileged_port_start" | |
| podSecurityContext.sysctls[0].value | string | "0" | |
| probes.liveness.failureThreshold | int | 5 | |
| probes.liveness.periodSeconds | int | 10 | |
| probes.readiness.failureThreshold | int | 5 | |
| probes.readiness.periodSeconds | int | 10 | |
| probes.startup.failureThreshold | int | 30 | |
| probes.startup.initialDelaySeconds | int | 5 | |
| probes.startup.periodSeconds | int | 10 | |
| registration.rate_limited | bool | false | |
| replicaCount | int | 1 | |
| resources.limits.cpu | int | 1 | |
| resources.limits.memory | string | "128Mi" | |
| resources.requests.cpu | string | "100m" | |
| resources.requests.memory | string | "64Mi" | |
| securityContext | object | {} | |
| service.clusterIP | string | "None" | |
| service.externalTrafficPolicy | string | nil | |
| service.port | int | 80 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | nil | |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.11.0
Deploy mautrix-discord with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mautrix-discord 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmautrix-discord is pinned at v0.6.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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