forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
71 lines (57 loc) · 1.77 KB
/
config.yml
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
defaults:
app:
# Route prefix used to form custom routes on the form
# 'route.<routePrefix>.<namespace>'
routePrefix: 'index'
# Name of pulse queue, if a non-exclusive queue is to be used.
listenerQueueName: 'index/incoming-tasks2'
# Time delay before expiring artifacts, in readable format, see:
# taskcluster.fromNow, notice this should be negative!
expirationDelay: '-1 day'
postgres:
readDbUrl: !env READ_DB_URL
writeDbUrl: !env WRITE_DB_URL
monitoring:
level: !env:optional LEVEL
errorConfig: !env:json:optional ERROR_CONFIG
# Server configuration
server:
# Port to listen for requests on
port: !env:number PORT
# Environment 'development' or 'production'
env: !env NODE_ENV
forceSSL: !env:bool FORCE_SSL
trustProxy: !env:bool TRUST_PROXY
# Configuration of access to other taskcluster components
taskcluster:
# Taskcluster credentials for this server, these must have scopes:
# auth:credentials, queue:*
# (typically configured using environment variables)
rootUrl: !env TASKCLUSTER_ROOT_URL
credentials:
clientId: !env TASKCLUSTER_CLIENT_ID
accessToken: !env TASKCLUSTER_ACCESS_TOKEN
# Pulse
pulse:
hostname: !env PULSE_HOSTNAME
username: !env PULSE_USERNAME
password: !env PULSE_PASSWORD
vhost: !env PULSE_VHOST
amqps: !env:bool:optional PULSE_AMQPS
namespace: taskcluster-index
# new relic config (processed in services/prelude.js)
newRelic: !env:json:optional NEW_RELIC
test:
taskcluster:
rootUrl: "https://tc.example.com"
app:
listenerQueueName: 'test-queue'
server:
port: 60020
env: development
forceSSL: false
trustProxy: false
aws:
region: 'us-west-2'
pulse:
namespace: 'taskcluster-fake'