mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-01-18 00:34:29 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
c51b60864c
commit
5108ad8a92
@ -69,7 +69,8 @@ RUN set -ex; \
|
||||
if [ "${DISTRO_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${DISTRO_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
|
||||
apk update --update-cache && apk add --no-cache ${PACK_LIST}
|
||||
|
||||
RUN echo
|
||||
RUN mkdir -p /run/tor && \
|
||||
chown -Rf tor /run/tor
|
||||
|
||||
RUN echo "$TIMEZONE" >"/etc/timezone" ; \
|
||||
touch "/etc/profile" "/root/.profile" ; \
|
||||
|
@ -157,6 +157,7 @@ fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Create directories
|
||||
[ -d "/etc/ssl" ] || mkdir -p "$SSL_CONTAINER_DIR"
|
||||
[ -d "/run/tor" ] || mkdir -p "/run/tor"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Create files
|
||||
|
||||
|
@ -5,8 +5,8 @@ CookieAuthentication 1
|
||||
CookieAuthFileGroupReadable 1
|
||||
HashedControlPassword 16:C30604D1D90F341360A14D9A1048C1DF4A3CA2411444E52EE5B954C01F
|
||||
##### directiories and files
|
||||
ControlSocket /tmp/tor-control.sock
|
||||
CookieAuthFile /tmp/tor-control.authcookie
|
||||
ControlSocket /run/tor/control.sock
|
||||
CookieAuthFile /run/tor/control.authcookie
|
||||
DataDirectory /data/tor
|
||||
##### logging
|
||||
Log notice file /dev/sdout
|
||||
|
Loading…
x
Reference in New Issue
Block a user