Tardo / docker-privoxy-https

Alpine docker with privoxy enabled to work with HTTPS
https://hub.docker.com/r/ghtardo/docker-privoxy-https
3 stars 0 forks source link
alpine docker https privoxy

Docker Privoxy HTTPS

:page_with_curl: About

Alpine docker with privoxy enabled and configured to work with HTTPS.

It also includes the script made by 'Andrwe Lord Weber' to translate adblock rules to privoxy.

The default configuration is intended for personal use only (ex. raspberry)

:bulb: Documentation

This image downloads the 'trustedCAs' file from curl.se and also generates the ca-bundle file. So, you only need copy the 'ca-bundle' file and install it on your browser/system.

Privoxy Status Page: https://config.privoxy.org/show-status

Env. Variables

Name Description Default
ADBLOCK_URLS String of urls separated by spaces ""
ADBLOCK_FILTERS String of filters separated by spaces ""

Docker

docker run -d --restart unless-stopped --name privoxy -p 8118:8118 -v privoxy-ca:/usr/local/etc/privoxy/CA ghtardo/docker-privoxy-https

Docker Compose

services:
  privoxy:
    image: ghtardo/docker-privoxy-https
    container_name: privoxy
    ports:
      - 8118:8118
    environment:
      - TZ=Europe/Madrid
      - ADBLOCK_URLS=https://easylist.to/easylist/easylist.txt
    volumes:
      - privoxy-ca:/usr/local/etc/privoxy/CA
    restart: unless-stopped
    hostname: "privoxy"

volumes:
    privoxy-ca:

Get ca-bundle

docker cp privoxy:/usr/local/etc/privoxy/CA/privoxy-ca-bundle.crt .

:triangular_ruler: Privoxy Manager Script (privman)

:page_facing_up: Configuration highlight changes

:bookmark: Points of Interest

Container Path Description
/usr/local/etc/privoxy/ Where privoxy files are located
/usr/local/etc/privoxy/config The configuration file
/usr/local/etc/privoxy/CA Where auth. certs are located
/usr/local/etc/privoxy/certs Where privoxy stores the downloaded certificates
/var/lib/privoxy Where are the scripts related to privoxy

:computer: Privoxy Compiler Options