forked from prebid/prebid-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
45 lines (45 loc) · 1.18 KB
/
config.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
port: 2424
admin_port: 2525
log:
level: "info"
rate_limiter:
enabled: true
num_requests: 100
request_limits:
allow_setting_keys: false
max_size_bytes: 10240 # 10K
max_num_values: 10
max_ttl_seconds: 3600
backend:
type: "memory" # Can also be "aerospike", "cassandra", "memcache" or "redis"
aerospike:
host: "aerospike.prebid.com"
port: 3000
namespace: "whatever"
cassandra:
hosts: "127.0.0.1"
keyspace: "prebid"
memcache:
config_host: "" # Configuration endpoint for auto discovery. Replaced at docker build.
poll_interval_seconds: 30 # Node change polling interval when auto discovery is used
hosts: "10.0.0.1:11211" # List of nodes when not using auto discovery. Can also use an array for multiple hosts.
redis:
host: "127.0.0.1"
port: 6379
password: ""
db: 1
expiration: 10 # in Minutes
tls:
enabled: false
insecure_skip_verify: false
compression:
type: "snappy" # Can also be "none"
metrics:
type: "none" # Can also be "influx"
influx:
host: "http://influx.prebid.com"
database: "some-database"
username: "influx-username"
password: "influx-password"
routes:
allow_public_write: true