Skip to content

Commit 553c434

Browse files
committed
config bind port
1 parent dc1bdb6 commit 553c434

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

roles/custom/matrix-bridge-appservice-irc/defaults/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ matrix_appservice_irc_config_path: "{{ matrix_appservice_irc_base_path }}/config
4646
matrix_appservice_irc_data_path: "{{ matrix_appservice_irc_base_path }}/data"
4747

4848
matrix_appservice_irc_homeserver_url: ""
49-
matrix_appservice_irc_homeserver_media_url: '{{ matrix_homeserver_url }}'
49+
matrix_appservice_irc_homeserver_media_url: '{{ matrix_homeserver_url }}/irc/'
50+
martix_appservice_irc_homeserver_media_bind_port: 11111
5051
matrix_appservice_irc_homeserver_domain: '{{ matrix_domain }}'
5152
matrix_appservice_irc_homeserver_enablePresence: true # noqa var-naming
5253
matrix_appservice_irc_appservice_address: 'http://matrix-appservice-irc:9999'

roles/custom/matrix-bridge-appservice-irc/templates/config.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ircService:
141141
# How long should the generated URLs be valid for
142142
ttlSeconds: 604800
143143
# The port for the media proxy to listen on
144-
bindPort: {{ matrix_media_repo_port | to_json }}
144+
bindPort: {{ matrix_appservice_irc_homeserver_media_bind_port | to_json }}
145145
# The publically accessible URL to the media proxy
146146
publicUrl: "{{ matrix_appservice_irc_homeserver_media_url }}"
147147

0 commit comments

Comments
 (0)