Sign inSign up

11notes/windows-update-cache

By 11notes

•Updated about 2 years ago

Cache Windows Update for all clients via Nginx

Image
Networking
0

3.1K

11notes/windows-update-cache repository overview

Banner

⁠🏔️ Alpine - Windows Update Cache

size version pulls stars

Cache Windows Update for all clients via Nginx

⁠SYNOPSIS

What can I do with this? This image will run Nginx as a cache proxy for all Windows Update of all your clients. This means an update is downloaded only once from the web and then stored in the cache. Any further request for this update will be served from the local cache, preserving WAN bandwidth.

⁠VOLUMES

  • /nginx/www - Directory of all updates

⁠COMPOSE

services:
  windows-update-cache:
    image: "11notes/windows-update-cache:latest"
    container_name: "windows-update-cache"
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - "www:/nginx/www"
    sysctls:
      - net.ipv4.ip_unprivileged_port_start=80
volumes:
  www:

⁠DEFAULT SETTINGS

ParameterValueDescription
userdockeruser docker
uid1000user id 1000
gid1000group id 1000
home/nginxhome directory of user docker

⁠ENVIRONMENT

ParameterValueDefault
TZTime Zone⁠
DEBUGShow debug information
CACHE_SIZEsize of cache256g
CACHE_MAX_AGEhow long data should be cached14d
CACHE_ACCESS_DENIEDdomain.com:443, FQDN:port to inform about access denied127.0.0.1:8443

⁠PARENT IMAGE

⁠BUILT WITH

⁠TIPS

  • Allow non-root ports < 1024 via echo "net.ipv4.ip_unprivileged_port_start={n}" > /etc/sysctl.d/ports.conf
  • Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
  • Use Let’s Encrypt certificates to protect your SSL endpoints

⁠ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes. You can find all my repositories on github⁠.

Tag summary

Content type

Image

Digest

sha256:90aef57a7…

Size

16.2 MB

Last updated

about 2 years ago

docker pull 11notes/windows-update-cache