prebid / prebid-server

Open-source solution for running real-time advertising auctions in the cloud.
https://prebid.org/product-suite/prebid-server/
Apache License 2.0
433 stars 741 forks source link

Host Company Documentation enhancements #2076

Open Tharushan opened 3 years ago

Tharushan commented 3 years ago

Hello,

I wanted to setup a prebid-server project using the documentation but I was confronted to missing guidelines for some of the following points :

mansinahar commented 3 years ago

@Tharushan you're right, we do lack Prebid Server setup documentation but it's on our list of things to work on unless you'd be willing to contribute :)

I think what you have above should cover the most part of it. There are a few other configurations that you'd need based on the features you want to use and how you want to use them. For example, if you'd like to use the Stored Requests capability, Prebid Server has three ways to support that. Using file system, HTTP endpoint and database. Based on which of these three ways you want to support (you can support zero or more), you'd have to set the appropriate environment variables. For example, for file system and HTTP endpoint support, you'd have to set the following:

  PBS_STORED_REQUESTS_FILESYSTEM_ENABLED: "true"
  PBS_STORED_REQUESTS_FILESYSTEM_DIRECTORYPATH: "/a/path/on/your/server"
  PBS_STORED_REQUESTS_HTTP_AMP_ENDPOINT: "https://some-amp-stored-request-api.com/stored-requests"
  PBS_STORED_REQUESTS_HTTP_ENDPOINT: "https://some-stored-request-api.com/stored-requests"
  PBS_STORED_REQUESTS_IN_MEMORY_CACHE_TYPE: "unbounded" // Supported values are none, unbounded, lru

Note: Prebid Server supports in memory caching of stored requests so the in memory cache type configuration is related to that.

Please refer this config struct for more Prebid Server configuration options and if you have any questions about any of those configs or what they mean, we're happy to answer them on this thread :)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.