Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / config / config.prod.json
blobaf5da1d5ed4cd2c3c26cb53aaa9b2129eb98b9e2
2   "element": {
3     "appUrl": "https://app.gitter.im/"
4   },
5   "web": {
6     "homeurl": "/",
7     "baseserver": "gitter.im",
8     "baseport": "80",
9     "basepath": "https://gitter.im",
10     "apiBasePath": "https://gitter.im/api",
11     "apiRateLimit": 100,
12     "oauthBasePath": "https://login.gitter.im",
13     "cookieDomain": ".gitter.im",
14     "cookiePrefix": "g_",
15     "secureCookies": true,
16     "exposeInBrowserTests": false,
17     "cacheTemplates": true,
18     "badgeBaseUrl": "https://badges.gitter.im",
19     "backlog": 16384,
20     "startApiInPrimaryApp": true
21   },
22   "ws": {
23     "hostname": "ws.gitter.im",
24     "externalPort": 443,
25     "bindIp": "0.0.0.0",
26     "port": 5443,
27     "fayeUrl": "https://ws.gitter.im/bayeux",
28     "fayePerMessageDeflate": false,
29     "backlog": 16384,
30     "useDeprecatedChannels": true
31   },
32   "express": {
33     "showStack": false,
34     "viewCache": true
35   },
36   "email": {
37     "emailBasePath": "https://gitter.im"
38   },
39   "runtime": {
40     "gid": "troupe",
41     "uid": "troupe"
42   },
43   "cdn": {
44     "use": true,
45     "prefixFile": "/var/log/gitter/cdn-version",
46     "hosts": ["cdn01.gitter.im", "cdn02.gitter.im", "cdn03.gitter.im"]
47   },
48   "camo": {
49     "camoUrl": "https://user-content.gitter-static.net",
50     "camoSecret": "<see Gitter secrets repo>"
51   },
52   "matrix": {
53     "wellKnownServer": "gitter.ems.host:443",
54     "wellKnownClient": {
55       "homeserverBaseUrl": "https://gitter.ems.host"
56     },
57     "bridge": {
58       "homeserverUrl": "https://gitter.ems.host",
59       "serverName": "gitter.im",
60       "applicationServiceUrl": "https://matrix.gitter.im",
61       "matrixBridgeMxidLocalpart": "gitter-badger",
62       "gitterBridgeBackingUsername": "matrixbot",
63       "gitterBridgeProfileUsername": "gitter-badger",
64       "gitterLogoMxc": "mxc://gitter.im/5ca06a9ec041815b7bfe089ec2733507753aa43c",
65       "extraPowerLevelUserList": [["@moderation:gitter.im", 100]]
66     }
67   },
68   "virtualUsers": {
69     "approvedClientKeyMap": {
70       "matrix-bridge-prod": "matrix"
71     }
72   },
73   "spam-detection": {
74     "ethereum-dirty-group-list": ["57542c12c43b8c601976fa66", "57542beec43b8c601976e3c5"]
75   },
76   "notifications": {
77     "notificationsSender": "support@gitter.im",
78     "replyToAddress": "no-reply@gitter.im",
79     "filterTestValues": false,
80     "emailNotificationsAfterMins": 60,
81     "timeBeforeNextEmailNotificationMins": 1440
82   },
83   "logging": {
84     "logToUDP": true,
85     "logToFile": true,
86     "level": "info",
87     "colorize": false,
88     "timestamp": true,
90     "access": true,
91     "logStaticAccess": true,
92     "accessLogFile": "/var/log/gitter/access.log",
94     "logstash": {
95       "enabled": false,
96       "host": "10.0.0.140",
97       "port": 6150
98     }
99   },
100   "stats": {
101     "envName": "prod",
102     "logger": {
103       "enabled": true
104     },
105     "statsd": {
106       "enabled": true
107     },
108     "cube": {
109       "enabled": true,
110       "cubeUrl": "ws://cube.prod.gitter:1080"
111     },
112     "intercom": {
113       "enabled": false
114     },
115     "ga": {
116       "enabled": true
117     }
118   },
119   "redis": {
120     "sentinel": {
121       "master-name": "gitter-master",
122       "hosts": ["sentinel-alias-01.prod.gitter:26379", "sentinel-alias-02.prod.gitter:26379"],
123       "validateHost": "10.*.*.*"
124     },
125     "redisDb": 1
126   },
127   "redis_nopersist": {
128     "sentinel": {
129       "master-name": "gitter-nopersist-prod",
130       "hosts": ["sentinel-alias-01.prod.gitter:26379", "sentinel-alias-02.prod.gitter:26379"],
131       "validateHost": "10.*.*.*"
132     }
133   },
134   "redis_faye": {
135     "sentinel": {
136       "master-name": "gitter-faye-prod",
137       "hosts": ["sentinel-alias-01.prod.gitter:26379", "sentinel-alias-02.prod.gitter:26379"],
138       "validateHost": "10.*.*.*"
139     }
140   },
141   "redis_caching": {
142     "sentinel": {
143       "master-name": "gitter-caching-prod",
144       "hosts": ["sentinel-alias-01.prod.gitter:26379", "sentinel-alias-02.prod.gitter:26379"],
145       "validateHost": "10.*.*.*"
146     }
147   },
148   "mongo": {
149     "connection": {
150       "hosts": [
151         "mongo-alias-001.prod.gitter:27017",
152         "mongo-alias-002.prod.gitter:27017",
153         "mongo-alias-003.prod.gitter:27017"
154       ],
155       "database": "gitter",
156       "options": {
157         "replicaSet": "TroupeReplicaSet",
158         "w": 1
159       }
160     },
161     "autoDiscovery": {
162       "host": "mongo-arbiter.prod.gitter",
163       "port": 27017
164     },
165     "profileSlowQueries": false,
166     "logQueries": false,
167     "noAutoIndex": true
168   },
169   "apn": {
170     "feedbackInterval": 60
171   },
172   "errorReporting": {
173     "enabled": true
174   },
175   "sitemap": {
176     "allowCrawling": true,
177     "location": "https://s3.amazonaws.com/gitter-sitemap/prod/sitemap.xml"
178   },
179   "autoPullRequest": {
180     "enabled": true
181   },
182   "elasticsearch_comment": "Remove the non-host-names after es-001 and es-002 have been decommissioned",
183   "elasticsearch": {
184     "hosts": ["http://es-alias-001.prod.gitter:9200", "http://es-alias-001.prod.gitter:9200"]
185   },
186   "elasticsearchTypeahead": {
187     "hosts": ["http://typeahead-01.prod.gitter:9200"]
188   },
189   "neo4j": {
190     "endpoint": "http://neo4j-001.prod.gitter:7474"
191   },
192   "resque": {
193     "queuePrefix": ""
194   },
195   "avatar": {
196     "officialHost": "https://avatars.gitter.im",
197     "dnsPreloadHosts": [
198       "avatars-01.gitter.im",
199       "avatars-02.gitter.im",
200       "avatars-03.gitter.im",
201       "avatars-04.gitter.im",
202       "avatars-05.gitter.im"
203     ],
204     "hosts": [
205       "https://avatars-01.gitter.im",
206       "https://avatars-02.gitter.im",
207       "https://avatars-03.gitter.im",
208       "https://avatars-04.gitter.im",
209       "https://avatars-05.gitter.im"
210     ]
211   },
212   "revokedUserAgents": [
213     "Gitter/3.1.0",
214     "Gitter/3.0.3",
215     "Gitter/3.0.2",
216     "Gitter/3.0.1",
217     "Gitter/3.0.0",
218     "Gitter/2.4.0",
219     "Gitter/2.4.0",
220     "Gitter/2.3.3",
221     "Gitter/2.3.2",
222     "Gitter/2.3.1",
223     "Gitter/2.3.0"
224   ]