add privoxy and tor
This commit is contained in:
parent
33fb3b718e
commit
26b463e3db
6 changed files with 155 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ RUN wget 'https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/stable/dow
|
|||
RUN unzip /tmp/pleroma.zip -d /tmp/
|
||||
|
||||
RUN apk update && \
|
||||
apk add exiftool ffmpeg vips libmagic ncurses postgresql-client
|
||||
apk add exiftool ffmpeg vips libmagic ncurses postgresql-client curl
|
||||
|
||||
RUN adduser --system --shell /bin/false --home ${HOME} pleroma &&\
|
||||
mkdir -p ${DATA} &&\
|
||||
|
|
@ -22,7 +22,7 @@ RUN adduser --system --shell /bin/false --home ${HOME} pleroma &&\
|
|||
RUN rm -r /tmp/release
|
||||
RUN rm /tmp/pleroma.zip
|
||||
|
||||
# USER pleroma
|
||||
USER pleroma
|
||||
|
||||
COPY --chmod=0764 --chown=pleroma ./static-files/ /static-files/
|
||||
COPY --chmod=0640 --chown=pleroma ./docker.exs /etc/pleroma/config.exs
|
||||
|
|
|
|||
|
|
@ -20,8 +20,9 @@ config :pleroma, :instance,
|
|||
invites_enabled: true,
|
||||
healthcheck: true
|
||||
|
||||
# config :pleroma, :http, proxy_url: {:socks5h, System.get_env("SOCKS_ADDRESS"), System.get_env("SOCKS_PORT")}
|
||||
config :pleroma, :http,
|
||||
proxy_url: { :socks5, {10, 8, 0, 1}, 1080 }
|
||||
proxy_url: "http://privoxy:8118"
|
||||
|
||||
|
||||
config :pleroma, :media_proxy,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue