Skip to content

Commit

Permalink
2.5.6 (#40)
Browse files Browse the repository at this point in the history
* 2.5.6

* Fix tor image
  • Loading branch information
yowmamasita authored May 4, 2023
1 parent f0191da commit 1f02116
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "debrid-media-manager",
"version": "2.5.5",
"version": "2.5.6",
"private": false,
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 4 additions & 4 deletions tor.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ RUN apk --no-cache --update --upgrade add tor \
&& mv /etc/tor/torrc.sample /etc/tor/torrc \
&& sed -i \
-e 's/#SOCKSPort 192.168.0.1:9100/SOCKSPort 0.0.0.0:9050/g' \
-e 's/#ControlPort 9051/ControlPort 9051/g' \
/etc/tor/torrc
RUN chown root:root /var/lib/tor
/etc/tor/torrc \
&& chown -R tor /var/lib/tor

USER tor
ENTRYPOINT tor

EXPOSE 9050/tcp 9051/tcp
EXPOSE 9050/tcp

HEALTHCHECK --interval=10s --timeout=3s \
CMD curl -s --socks5-hostname 127.0.0.1:9050 https://check.torproject.org/ | grep -q Congratulations || exit 1

0 comments on commit 1f02116

Please sign in to comment.