-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
st2chatops.env
159 lines (137 loc) · 5.77 KB
/
st2chatops.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
export ST2_HOSTNAME="${ST2_HOSTNAME:-localhost}"
#####################################################################
# Hubot settings
# set if you don’t have a valid SSL certificate.
export NODE_TLS_REJECT_UNAUTHORIZED="${NODE_TLS_REJECT_UNAUTHORIZED:-0}"
# Hubot port - must be accessible from StackStorm
export EXPRESS_PORT="${EXPRESS_PORT:-8081}"
# Log level
export HUBOT_LOG_LEVEL="${HUBOT_LOG_LEVEL:-debug}"
# Bot name
export HUBOT_NAME="${HUBOT_NAME:-hubot}"
export HUBOT_ALIAS="${HUBOT_ALIAS:-!}"
######################################################################
# StackStorm settings
# StackStorm API endpoint.
export ST2_API_URL="${ST2_API_URL:-https://${ST2_HOSTNAME}/api}"
# StackStorm auth endpoint.
export ST2_AUTH_URL="${ST2_AUTH_URL:-https://${ST2_HOSTNAME}/auth}"
# StackStorm stream endpoint.
export ST2_STREAM_URL="${ST2_STREAM_URL:-https://${ST2_HOSTNAME}/stream}"
# StackStorm API key
export ST2_API_KEY="${ST2_API_KEY}"
# ST2 credentials. Fill in to use any stackstorm account.
# ST2 username:password pair will result in authentication token re-generation.
# (Uncomment ST2_AUTH_URL, ST2_AUTH_USERNAME, ST2_AUTH_PASSWORD and comment out ST2_API_KEY)
export ST2_AUTH_USERNAME="${ST2_AUTH_USERNAME:-st2admin}"
export ST2_AUTH_PASSWORD="${ST2_AUTH_PASSWORD:-testp}"
# Public URL of StackStorm instance: used it to offer links to execution details in a chat.
export ST2_WEBUI_URL="${ST2_WEBUI_URL:-https://${ST2_HOSTNAME}}"
######################################################################
# Chat service adapter settings
# Uncomment one of the adapter blocks below.
# Currently supported:
# - slack
# - botframework (Microsoft Teams)
# - xmpp
# - flowdock
# - spark
# - irc
# - matteruser
# - rocketchat
# For using other adapters refer to the "Using an external adapter" doc:
# https://docs.stackstorm.com/chatops/chatops.htm
# Slack settings (https://github.com/slackhq/hubot-slack):
#
# export HUBOT_ADAPTER=slack
# Obtain the Slack token from your app page at api.slack.com, it's the "Bot
# User OAuth Access Token" in the "OAuth & Permissions" section.
# export HUBOT_SLACK_TOKEN=xoxb-CHANGE-ME-PLEASE
# Uncomment the following line to force hubot to exit if disconnected from slack.
# export HUBOT_SLACK_EXIT_ON_DISCONNECT=1
# Uncomment line to use rtm connect - needed for new Hubot installs
# export HUBOT_SLACK_RTM_CLIENT_OPTS='{"useRtmConnect": "true"}'
# Microsoft Teams settings (https://github.com/Microsoft/BotFramework-Hubot)
# Uses the BotFramework
#
# export HUBOT_ADAPTER=botframework
# export BOTBUILDER_APP_ID=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
# export BOTBUILDER_APP_PASSWORD=<password>
# Optional:
# BotBuilder endpoint - defaults to /api/messages
# export BOTBUILDER_ENDPOINT=/api/messages
# When set to true, restricts sending commands to hubot to a specific set of
# users in Teams. Messages from all non-Teams channels are blocked.
# Authorization is disabled by default.
# export HUBOT_TEAMS_ENABLE_AUTH=false
# Required if HUBOT_TEAMS_ENABLE_AUTH is true. A comma-separated list of user
# principal names (UPNs). The users on this list will be admins and able to
# send commands to hubot when the hubot is first run with authorization
# enabled.
# export HUBOT_TEAMS_INITIAL_ADMINS=''
# Comma seperated list of Office365 tenant IDs that are allowed to communicate
# with your hubot. By default ALL Office365 tenants can communicate with your
# hubot if they sideload your application manifest.
# export HUBOT_OFFICE365_TENANT_FILTER=''
# XMPP settings (https://github.com/markstory/hubot-xmpp):
#
# export HUBOT_ADAPTER=xmpp
# export HUBOT_XMPP_USERNAME=CHANGE-ME-PLEASE
# export HUBOT_XMPP_PASSWORD=CHANGE-ME-PLEASE
# export HUBOT_XMPP_ROOMS=CHANGE-ME-PLEASE
# export HUBOT_XMPP_HOST=CHANGE-ME-PLEASE
# export HUBOT_XMPP_PORT=CHANGE-ME-PLEASE
# FlowDock settings (https://github.com/flowdock/hubot-flowdock):
#
# export HUBOT_ADAPTER=flowdock
# export HUBOT_FLOWDOCK_API_TOKEN=CHANGE-ME-PLEASE
# export HUBOT_FLOWDOCK_LOGIN_EMAIL=CHANGE-ME-PLEASE
# export HUBOT_FLOWDOCK_LOGIN_PASSWORD=CHANGE-ME-PLEASE
# Cisco Spark settings (https://github.com/tonybaloney/hubot-spark):
#
# export HUBOT_ADAPTER=spark
# export HUBOT_SPARK_API_URI=https://api.ciscospark.com/v1
# export HUBOT_SPARK_ACCESS_TOKEN=CHANGE-ME-PLEASE
# export HUBOT_SPARK_ROOMS=CHANGE-ME-PLEASE
# IRC settings (https://github.com/nandub/hubot-irc):
#
# export HUBOT_ADAPTER=irc
# export HUBOT_IRC_SERVER=CHANGE-ME-PLEASE
# export HUBOT_IRC_PORT=CHANGE-ME-PLEASE
# export HUBOT_IRC_NICK=CHANGE-ME-PLEASE
# export HUBOT_IRC_PASSWORD=CHANGE-ME-PLEASE
# export HUBOT_IRC_ROOMS=CHANGE-ME-PLEASE
# export HUBOT_IRC_NICKSERV_USERNAME=CHANGE-ME-PLEASE
# export HUBOT_IRC_NICKSERV_PASSWORD=CHANGE-ME-PLEASE
# export HUBOT_IRC_SERVER_FAKE_SSL=CHANGE-ME-PLEASE
# export HUBOT_IRC_USESSL=CHANGE-ME-PLEASE
# export HUBOT_IRC_UNFLOOD=CHANGE-ME-PLEASE
# Mattermost settings (https://github.com/loafoe/hubot-matteruser):
#
# export HUBOT_ADAPTER=matteruser
# export MATTERMOST_HOST=CHANGE-ME-PLEASE
# export MATTERMOST_GROUP=CHANGE-ME-PLEASE
# export MATTERMOST_USER=CHANGE-ME-PLEASE
# export MATTERMOST_PASSWORD=CHANGE-ME-PLEASE
# Optional:
# export MATTERMOST_WSS_PORT=443
# export MATTERMOST_HTTP_PORT=443
# export MATTERMOST_TLS_VERIFY=true
# export MATTERMOST_USE_TLS=true
# export MATTERMOST_LOG_LEVEL=info
# export MATTERMOST_REPLY=true
# RocketChat settings (https://github.com/RocketChat/hubot-rocketchat):
#
# export HUBOT_ADAPTER=rocketchat
# export ROCKETCHAT_URL=CHANGE-ME-PLEASE
# export ROCKETCHAT_USER=CHANGE-ME-PLEASE
# export ROCKETCHAT_PASSWORD=CHANGE-ME-PLEASE
# export ROCKETCHAT_ROOM=CHANGE-ME-PLEASE
# Optional:
# export ROCKETCHAT_USESSL=true
# export ROCKETCHAT_AUTH=password
# export RESPOND_TO_DM=false
# export RESPOND_TO_EDITED=false
# export ROOM_ID_CACHE_SIZE=10
# export DM_ROOM_ID_CACHE_SIZE=100
# export ROOM_ID_CACHE_MAX_AGE=300