The default configuration included in the varnish/orca Docker image is:
varnish:
http:
- port: 80
virtual_registry:
registries:
- name: dockerhub
default: true
remotes:
- url: https://docker.io
- url: https://mirror.gcr.io
- name: quay
remotes:
- url: https://quay.io
- name: ghcr
remotes:
- url: https://ghcr.io
- name: k8s
remotes:
- url: https://registry.k8s.io
- name: npmjs
remotes:
- url: https://registry.npmjs.org
- name: go
remotes:
- url: https://proxy.golang.org
- name: github
remotes:
- url: https://github.com
- name: gitlab
remotes:
- url: https://gitlab.com
This default configuration enables Varnish as a Virtual Registry, and allows incoming connections over plain HTTP on port 80.
The virtual_registry configuration entry contains a list of registries for which it can receive package requests:
ghcr.ioregistry.k8s.ionpmjs.orgproxy.golang.orgSee the installation guide to learn how to deploy your configuration onto the supported platforms.