https://github.com/moclojer/p001
Easy docker image to run a simple http proxy server with basic auth (squid)
https://github.com/moclojer/p001
docker docker-image proxy proxy-server squid
Last synced: about 1 month ago
JSON representation
Easy docker image to run a simple http proxy server with basic auth (squid)
- Host: GitHub
- URL: https://github.com/moclojer/p001
- Owner: moclojer
- License: mit
- Created: 2024-05-13T00:57:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T15:04:53.000Z (about 2 years ago)
- Last Synced: 2025-10-29T02:56:20.862Z (8 months ago)
- Topics: docker, docker-image, proxy, proxy-server, squid
- Language: Dockerfile
- Homepage: https://github.com/moclojer/p001
- Size: 28.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# p001 - HPPT proxy server in docker
Easy docker image to run a simple http proxy server with basic auth (squid).
* **docker image:** `ghcr.io/moclojer/p001:latest`
* **port:** `3128` *default*, if you want to set a different port you must declare the environment variable `P001_PORT` *(it will proxy in docker)*
* **user/pass?** `moclojer` *default*, if you want to use a proxy with username and password (which we recommend), you need to set the environment variables `P001_USER` and `P001_USER`
## docker compose example
"A simple way to use the Docker image is through docker compose. Below is an example of how to use the image."
```yaml
version: "3"
services:
squid:
image: ghcr.io/moclojer/p001:latest
ports:
- ${P001_PORT:-3128}:3128
environment:
- P001_USER=$P001_USER
- P001_PASS=$P001_PASS
volumes:
- .env:/src/.env
```