Skip to content

hallowelt/docker-bluespice-frontendcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BlueSpice "Frontend-Cache" service

This currently is just a regular Varnish server.

Environment variables

  • BACKEND_HOST: The hostname of the backend service
  • BACKEND_PORT: The port of the backend service

Usage

In a docker-compose.yml it must be wired like this:

  frontendcache:
    image: bluespice/frontendcache:5
    environment:
      BACKEND_HOST: wiki-web
      BACKEND_PORT: 9090
      VIRTUAL_HOST: ${WIKI_HOST}
      VIRTUAL_PORT: 80
      VIRTUAL_PATH: /
    tmpfs:
      - /var/lib/varnish/varnishd:exec
    depends_on:
      - wiki-web

Make sure to remove VIRTUAL_HOST, VIRTUAL_PORT and VIRTUAL_PATH from the wiki-web service!

How to release a new version

Build a new version of the image

docker build --no-cache --pull -t bluespice/frontendcache:latest .

Apply proper tags

HINT: We align the image tags with the version of BlueSpice that it is compatible with.

Example:

docker tag bluespice/frontendcache:latest bluespice/frontendcache:5
docker tag bluespice/frontendcache:latest bluespice/frontendcache:5.2
docker tag bluespice/frontendcache:latest bluespice/frontendcache:5.2.1

Push the image to the registry

Example:

docker push bluespice/frontendcache:latest
docker push bluespice/frontendcache:5
docker push bluespice/frontendcache:5.2
docker push bluespice/frontendcache:5.2.1

Testing

Install trivy and run trivy image bluespice/frontendcache to check for vulnerabilities.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors