commit bfa62ca2c60ff4df5c94534422e692e23e74aa66 Author: Miwory Date: Thu Apr 9 12:18:10 2026 +0300 Релиз diff --git a/.gitea/workflows/latest.yaml b/.gitea/workflows/latest.yaml new file mode 100644 index 0000000..aef6cd0 --- /dev/null +++ b/.gitea/workflows/latest.yaml @@ -0,0 +1,32 @@ +name: Production Build +run-name: ${{ github.actor }} is running the CI pipeline +on: + push: + branches: + - latest + +jobs: + publish: + runs-on: ubuntu-latest + env: + RUNNER_TOOL_CACHE: /${{ github.workspace }} + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: git.miwory.dev + username: ${{ secrets.CI_USERNAME }} + password: ${{ secrets.CI_TOKEN }} + + - name: Build and push Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: ./Prod.Dockerfile + push: true + tags: 'git.miwory.dev/Miwory/PodkopSubsets:latest' + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d981eef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM fholzer/nginx-brotli:latest + +RUN rm -rf /usr/share/nginx/html/* + +COPY ./lists /usr/share/nginx/html/lists +COPY nginx.conf /etc/nginx/conf.d/default.conf + +EXPOSE 80 +CMD ["-g", "daemon off;"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/lists/akamai.txt b/lists/akamai.txt new file mode 100644 index 0000000..c6f0dfc --- /dev/null +++ b/lists/akamai.txt @@ -0,0 +1,19 @@ +23.32.0.0/11 +23.192.0.0/11 +2.16.0.0/13 +104.64.0.0/10 +184.24.0.0/13 +23.0.0.0/12 +95.100.0.0/15 +92.122.0.0/15 +184.50.0.0/15 +88.221.0.0/16 +23.64.0.0/14 +72.246.0.0/15 +96.16.0.0/15 +96.6.0.0/15 +69.192.0.0/16 +23.72.0.0/13 +173.222.0.0/15 +118.214.0.0/16 +184.84.0.0/14 diff --git a/lists/cloudflare.txt b/lists/cloudflare.txt new file mode 100644 index 0000000..eb8553f --- /dev/null +++ b/lists/cloudflare.txt @@ -0,0 +1,15 @@ +173.245.48.0/20 +103.21.244.0/22 +103.22.200.0/22 +103.31.4.0/22 +141.101.64.0/18 +108.162.192.0/18 +190.93.240.0/20 +188.114.96.0/20 +197.234.240.0/22 +198.41.128.0/17 +162.158.0.0/15 +104.16.0.0/13 +104.24.0.0/14 +172.64.0.0/13 +131.0.72.0/22 diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..8349c29 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,4 @@ +location /lists { + autoindex on; + try_files $uri $uri/ $uri.txt; +}