Skip to content

Dockerized prerender phantomjs service from prerender.io

Notifications You must be signed in to change notification settings

izeni-team/docker-prerender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-prerender

Dockerfile to build the prerender container image

About

Prerender is a node server from prerender.io that uses phantomjs to create static HTML out of a javascript page. It is perfect for AngularJS SEO, BackboneJS SEO, EmberJS SEO, and any other javascript framework

Available Environment Variables

  • BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD enabled the basicAuth plugin.
  • ALLOWED_DOMAINS enables the whitelist plugin.
  • BLACKLISTED_DOMAINS enables the blacklist plugin.
  • S3_BUCKET_NAME enables the s3HtmlCache plugin.
    • AWS_ACCESS_KEY_ID, required if not using EC2 IAM Roles.
    • AWS_SECRET_ACCESS_KEY, ditto.
    • AWS_REGION, defaults to "us-east-1", set differently if desired.
  • LOGGER enableds the logger plugin.
  • REDIS_URL enables the redis plugin.
    • PAGE_TTL sets the seconds to cache a page. 0 means forever. Default is 1 day.

About

Dockerized prerender phantomjs service from prerender.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%