Gitter migration: Point people to app.gitter.im (rollout pt. 1)
[gitter.git] / config / config.beta.json
blobcc1184aec94976fbadccb878832975c3ff9eb83d
2   "element": {
3     "appUrl": "https://app-beta.gitter.im/"
4   },
5   "web": {
6     "homeurl": "/",
7     "baseserver": "beta.gitter.im",
8     "baseport": "80",
9     "basepath": "https://beta.gitter.im",
10     "apiBasePath": "https://beta.gitter.im/api",
11     "oauthBasePath": "https://login-beta.gitter.im",
12     "cookieDomain": ".gitter.im",
13     "cookiePrefix": "b_",
14     "secureCookies": true,
15     "consoleLogging": true,
16     "cacheTemplates": true,
17     "badgeBaseUrl": "https://badges-beta.gitter.im",
18     "backlog": 1024,
19     "startApiInPrimaryApp": true
20   },
21   "webhooks": {
22     "basepath": "http://gitter-beta-01:5014"
23   },
24   "ws": {
25     "hostname": "ws-beta.gitter.im",
26     "externalPort": 443,
27     "bindIp": "0.0.0.0",
28     "port": 5443,
29     "fayeUrl": "https://ws-beta.gitter.im/faye",
30     "amazonProxyProtocol": false,
31     "backlog": 1024,
32     "fayePerMessageDeflate": true
33   },
34   "express": {
35     "viewCache": true
36   },
37   "email": {
38     "emailBasePath": "https://beta.gitter.im"
39   },
40   "notifications": {
41     "notificationsSender": "support@beta.gitter.im",
42     "replyToAddress": "no-reply@beta.gitter.im",
43     "emailNotificationsAfterMins": 1,
44     "timeBeforeNextEmailNotificationMins": 5
45   },
46   "cdn": {
47     "use": true,
48     "prefixFile": "/var/log/gitter/cdn-version",
49     "hosts": ["cdn01-beta.gitter.im", "cdn02-beta.gitter.im", "cdn03-beta.gitter.im"]
50   },
51   "camo": {
52     "camoUrl": "https://user-content.gitter-static.net",
53     "camoSecret": "<see Gitter secrets repo>"
54   },
55   "matrix": {
56     "wellKnownServer": "gitter-beta.ems.host:443",
57     "wellKnownClient": {
58       "homeserverBaseUrl": "https://gitter-beta.ems.host"
59     },
60     "bridge": {
61       "homeserverUrl": "https://gitter-beta.ems.host",
62       "serverName": "beta.gitter.im",
63       "applicationServiceUrl": "https://matrix-beta.gitter.im",
64       "matrixBridgeMxidLocalpart": "gitter-badger",
65       "gitterBridgeBackingUsername": "matrixbot",
66       "gitterBridgeProfileUsername": "gitter-badger",
67       "gitterLogoMxc": "mxc://beta.gitter.im/2b0b9642689e91d0ca46d2d91d612d8485a1e344"
68     }
69   },
70   "virtualUsers": {
71     "approvedClientKeyMap": {
72       "matrix-bridge-beta": "matrix"
73     }
74   },
75   "logging": {
76     "logToFile": true,
77     "level": "verbose",
78     "colorize": false,
79     "timestamp": true,
81     "access": true,
82     "logStaticAccess": true,
83     "accessLogFile": "/var/log/gitter/access.log",
84     "logToUDP": true
85   },
86   "stats": {
87     "envName": "beta",
88     "logger": {
89       "enabled": true
90     },
91     "statsd": {
92       "enabled": true
93     },
94     "console": {
95       "enabled": false
96     },
97     "cube": {
98       "enabled": false,
99       "cubeUrl": "ws://beta-internal.beta.gitter:1080"
100     },
101     "intercom": {
102       "enabled": false
103     },
104     "customerio": {
105       "enabled": false
106     },
107     "ga": {
108       "enabled": true,
109       "key": "UA-45918290-3"
110     }
111   },
112   "apn": {
113     "feedbackInterval": 60
114   },
115   "gitlaboauth": {},
116   "twitteroauth": {},
117   "linkedinoauth2": {},
118   "googleoauth2": {},
119   "redis": {
120     "sentinel": {
121       "master-name": "gitter-master",
122       "hosts": ["sentinel-alias-01.beta.gitter:26379", "sentinel-alias-02.beta.gitter:26379"],
123       "validateHost": "10.*.*.*"
124     },
125     "redisDb": 1
126   },
127   "redis_nopersist": {
128     "sentinel": {
129       "master-name": "gitter-nopersist-beta",
130       "hosts": ["sentinel-alias-01.beta.gitter:26379", "sentinel-alias-02.beta.gitter:26379"],
131       "validateHost": "10.*.*.*"
132     }
133   },
134   "redis_faye": {
135     "sentinel": {
136       "master-name": "gitter-nopersist-beta",
137       "hosts": ["sentinel-alias-01.beta.gitter:26379", "sentinel-alias-02.beta.gitter:26379"],
138       "validateHost": "10.*.*.*"
139     }
140   },
141   "redis_caching": {
142     "sentinel": {
143       "master-name": "gitter-caching-beta",
144       "hosts": ["sentinel-alias-01.beta.gitter:26379", "sentinel-alias-02.beta.gitter:26379"],
145       "validateHost": "10.*.*.*"
146     }
147   },
148   "mongo": {
149     "comment": "TEST AGAINST PRODUCTION DATA",
150     "connection": {
151       "hosts": ["mongo-beta-01.beta.gitter:27017"],
152       "database": "gitter",
153       "options": {
154         "replicaSet": "TroupeBetaProdData",
155         "w": 1
156       }
157     },
158     "profileSlowQueries": false,
159     "logQueries": false,
160     "noAutoIndex": true
161   },
162   "github": {},
163   "irc": {},
164   "transloadit": {},
165   "errorReporting": {
166     "enabled": true
167   },
168   "autoPullRequest": {
169     "enabled": true
170   },
171   "elasticsearch": {
172     "hosts": ["http://es-alias-001.beta.gitter:9200"]
173   },
174   "elasticsearchTypeahead": {
175     "hosts": ["http://typeahead-beta-01.beta.gitter:9200"]
176   },
177   "neo4j": {
178     "endpoint": "http://beta-internal.beta.gitter:7474"
179   },
180   "resque": {
181     "queuePrefix": ""
182   },
183   "avatar": {
184     "officialHost": "https://avatars-beta.gitter.im",
185     "dnsPreloadHosts": [
186       "avatars-beta-01.gitter.im",
187       "avatars-beta-02.gitter.im",
188       "avatars-beta-03.gitter.im",
189       "avatars-beta-04.gitter.im",
190       "avatars-beta-05.gitter.im"
191     ],
192     "hosts": [
193       "https://avatars-beta-01.gitter.im",
194       "https://avatars-beta-02.gitter.im",
195       "https://avatars-beta-03.gitter.im",
196       "https://avatars-beta-04.gitter.im",
197       "https://avatars-beta-05.gitter.im"
198     ]
199   },
200   "revokedUserAgents": [
201     "Gitter/3.1.0",
202     "Gitter/3.0.3",
203     "Gitter/3.0.2",
204     "Gitter/3.0.1",
205     "Gitter/3.0.0",
206     "Gitter/2.4.0",
207     "Gitter/2.4.0",
208     "Gitter/2.3.3",
209     "Gitter/2.3.2",
210     "Gitter/2.3.1",
211     "Gitter/2.3.0"
212   ]