Skip to content

Commit

Permalink
Merge pull request #614 from matrix-org/hs/m-a-b-3.0.0
Browse files Browse the repository at this point in the history
Upgrade to matrix-appservice-bridge 3.0.0
  • Loading branch information
Half-Shot committed Sep 28, 2021
2 parents c4679a1 + c16ad38 commit b16d9ad
Show file tree
Hide file tree
Showing 26 changed files with 7,014 additions and 184 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ EXPOSE 9898
EXPOSE 5858

ENTRYPOINT [ "node", "lib/app.js", "-c", "/config/config.yaml" ]
CMD [ "-p", "5858", "-f", "/config/slack-registration.yaml" ]
CMD [ "-f", "/config/slack-registration.yaml" ]
1 change: 1 addition & 0 deletions changelog.d/614.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update bridge to matrix-appservice-bridge 3.1.0
1 change: 1 addition & 0 deletions config/config.sample-complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ homeserver:
media_url: "http://my.server.here"
max_upload_size: 104857600
appservice_port: 5858
appservice_host: 0.0.0.0

username_prefix: "slack_"

Expand Down
5 changes: 4 additions & 1 deletion config/config.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ homeserver:
#max_upload_size: 104857600

# Optional. Used to specify the port of the appservice in the config, rather than the command line.
# If this is defined, it will **override** the port given in the process arguments.
# This will be overriden by any ports given in the process arguments.
#
#appservice_port: 5858

# Optional. Used to specify the host to listen on for the appservice.
# appservice_host: 0.0.0.0

# The prefix to give Slack users on the Matrix server
#
username_prefix: "slack_"
Expand Down
2 changes: 2 additions & 0 deletions config/slack-config-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ properties:
type: number
appservice_port:
type: number
appservice_host:
type: string
tls:
type: object
required: ["key_file", "crt_file"]
Expand Down
Loading

0 comments on commit b16d9ad

Please sign in to comment.