|
@@ -34,7 +34,8 @@ affinity: {}
|
|
|
# Postgres pod configs
|
|
|
postgresql:
|
|
|
enabled: true
|
|
|
- postgresqlDatabase: mxtg
|
|
|
+ postgresqlDatabase: mxwa
|
|
|
+ postgresqlPassword: SET TO RANDOM STRING
|
|
|
persistence:
|
|
|
size: 2Gi
|
|
|
resources:
|
|
@@ -59,7 +60,7 @@ appservice:
|
|
|
botDisplayname: WhatsApp bridge bot
|
|
|
botAvatar: mxc://maunium.net/NeXNQarUbrlYBiPCpprYsRqr
|
|
|
|
|
|
- # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
|
|
|
+ # Authentication tokens for AS <-> HS communication.
|
|
|
asToken: SET TO RANDOM STRING
|
|
|
hsToken: SET TO RANDOM STRING
|
|
|
|
|
@@ -111,22 +112,26 @@ bridge:
|
|
|
"example.com": user
|
|
|
"@admin:example.com": admin
|
|
|
|
|
|
- relaybot:
|
|
|
- # Whether or not relaybot support is enabled.
|
|
|
- enabled: false
|
|
|
- # The management room for the bot. This is where all status notifications are posted and
|
|
|
- # in this room, you can use `!wa <command>` instead of `!wa relaybot <command>`. Omitting
|
|
|
- # the command prefix completely like in user management rooms is not possible.
|
|
|
- management: !foo:example.com
|
|
|
- # List of users to invite to all created rooms that include the relaybot.
|
|
|
- invites: []
|
|
|
- # The formats to use when sending messages to WhatsApp via the relaybot.
|
|
|
- message_formats:
|
|
|
- m.text: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
|
|
- m.notice: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
|
|
- m.emote: "* <b>{{ .Sender.Displayname }}</b> {{ .Message }}"
|
|
|
- m.file: "<b>{{ .Sender.Displayname }}</b> sent a file"
|
|
|
- m.image: "<b>{{ .Sender.Displayname }}</b> sent an image"
|
|
|
- m.audio: "<b>{{ .Sender.Displayname }}</b> sent an audio file"
|
|
|
- m.video: "<b>{{ .Sender.Displayname }}</b> sent a video"
|
|
|
- m.location: "<b>{{ .Sender.Displayname }}</b> sent a location"
|
|
|
+ relaybot:
|
|
|
+ # Whether or not relaybot support is enabled.
|
|
|
+ enabled: false
|
|
|
+ # The management room for the bot. This is where all status notifications are posted and
|
|
|
+ # in this room, you can use `!wa <command>` instead of `!wa relaybot <command>`. Omitting
|
|
|
+ # the command prefix completely like in user management rooms is not possible.
|
|
|
+ management: !foo:example.com
|
|
|
+ # List of users to invite to all created rooms that include the relaybot.
|
|
|
+ invites: []
|
|
|
+ # The formats to use when sending messages to WhatsApp via the relaybot.
|
|
|
+ message_formats:
|
|
|
+ m.text: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
|
|
+ m.notice: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
|
|
+ m.emote: "* <b>{{ .Sender.Displayname }}</b> {{ .Message }}"
|
|
|
+ m.file: "<b>{{ .Sender.Displayname }}</b> sent a file"
|
|
|
+ m.image: "<b>{{ .Sender.Displayname }}</b> sent an image"
|
|
|
+ m.audio: "<b>{{ .Sender.Displayname }}</b> sent an audio file"
|
|
|
+ m.video: "<b>{{ .Sender.Displayname }}</b> sent a video"
|
|
|
+ m.location: "<b>{{ .Sender.Displayname }}</b> sent a location"
|
|
|
+
|
|
|
+logging:
|
|
|
+ timestamp_format: Jan _2, 2006 15:04:05
|
|
|
+ print_level: debug
|