From 0cdbb2fe7b5049a4629c318b4f358cc7d07e39e5 Mon Sep 17 00:00:00 2001 From: thuanle Date: Fri, 11 Jul 2025 12:57:03 +0700 Subject: [PATCH] Add Privoxy configuration file and update Dockerfile to copy it --- Dockerfile | 4 ++++ config | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 config diff --git a/Dockerfile b/Dockerfile index 3d67a27..bffcaea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,10 @@ FROM alpine:latest RUN apk add --no-cache privoxy +COPY config /etc/privoxy/ + +RUN chown -R 1000:1000 /etc/privoxy /var/log/privoxy + USER 1000:1000 CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"] \ No newline at end of file diff --git a/config b/config new file mode 100644 index 0000000..b745647 --- /dev/null +++ b/config @@ -0,0 +1,9 @@ +listen-address 0.0.0.0:8118 + +toggle 1 +enable-remote-toggle 0 +enable-edit-actions 0 +enforce-blocks 1 +buffer-limit 4096 + +logfile /dev/stdout \ No newline at end of file