Compare commits

..
7 Commits
Author SHA1 Message Date
thuanle d373ec829c Update README.md
Weekly Docker Build / build (amd64) (push) Failing after 2s
Weekly Docker Build / build (arm64) (push) Successful in 15s
Weekly Docker Build / amend-manifest (push) Has been skipped
2025-09-07 10:50:19 +07:00
thuanle 87880f1f26 Merge pull request 'Configure Renovate' (#1) from renovate/configure into main
Weekly Docker Build / build (arm64) (push) Successful in 18s
Weekly Docker Build / build (amd64) (push) Successful in 1m8s
Weekly Docker Build / amend-manifest (push) Successful in 7s
Reviewed-on: #1
2025-09-07 10:40:02 +07:00
Renovate Bot ca6cc13455 Add renovate.json
Weekly Docker Build / build (amd64) (push) Successful in 17s
Weekly Docker Build / build (arm64) (push) Successful in 21s
Weekly Docker Build / amend-manifest (push) Successful in 5s
2025-09-06 03:32:27 +00:00
thuanle c97e3801a8 update ci for runner changed
Weekly Docker Build / build (arm64) (push) Successful in 7s
Weekly Docker Build / build (amd64) (push) Successful in 28s
Weekly Docker Build / amend-manifest (push) Successful in 5s
2025-08-22 00:30:32 +07:00
thuanle 0cdbb2fe7b Add Privoxy configuration file and update Dockerfile to copy it
Weekly Docker Build / build (arm64) (push) Successful in 1m2s
Weekly Docker Build / build (amd64) (push) Successful in 2m28s
Weekly Docker Build / amend-manifest (push) Has been cancelled
2025-07-11 12:57:03 +07:00
thuanle 1cdb1ad4bc Ensure USER directive is placed before CMD in Dockerfile for Privoxy
Weekly Docker Build / build (arm64) (push) Successful in 8s
Weekly Docker Build / build (amd64) (push) Successful in 18s
Weekly Docker Build / amend-manifest (push) Successful in 6s
2025-07-11 12:45:01 +07:00
thuanle 97e97a2403 Update CMD in Dockerfile to specify the config path for Privoxy 2025-07-11 12:44:39 +07:00
5 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
docker push ${{ env.IMAGE_PATH }}:${{ matrix.arch }}-latest
amend-manifest:
runs-on: ubuntu-latest
runs-on: linux
needs: [build]
steps:
- name: Login to Docker Registry
+7 -1
View File
@@ -2,4 +2,10 @@ FROM alpine:latest
RUN apk add --no-cache privoxy
CMD ["privoxy", "--no-daemon"]
COPY config /etc/privoxy/
RUN chown -R 1000:1000 /etc/privoxy /var/log/privoxy
USER 1000:1000
CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"]
+15 -3
View File
@@ -31,11 +31,23 @@ services:
2. **Chỉnh sửa cấu hình Privoxy:**
- Copy file cấu hình mẫu từ container (nếu cần):
- Tạo file `privoxy/config` với cấu hình mặc định
```
listen-address 0.0.0.0:8118
toggle 1
enable-remote-toggle 0
enable-edit-actions 0
enforce-blocks 1
buffer-limit 4096
logfile /dev/stdout
```
- Hoặc copy file cấu hình mẫu từ container (nếu chưa mount config folder):
```sh
docker cp privoxy:/etc/privoxy/config ./privoxy/config
```
- Hoặc tự tạo file `config` trong thư mục `privoxy`.
3. **Chạy dịch vụ:**
@@ -50,4 +62,4 @@ services:
## Thông tin thêm
- Image được build định kỳ hàng tuần và hỗ trợ đa kiến trúc (amd64, arm64).
- Để build hoặc push image, xem file `.gitea/workflows/build-docker.yml`.
- Để build hoặc push image, xem file [build-docker.yml](.gitea/workflows/build-docker.yml).
+9
View File
@@ -0,0 +1,9 @@
listen-address 0.0.0.0:8118
toggle 1
enable-remote-toggle 0
enable-edit-actions 0
enforce-blocks 1
buffer-limit 4096
logfile /dev/stdout
+3
View File
@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}