{"id":18553296,"url":"https://github.com/namshi/docker-node-nginx-pagespeed","last_synced_at":"2025-09-09T22:44:39.219Z","repository":{"id":25738805,"uuid":"29176321","full_name":"namshi/docker-node-nginx-pagespeed","owner":"namshi","description":"A simple container to...well, it's actually not that simple. Use it to run JS apps proxied by nginx. With pagespeed. Yes.","archived":false,"fork":false,"pushed_at":"2016-02-14T11:07:56.000Z","size":7,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-12-26T08:42:22.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/namshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-13T06:33:59.000Z","updated_at":"2019-01-17T14:35:33.000Z","dependencies_parsed_at":"2022-07-24T07:02:00.167Z","dependency_job_id":null,"html_url":"https://github.com/namshi/docker-node-nginx-pagespeed","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namshi%2Fdocker-node-nginx-pagespeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namshi%2Fdocker-node-nginx-pagespeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namshi%2Fdocker-node-nginx-pagespeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namshi%2Fdocker-node-nginx-pagespeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namshi","download_url":"https://codeload.github.com/namshi/docker-node-nginx-pagespeed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239278511,"owners_count":19612329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T21:16:40.739Z","updated_at":"2025-02-17T10:45:02.251Z","avatar_url":"https://github.com/namshi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Node Nginx Pagespeed\n\nThis is a docker container meant for nodejs apps delivering web content and aiming to an high page speed score.\nIt includes a very simple custom build of nginx that will apply [google's page speed](https://developers.google.com/speed/pagespeed/) goodies\nso you don't need to do it yourself in you node code :)\n\n## How to use it\nSimply start your container form this one:\n\n```\n# Dockerfile\n\nFROM namshi/node-nginx-pagespeed\n```\n\n## What it provides\n\n- nodejs\n- a simple nginx acting as a transparent proxy and including the page speed module\n- clusterjs\n\n## Caches\nBy default the page speed cache will be written in `/var/pagespeed/cache`, mount your desired directory in that path if you need\n\n## Nginx configuration\nJust mount your desired config file into `/etc/nginx/sites-enabled/default`\nBy default nginx will listen on the 80 port and expect your node app to listen on the 9004 port.\n\n## Examples\n\n### Dockerfile\n```\nFROM namshi/node-nginx-pagespeed\n\nCOPY . /src\nWORKDIR /src\nRUN npm install\n\nCMD nginx \u0026\u0026 clusterjs src/path/to/your/app.js\n```\n\n### fig.yml\n```yml\nweb:\n  build: .\n  ports:\n   - \"80:8080\"\n  volumes:\n   - .:/src\n  command: bash -c 'npm install \u0026\u0026 nginx \u0026\u0026 node src/path/to/your/app.js'\n\n```\n\n## SSL\nNo, there's no SSL support in here. The main purpose is just to be able to use pagespeed in a simple and isolated way for the contained application.\nWe strongly suggest you to put your very own nginx on top of this supporting SSL and everything else you might need :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamshi%2Fdocker-node-nginx-pagespeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamshi%2Fdocker-node-nginx-pagespeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamshi%2Fdocker-node-nginx-pagespeed/lists"}