enabled tor
This commit is contained in:
parent
4c9c43ac44
commit
112a03a641
@ -19,6 +19,12 @@ ENV DATA /data
|
||||
|
||||
RUN adduser -D -u $UID -h $HOME -s /bin/true $USER
|
||||
|
||||
# Optionall you may want to enable Tor in order to anonymize the traffic
|
||||
RUN apk add tor@testing
|
||||
RUN echo -e "ControlPort 9051" > /etc/tor/torrc
|
||||
# RUN echo -e "ControlPort 9051\nCookieAuthentication 1" > /etc/tor/torrc
|
||||
# RUN adduser $USER tor
|
||||
|
||||
USER $USER
|
||||
VOLUME [ "$DATA" ]
|
||||
WORKDIR $HOME
|
||||
|
@ -5,7 +5,9 @@ services:
|
||||
build: ./
|
||||
read_only: false
|
||||
networks:
|
||||
net:
|
||||
- net
|
||||
ports:
|
||||
- 15441:15441
|
||||
volumes:
|
||||
- data:/data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user