Simple Docker container that runs a Prerender server with S3 caching enabled.
1.7K
Simple Docker container that runs a Prerender server with S3 caching enabled.
See sections below on enabling these extensions.
To enable s3HtmlCache just set the following 4 required environment variables at run time.
Required Env Vars
S3_BUCKET_NAME
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
To use an in memory HTML cache, just set MEMORY_CACHE=true at runtime.
To enable basicAuth just set the following 2 required environment variables at run time.
Required Env Vars
BASIC_AUTH_USERNAME
BASIC_AUTH_PASSWORD
Just set the environment variable ALLOWED_DOMAINS to the domains to permit.
Example:
ALLOWED_DOMAINS=www.prerender.io,prerender.io
Just set the environment variable BLACKLISTED_DOMAINS to the domains to block.
Example:
BLACKLISTED_DOMAINS=yahoo.com,www.google.com
PRERENDER_NUM_ITERATIONS
PRERENDER_NUM_WORKERS
Content type
Image
Digest
Size
295.1 MB
Last updated
about 10 years ago
docker pull clok/prerender-service