Skip to content

Commit 6bee19f

Browse files
update: docker now bundles with tor
1 parent 9eab32e commit 6bee19f

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,20 @@ WORKDIR /app
44

55
LABEL org.opencontainers.image.title="Holy Unblocker LTS" \
66
org.opencontainers.image.description="An effective, privacy-focused web proxy service" \
7-
org.opencontainers.image.version="6.9.0" \
7+
org.opencontainers.image.version="6.9.1" \
88
org.opencontainers.image.authors="Holy Unblocker Team" \
99
org.opencontainers.image.source="https://github.com/QuiteAFancyEmerald/Holy-Unblocker/"
1010

11+
RUN apk add --no-cache tor bash
12+
1113
COPY . .
1214

1315
RUN npm run fresh-install
1416
RUN npm run build
1517

16-
EXPOSE 8080
18+
EXPOSE 8080 9050 9051
19+
20+
COPY serve.sh /serve.sh
21+
RUN chmod +x /serve.sh
1722

18-
CMD ["node", "backend.js"]
23+
CMD ["/serve.sh"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.9"
22

33
services:
44
holy-unblocker:
5-
image: quiteafancyemerald/holy-unblocker:6.9.0
5+
image: quiteafancyemerald/holy-unblocker:6.9.1
66
build: .
77
container_name: holy-unblocker
88
ports:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "holyunblocker",
3-
"version": "6.9.0",
3+
"version": "6.9.1",
44
"repository": "https://github.com/QuiteAFancyEmerald/Holy-Unblocker",
55
"description": "Holy Unblocker LTS is a web proxy service that helps you access websites that may be blocked by your network, government or policy all within your browser with no download or setup.",
66
"main": "backend.js",

serve.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
# Start Tor in the background; note that this may take awhile even after the app starts
3+
tor &
4+
5+
exec node backend.js

0 commit comments

Comments
 (0)