From 84a0690486cc8438c91d448af4629b1ca870afcf Mon Sep 17 00:00:00 2001 From: Scott Kay Date: Tue, 23 Apr 2024 13:07:57 -0400 Subject: [PATCH] Config Convenience Updates (#173) --- .gitignore | 6 ++++++ config.yaml | 62 ++++++++++++++++++++++++++--------------------------- 2 files changed, 37 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index c1807165..d7749a2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,8 @@ +# dep directory vendor + +# build artifacts prebid-cache + +# ide +.vscode/ \ No newline at end of file diff --git a/config.yaml b/config.yaml index accba35f..729d419b 100644 --- a/config.yaml +++ b/config.yaml @@ -12,38 +12,38 @@ request_limits: max_ttl_seconds: 3600 backend: type: "memory" # Switch to be "aerospike", "cassandra", "memcache", "ignite" or "redis" for production. - aerospike: - hosts: [ "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 - ignite: - scheme: "http" - host: "127.0.0.1" - port: 8080 - secure: false - headers: !!omap - - Content-Length: 0 - cache: - name: "cacheName" - create_on_start: false +# aerospike: +# hosts: [ "aerospike.prebid.com" ] +# port: 3000 +# namespace: "anynamespace" +# 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 +# ignite: +# scheme: "http" +# host: "127.0.0.1" +# port: 8080 +# secure: false +# headers: !!omap +# - Content-Length: 0 +# cache: +# name: "cacheName" +# create_on_start: false compression: - type: "snappy" # Can also be "none" + type: "snappy" # Can also be "none" metrics: type: "none" # Can also be "influx" influx: