This repository has been archived on 2024-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
dumbproxy/README.md
2022-12-27 21:57:50 +03:00

1.3 KiB

HTTP(S) proxy dumbproxy image

Motivation — the original dumbproxy image doesn't have any configuration options.

Build

docker build -t nxhs/dumbproxy:latest -t nxhs/dumbproxy:1.7.0 .

Run

docker run -d \
    --restart always \
    --security-opt no-new-privileges \
    -p 8080:8080 \
    -e USERNAME=myuser \
    -e PASSWORD=secure_password \
    --name dumbproxy \
    nxhs/dumbproxy:latest

Environment

Variable Description
ADDRESS Argument for -bind-address. HTTP proxy listen address (default ":8080")
AUTH Argument for -auth option
USERNAME Username for -auth option with static scheme
PASSWORD Password for -auth option with static scheme
HIDDEN_DOMAIN See Authentication
OPTIONS Any options what you want