This commit is contained in:
Paramtamtam 2022-06-10 11:04:26 +04:00
parent 30724ceee3
commit f82ce4fac2
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B
3 changed files with 35 additions and 11 deletions

24
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"labels": [
"dependencies"
],
"assignees": [
"tarampampam"
],
"extends": [
"config:base",
":disableDependencyDashboard"
],
"regexManagers": [
{
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"ARG 3PROXY_VERSION=(?<currentValue>.*?)\n"
],
"depNameTemplate": "github.com/z3APA3A/3proxy",
"datasourceTemplate": "git-tags"
}
]
}

View File

@ -1,12 +1,12 @@
# Image page: <https://hub.docker.com/_/gcc> # Image page: <https://hub.docker.com/_/gcc>
FROM gcc:12.1.0 as builder FROM gcc:12.1.0 as builder
# e.g.: `docker build --build-arg "VERSION=0.9.4" .` # e.g.: `docker build --build-arg "3PROXY_VERSION=0.9.4" .`
ARG VERSION="0.9.4" ARG 3PROXY_VERSION=0.9.3
# Fetch 3proxy sources # Fetch 3proxy sources
RUN set -x \ RUN set -x \
&& git clone --branch "${VERSION}" https://github.com/z3APA3A/3proxy.git /tmp/3proxy && git clone --branch "${3PROXY_VERSION}" https://github.com/z3APA3A/3proxy.git /tmp/3proxy
WORKDIR /tmp/3proxy WORKDIR /tmp/3proxy

View File

@ -18,10 +18,10 @@
TCP ports: TCP ports:
Port number | Description | Port number | Description |
----------- | ----------- |-------------|---------------------------------------------------------|
`3128` | [HTTP proxy](https://3proxy.org/doc/man8/proxy.8.html) | `3128` | [HTTP proxy](https://3proxy.org/doc/man8/proxy.8.html) |
`1080` | [SOCKS proxy](https://3proxy.org/doc/man8/socks.8.html) | `1080` | [SOCKS proxy](https://3proxy.org/doc/man8/socks.8.html) |
## Supported tags ## Supported tags
@ -31,10 +31,10 @@ All supported image tags [can be found here][link_docker_tags].
## Supported environment variables ## Supported environment variables
Variable name | Description | Example | Variable name | Description | Example |
---------------- | ----------------------------------------- | --------------- |------------------|------------------------|------------|
`PROXY_LOGIN` | Authorization login | `username` | `PROXY_LOGIN` | Authorization login | `username` |
`PROXY_PASSWORD` | Authorization password | `password` | `PROXY_PASSWORD` | Authorization password | `password` |
## How can I use this? ## How can I use this?