Docker
We've build docker images on hub.docker.com. If you want to run webp-server
insider docker container, you can run the command below,
docker run -d -p 3333:3333 -v /path/to/pics:/opt/pics --name webps webpsh/webps
The path path/to/pics
is your images serving in local. The path /opt/pics
is currently unable modify because it's defined in the config.json
while building the docker image.
The cache folder EXHAUST_PATH
's default is defined in /opt/exhaust
, you can also mount the local directory for the cache folder by using -v /path/to/exhaust:/opt/exhaust
option.