GithubHelp home page GithubHelp logo

devgateway / docker-polipo Goto Github PK

View Code? Open in Web Editor NEW
1.0 8.0 0.0 12 KB

Containerized Polipo web cache

License: Other

Dockerfile 61.27% Shell 38.73%
polipo docker docker-image webcache web-cache alpine alpine-linux

docker-polipo's Introduction

Polipo Image for Docker

This image is built on Alpine Linux with IPv6 support (using Musl libc). Polipo has been abandoned after release 1.1.1, but it's still great software. This unofficial release 1.1.2 includes patches from upstream and DG's tweaks to support build on newer systems.

Ports

Polipo is configured to listen on port 3128.

User

Polipo runs as user nobody, uid 65534.

Volume

/var/cache/polipo

Path to the disk cache directory. Polipo will store files up to a certain size in its disk cache.

Purging Disk Cache

Run /usr/lib/cache-purge.sh in the container. It will make Polipo flush memory cache to disk, trim the files, and reload.

Environment Variables

DISK_CACHE_TRUNCATE_SIZE

Size in bytes to which on-disk objects are truncated.

Default: 1048576

DISK_CACHE_TRUNCATE_TIME

Time after which on-disk objects are truncated.

Default: 4d12h

DISK_CACHE_UNLINK_TIME

Time after which on-disk objects are removed.

Default: 32d

MAX_DISK_CACHE_ENTRY_SIZE

Maximum size of objects cached on disk.

Default: -1 (unlimited)

See Also

Polipo Manual

Copyright

Copyright 2018, Development Gateway

See COPYING for details.

docker-polipo's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.