-
Notifications
You must be signed in to change notification settings - Fork 16
/
custom-environment-variables.yaml
80 lines (73 loc) · 2.68 KB
/
custom-environment-variables.yaml
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
# All values in this document are the ENVIRONMENT variable names that can override the defaults
# from `default.yaml`
---
auth:
# A public key for verifying JWTs signed by api.screwdriver.cd
jwtPublicKey: SECRET_JWT_PUBLIC_KEY
jwtMaxAge: JWT_MAX_AGE
httpd:
# Port to listen on
port: PORT
# Host to listen on (set to 0.0.0.0 to accept all connections)
host: HOST
# Externally routable URI (usually your load balancer or CNAME)
uri: URI
# TLS configuration (key, cert, etc.)
# https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener
tls:
__name: HTTPD_TLS
__format: json
builds:
# How long should builds stay around for
expiresInSec: BUILDS_EXPIRE_TIME
# Upper limit on incoming uploads to builds
maxByteSize: BUILDS_MAX_BYTES
caches:
# How long should cache stay around for
expiresInSec: CACHES_EXPIRE_TIME
# Upper limit on incoming uploads to cache
maxByteSize: CACHES_MAX_BYTES
commands:
# How long should commands stay around for
expiresInSec: COMMANDS_EXPIRE_TIME
# Upper limit on incoming uploads to commands
maxByteSize: COMMANDS_MAX_BYTES
strategy:
plugin: STRATEGY
disk:
# Reference for the following options: https://github.com/mirusresearch/catbox-disk
# existing dir to store the cache
cachePath: DISK_CACHE_PATH
# number of milliseconds between each cache cleanup for disk space recovery. Set to 0 to deactivate entirely.
cleanEvery: DISK_CLEAN_EVERY
memory:
# Upper limit on the number of bytes that can be stored in the cache
maxByteSize: MEMORY_MAX_BYTES
s3:
# Amazon access key
accessKeyId: S3_ACCESS_KEY_ID
# Amazon secret access key
secretAccessKey: S3_ACCESS_KEY_SECRET
# Amazon S3 region
region: S3_REGION
# Amazon S3 bucket that you have write access to
bucket: S3_BUCKET
# Custom endpoint for Amazon S3 compatible storage
endpoint: S3_ENDPOINT
# Specific signature version for KMS encrypted objects
signatureVersion: S3_SIG_VER
# Whether to force path style URLs for S3 objects.
forcePathStyle: S3_FORCE_PATH_STYLE
# aws-sdk options for the size in bytes for each individual part to be uploaded.
partSize: S3_PART_SIZE
# the default ACL for putting objects in your s3 bucket
ACL: S3_DEFAULT_ACL
# default http timeout in ms
httpTimeout: S3_HTTP_TIMEOUT
ecosystem:
ui: ECOSYSTEM_UI
api: ECOSYSTEM_API
# Array of extra origins allowed to do CORS to API
allowCors:
__name: ECOSYSTEM_ALLOW_CORS
__format: json