mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update
This commit is contained in:
parent
9a40659ce6
commit
e9f061a465
@ -25,15 +25,13 @@ RUN echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositor
|
||||
gmp-dev \
|
||||
go \
|
||||
python-dev \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& mkdir -p /home/tor/.tor \
|
||||
&& chown -R tor:nogroup /home/tor
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY ./torrc /etc/tor/torrc
|
||||
|
||||
USER tor
|
||||
WORKDIR /home/tor
|
||||
VOLUME /etc/tor /home/tor/.tor
|
||||
WORKDIR /var/lib/tor
|
||||
VOLUME /etc/tor /var/lib/tor
|
||||
EXPOSE 9001 9030 9050 9051
|
||||
|
||||
CMD ["/usr/bin/tor", "-f", "/etc/tor/torrc"]
|
||||
|
@ -41,6 +41,7 @@ BridgeRelay 1
|
||||
Exitpolicy reject *:*
|
||||
Nickname datageek
|
||||
ContactInfo noreply@datageek.info
|
||||
DataDirectory /var/lib/tor
|
||||
#ServerTransportPlugin fte exec /usr/bin/fteproxy --mode server --managed
|
||||
#ServerTransportPlugin obfs3 exec /usr/bin/obfsproxy managed
|
||||
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
|
||||
|
@ -4,6 +4,7 @@ BridgeRelay 1
|
||||
Exitpolicy reject *:*
|
||||
Nickname datageek
|
||||
ContactInfo noreply@datageek.info
|
||||
DataDirectory /var/lib/tor
|
||||
#ServerTransportPlugin fte exec /usr/bin/fteproxy --mode server --managed
|
||||
#ServerTransportPlugin obfs3 exec /usr/bin/obfsproxy managed
|
||||
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
|
||||
|
Loading…
Reference in New Issue
Block a user