Sign inSign up

tuiteraz/squid

By tuiteraz

•Updated about 3 years ago

https://github.com/oleksii-honchar/squid

Image
0

302

tuiteraz/squid repository overview

⁠squid

Squid⁠ proxy docker image with piped logs for arm64 (github⁠)

⁠Intention

  • To have minimalistic, small size, arm64 based squid image
  • No log files inside the container to get rid of log rotation

⁠Description

Named pipes used for squid both cache and access logs. Pipes forwards logs to stdout of PID 1. Where they are collected by docker log driver. So, no log rotate care inside container needed. More details in entrypoint.sh⁠ and squid.conf.dist⁠

⁠How to use with docker-compose

version: '3.8'

services:
  squid:
    env_file:
      - project.env
    image: tuiteraz/squid:latest
    container_name: tuiteraz-squid
    user: root
    ports:
      - 5138:5138
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "5"

Tag summary

Content type

Image

Digest

sha256:a30242571…

Size

6.8 MB

Last updated

about 3 years ago

docker pull tuiteraz/squid