This repository was archived by the owner on Aug 15, 2022. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathmain.dev.coffee
More file actions
143 lines (140 loc) · 4.12 KB
/
Copy pathmain.dev.coffee
File metadata and controls
143 lines (140 loc) · 4.12 KB
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
deepFreeze = require 'koding-deep-freeze'
version = "0.0.1" #fs.readFileSync nodePath.join(__dirname, '../.revision'), 'utf-8'
mongo = 'dev:k9lc4G1k32nyD72@web-dev.in.koding.com:27017/koding_dev2_copy'
nodePath = require 'path'
projectRoot = nodePath.join __dirname, '..'
rabbitPrefix = require("#{projectRoot}/utils/rabbitPrefix").get()
socialQueueName = "koding-social-#{rabbitPrefix}"
module.exports = deepFreeze
aws :
key : 'AKIAJSUVKX6PD254UGAA'
secret : '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'
uri :
address : "http://localhost:3000"
projectRoot : projectRoot
version : version
webserver :
login : 'webserver'
port : 3000
clusterSize : 1
queueName : socialQueueName+'web'
watch : yes
sourceServer :
enabled : yes
port : 1337
mongo : mongo
runGoBroker : no
compileGo : no
buildClient : yes
misc :
claimGlobalNamesForUsers: no
updateAllSlugs : no
debugConnectionErrors: yes
uploads :
enableStreamingUploads: no
distribution: 'https://d2mehr5c6bceom.cloudfront.net'
s3 :
awsAccountId : '616271189586'
awsAccessKeyId : 'AKIAJO74E23N33AFRGAQ'
awsSecretAccessKey : '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'
bucket : 'koding-uploads'
loggr:
push : no
url : ""
apiKey : ""
librato :
push : no
email : ""
token : ""
interval : 60000
# loadBalancer :
# port : 3000
# heartbeat : 5000
# httpRedirect:
# port : 80 # don't forget port 80 requires sudo
goConfig:
HomePrefix: "/Users/"
UseLVE: true
bitly :
username : "kodingen"
apiKey : "R_677549f555489f455f7ff77496446ffa"
authWorker :
login : 'authWorker'
queueName : socialQueueName+'auth'
authResourceName: 'auth'
numberOfWorkers: 1
watch : yes
social :
login : 'social'
numberOfWorkers: 1
watch : yes
queueName : socialQueueName
cacheWorker :
login : 'prod-social'
watch : yes
queueName : socialQueueName+'cache'
run : no
feeder :
queueName : "koding-feeder"
exchangePrefix: "followable-"
numberOfWorkers: 2
presence :
exchange : 'services-presence'
client :
version : version
watch : yes
includesPath: 'client'
websitePath : 'website'
js : "js/kd.#{version}.js"
css : "css/kd.#{version}.css"
indexMaster : "index-master.html"
index : "index.html"
useStaticFileServer: no
staticFilesBaseUrl: 'http://localhost:3000'
runtimeOptions:
logToExternal: no # rollbar, mixpanel etc.
resourceName: socialQueueName
suppressLogs: no
version : version
mainUri : 'http://localhost:3000'
broker :
sockJS : 'https://dmq.koding.com:8008/subscribe'
apiUri : 'https://dev-api.koding.com'
# Is this correct?
appsUri : 'https://dev-app.koding.com'
sourceUri : 'http://localhost:1337'
mq :
host : 'web-dev.in.koding.com'
port : 5672
apiPort : 15672
login : 'guest'
componentUser: "<component>"
password : 's486auEkPzvUjYfeFTMQ'
heartbeat : 10
vhost : '/'
broker :
ip : ""
port : 8008
certFile : ""
keyFile : ""
kites:
disconnectTimeout: 3e3
vhost : 'kite'
email :
host : 'localhost'
protocol : 'http:'
defaultFromAddress: 'hello@koding.com'
emailWorker :
cronInstant : '*/10 * * * * *'
cronDaily : '0 10 0 * * *'
run : no
defaultRecepient : undefined
guests :
# define this to limit the number of guset accounts
# to be cleaned up per collection cycle.
poolSize : 1e4
batchSize : undefined
cleanupCron : '*/10 * * * * *'
pidFile : '/tmp/koding.server.pid'
haproxy:
webPort : 3020