{"id":19858005,"url":"https://github.com/boldare/docker-varnish","last_synced_at":"2026-06-13T05:32:23.035Z","repository":{"id":141671340,"uuid":"119651608","full_name":"boldare/docker-varnish","owner":"boldare","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-31T17:33:53.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-02-28T23:56:25.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/boldare.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-31T07:34:13.000Z","updated_at":"2018-01-31T10:14:13.000Z","dependencies_parsed_at":"2024-07-14T16:19:08.453Z","dependency_job_id":null,"html_url":"https://github.com/boldare/docker-varnish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boldare/docker-varnish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fdocker-varnish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fdocker-varnish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fdocker-varnish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fdocker-varnish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boldare","download_url":"https://codeload.github.com/boldare/docker-varnish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fdocker-varnish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34273788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T14:20:45.629Z","updated_at":"2026-06-13T05:32:23.015Z","avatar_url":"https://github.com/boldare.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simple Varnish 5.2 image with NCSA logging\n# Supported `Dockerfile` tags\n* [`5.2`, `5.2-jessie`, `latest`](https://github.com/xsolve-pl/docker-varnish/blob/master/stretch/Dockerfile)\n* [`5.2-alpine`](https://github.com/xsolve-pl/docker-varnish/blob/master/alpine/Dockerfile)\n\n# Quick start\n\n\u003e Requires default VCL config file in /etc/varnish/default.vcl\n\n```bash\ndocker run --volume=default.vcl:/etc/varnish/default.vcl xsolve/varnish\n```\n\n### Optional environment variables:\n* VARNISH_NCSA_FORMAT - [varnishncsa](https://varnish-cache.org/docs/5.2/reference/varnishncsa.html#varnishncsa-1) log format, can be empty, default: `%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"`\n* VARNISH_PORT - port for the server, default 80\n* VARNISH_ADMIN_PORT - port for the admin module, default 81\n* CONFIG_LOCATION - config file location, default `/etc/varnish/default.vcl`\n* VARNISH_ADDITIONAL_RUN_PARAMS - additional parameters to run [varnishd](https://varnish-cache.org/docs/5.2/reference/varnishd.html), default is blank\n the varnish is started with command \n```bash\nvarnishd -a 0.0.0.0:${PORT} -T 0.0.0.0:${ADMIN_PORT} -f ${DEFAULT_CONFIG_FILE_LOCATION} ${ADDITIONAL_PARAMS}\n```\n\n### Full config example:\n```bash\ndocker run --volume=default.vcl:/default.vcl -e CONFIG_LOCATION=\"/default.vcl\" -e VARNISH_NCSA_FORMAT=\"%h %l %u [%{%FT%T%z}t] %{Varnish:side}x %{Varnish:hitmiss}x \\\"%r\\\" %s %b %D %{Varnish:time_firstbyte}x \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\"\" -e VARNISH_PORT=6081 -e VARNISH_ADMIN_PORT=6082 -e VARNISH_ADDITIONAL_RUN_PARAMS=\"-s malloc,5G\" xsolve/varnish\n```\n\n### [Docker Hub](https://hub.docker.com/r/xsolve/varnish/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldare%2Fdocker-varnish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboldare%2Fdocker-varnish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldare%2Fdocker-varnish/lists"}