Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.87 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.87 KB

Supported tags and respective Dockerfile links

Quick reference

What is nuster?

nuster is a caching proxy server based on HAProxy.

How to use this image

Create a Dockerfile

FROM nuster/nuster
COPY nuster.cfg /etc/nuster/nuster.cfg

Build the container

$ docker build -t my-nuster .

Test the configuration file

$ docker run -it --rm my-nuster nuster -c -f /etc/nuster/nuster.cfg

Run the container

$ docker run -d my-nuster

Directly via bind mount

$ docker run -d -p 8080:8080 -v /path/to/nuster.cfg:/etc/nuster/nuster.cfg:ro nuster/nuster