{"repo":"tvanro/prerender-alpine","free":true,"listed":false,"github":"https://github.com/tvanro/prerender-alpine","clone":"git clone https://github.com/tvanro/prerender-alpine.git","description":"Lightweight Prerender container built on Alpine Linux with Node and Headless Chromium","language":"JavaScript","stars":104,"topics":["prerender","docker","node","headless-chrome"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Prerender Alpine Lightweight Prerender container built on Alpine Linux with Node and Headless Chromium. - Prerender 5.21.6 - Chromium 141.0.7390.122 - Node 22.21.0 - Alpine Linux 3.22.2 Requirements - Docker Usage Pull and run the image: Prerender will now be running on http://localhost:3000. Try the container out with curl: Prerender plugins A few default plugins have been activated by default (see server.js ): - https://github.com/prerender/prerender/blob/master/lib/plugins/blacklist.js - https://github.com/prerender/prerender/blob/master/lib/plugins/httpHeaders.js - https://github.com/prerender/prerender/blob/master/lib/plugins/removeScriptTags.js This can be modified by creating your own server.js and mounting this file as a docker volume: Prerender memory cache The prerender-memory-cache plugin is not activated by default. You can activate it with the environment variable MEMORY CACHE=1 . You can customize cache behavior with environment variables : - CACHE MAXSIZE=1000 : max number of objects in cache - CACHE TTL=6000 : time to live in seconds Prerender S3 cache The Prerender S3 Cache plugin is not activated by default. You can activate it with the environment variable S3 CACHE=1 . You'll need to sign up with S3 compatible service and set these 3 environment variables: - AWS ACCESS KEY ID - AWS SECRET ACCESS KEY - S3 BUCKET NAME Prerender documentation Check out the official Prerender documentation: https://github.com/prerender/prerender","default_branch":null,"files":null,"tree":[],"storefront":"/r/tvanro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tvanro/prerender-alpine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}