Skip to content

Commit

Permalink
Config Convenience Updates (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxNode authored Apr 23, 2024
1 parent 304d29a commit 84a0690
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 31 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# dep directory
vendor

# build artifacts
prebid-cache

# ide
.vscode/
62 changes: 31 additions & 31 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 84a0690

Please sign in to comment.