Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config Convenience Updates #173

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading