diff --git a/package-lock.json b/package-lock.json index e4533e1..03b5470 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "debrid-media-manager", - "version": "2.5.5", + "version": "2.5.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "debrid-media-manager", - "version": "2.5.5", + "version": "2.5.6", "dependencies": { "@ctrl/video-filename-parser": "^4.12.0", "@octokit/rest": "^19.0.7", diff --git a/package.json b/package.json index 55c442b..b29003f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "debrid-media-manager", - "version": "2.5.5", + "version": "2.5.6", "private": false, "scripts": { "dev": "next dev", diff --git a/tor.Dockerfile b/tor.Dockerfile index d4e523b..d946f57 100644 --- a/tor.Dockerfile +++ b/tor.Dockerfile @@ -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