Merge pull request #3316 from bfabio/matrix-appservice-slack-puppeting
Add puppeting option to matrix-bridge-appservice-slack
This commit is contained in:
@ -105,6 +105,14 @@ matrix_appservice_slack_database_port: 5432
|
||||
matrix_appservice_slack_database_name: matrix_appservice_slack
|
||||
matrix_appservice_slack_database_sslmode: disable
|
||||
|
||||
matrix_appservice_slack_puppeting_enabled: false
|
||||
matrix_appservice_slack_puppeting_slackapp_client_id: ''
|
||||
matrix_appservice_slack_puppeting_slackapp_client_secret: ''
|
||||
matrix_appservice_slack_puppeting_onboard_users: true
|
||||
|
||||
matrix_appservice_slack_team_sync_enabled: false
|
||||
matrix_appservice_slack_team_sync_alias_prefix: 'slack_'
|
||||
|
||||
# The name of the container network to use when importing a NeDB database into Postgres.
|
||||
# For Postgres not working in a container, this can be left empty.
|
||||
matrix_appservice_slack_database_container_network: ''
|
||||
|
@ -24,6 +24,26 @@ rtm:
|
||||
#
|
||||
log_level: "silent"
|
||||
|
||||
{% if matrix_appservice_slack_puppeting_enabled %}
|
||||
puppeting:
|
||||
enabled: true
|
||||
onboard_users: {{ matrix_appservice_slack_puppeting_onboard_users | to_json }}
|
||||
|
||||
oauth2:
|
||||
client_id: {{ matrix_appservice_slack_puppeting_slackapp_client_id | to_json }}
|
||||
client_secret: {{ matrix_appservice_slack_puppeting_slackapp_client_secret | to_json }}
|
||||
{% endif %}
|
||||
|
||||
{% if matrix_appservice_slack_team_sync_enabled %}
|
||||
team_sync:
|
||||
all:
|
||||
channels:
|
||||
enabled: true
|
||||
alias_prefix: {{ matrix_appservice_slack_team_sync_alias_prefix | to_json }}
|
||||
users:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
|
||||
{% if matrix_appservice_slack_database_engine == 'nedb' %}
|
||||
dbdir: "/data"
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user