tor-proxy and provoxy

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle
2015-09-11 15:08:20 -07:00
parent d5e4d0a946
commit e5f750eea3
7 changed files with 2205 additions and 4 deletions

31
privoxy/Dockerfile Normal file
View File

@@ -0,0 +1,31 @@
# run a privoxy in a container and link to a tor socks proxy container
#
# Exit relay:
# docker run -d \
# --restart always \
# --link torproxy:torproxy \
# -v /etc/localtime:/etc/localtime:ro \
# -p 8118:8118 \
# --name privoxy \
# jess/privoxy
#
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
privoxy \
&& rm -rf /var/cache/apk/*
# expose http port
EXPOSE 8118
# copy in our privoxy config file
COPY privoxy.conf /etc/privoxy/config
# make sure files are owned by privoxy user
RUN chown -R privoxy /etc/privoxy
USER privoxy
ENTRYPOINT [ "privoxy", "--no-daemon" ]
CMD [ "/etc/privoxy/config" ]

1945
privoxy/privoxy.conf Normal file

File diff suppressed because it is too large Load Diff