Files
configpolicy/group_vars/docker-proxy.yml
Dustin C. Hatch f8f3dd5f83 docker-proxy: Deploy a proxy/cache for Docker Hub
Docker Hub's rate limits are so low now that they've started to affect
my home lab.  Deploying a caching proxy and directing all pull requests
through it should prevent exceeding the limit.  It will also help
prevent containers from starting if access to the Internet is down, as
long as their images have been cached recently.
2025-07-12 16:45:47 -05:00

11 lines
403 B
YAML

data_volumes:
- dev: /dev/vdb
fstype: ext4
mountpoint: /var/cache
nginx_ssl_certificate: /var/lib/lego/certificates/{{ lego_domains[0] }}.crt
nginx_ssl_certificate_key: /var/lib/lego/certificates/{{ lego_domains[0] }}.key
lego_acme_server: https://ca.pyrocufflink.blue/acme/acme/directory
lego_acme_email: '{{ ansible_hostname }}@pyrocufflink.net'
lego_domains:
- docker-hub.proxy.pyrocufflink.blue