Git Product home page Git Product logo

Comments (6)

avoinea avatar avoinea commented on September 18, 2024

@teohhanhui Can you please detail a little. Which PARAM is doing this?

Thank you!

from eea.docker.varnish.

teohhanhui avatar teohhanhui commented on September 18, 2024

It's hardcoded in start.sh:

# Size of the cache storage
if [ ! -z "$CACHE_SIZE" ]; then
    PARAMS="$PARAMS -s malloc,$CACHE_SIZE"
else
    PARAMS="$PARAMS -s malloc,128M"
fi

from eea.docker.varnish.

teohhanhui avatar teohhanhui commented on September 18, 2024

Let's say I have SSD and want to use file storage instead of memory.

from eea.docker.varnish.

avoinea avatar avoinea commented on September 18, 2024

@teohhanhui Ok, I will add a new env $CACHE_STORAGE where you can override default cache like:

CACHE_STORAGE=file,/var/lib/varnish/varnish_storage.bin,1G

from eea.docker.varnish.

teohhanhui avatar teohhanhui commented on September 18, 2024

Thank you.

from eea.docker.varnish.

avoinea avatar avoinea commented on September 18, 2024

Fixed in the latest release. See tags:

  • :latest
  • :4s

Please note that these latest images run varnish on default port 6081 inside container instead of 80

from eea.docker.varnish.

Related Issues (13)

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.