Update/rewrite docker files
This commit is contained in:
parent
47db0898e2
commit
92eb6c8ca1
10 changed files with 111 additions and 59 deletions
9
docker/tor.Dockerfile
Normal file
9
docker/tor.Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM alpine:3.18
|
||||
|
||||
RUN apk --update --no-cache --no-progress add tor
|
||||
|
||||
USER tor
|
||||
|
||||
CMD tor --SocksPort 0.0.0.0:${TOR_SOCKS_PORT} --ControlPort 0.0.0.0:${TOR_CONTROL_PORT} --HashedControlPassword $(tor --quiet --hash-password $TOR_CONTROL_PASSWD)
|
||||
|
||||
EXPOSE $TOR_SOCKS_PORT $TOR_CONTROL_PORT
|
Loading…
Add table
Add a link
Reference in a new issue