- Shell 55.1%
- Dockerfile 44.9%
|
All checks were successful
Build and publish docker image / build-and-push (push) Successful in 1m27s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .github/workflows | ||
| config | ||
| .gitignore | ||
| CONTRIBUTORS.md | ||
| Dockerfile | ||
| entrypoint.sh | ||
| LICENSE | ||
| README.md | ||
Squid Docker
Dockerized Squid proxy server for easy deployment.
Forked From:
Table of Contents
Introduction
This project provides a Dockerized version of Squid, a widely-used proxy server. It allows you to quickly set up and deploy a Squid proxy server within a Docker container.
Features
- Easy deployment using Docker
- Customizable configuration
- Efficient caching for improved performance
Usage
1. Pull the Squid Docker Image
docker pull docker pull ghcr.io/prinako/squid-docker:main
2. Run Squid Container
docker run -d --name squid -p 3128:3128 prinako/squid-docker:main
Adjust the port mappings and other options according to your requirements.
3. Configure Client Devices
Configure your client devices to use the Squid proxy. Update proxy settings with the Squid server's IP address and port (e.g., 3128).
Monitoring Logs
Monitor Squid logs by attaching to the running container or inspecting the logs:
docker logs -f squid
Additional Configuration (Optional)
For additional configuration options and customization, refer to the Squid Documentation.
Configuration
You can customize Squid's configuration by mounting a volume with your own configuration file. For example:
docker run -d --name squid -p 3128:3128 -v /path/to/your/squid.conf:/etc/squid/squid.conf prinako/squid-docker:main
Replace /path/to/your/squid.conf with the path to your custom Squid configuration file.
Considerations
- squid relies on ntp, this image uses systemd-timesyncd. maybe tell it to use something more local than the ubuntu time pools?
Contributing
If you want to contribute to this project, please follow the contribution guidelines.
License
This project is licensed under the MIT License.