Dockerfile | ||
entrypoint.sh | ||
README.md |
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 |