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

36 lines
1.3 KiB
Markdown
Raw Normal View History

2022-12-27 21:57:50 +03:00
# HTTP(S) proxy dumbproxy image
Motivation — the [original dumbproxy](https://hub.docker.com/r/yarmak/dumbproxy)
image [doesn't have](https://github.com/Snawoot/dumbproxy/blob/master/Dockerfile)
any configuration options.
## Build
```shell
docker build -t nxhs/dumbproxy:latest -t nxhs/dumbproxy:1.7.0 .
```
## Run
```shell
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](https://github.com/Snawoot/dumbproxy#authentication) |
| `USERNAME` | Username for `-auth` option with `static` scheme |
| `PASSWORD` | Password for `-auth` option with `static` scheme |
| `HIDDEN_DOMAIN` | See [Authentication](https://github.com/Snawoot/dumbproxy#authentication) |
| `OPTIONS` | Any [options](https://github.com/Snawoot/dumbproxy#synopsis) what you want |