Sign inSign up

wjordan/image-resizer

By wjordan

•Updated over 9 years ago

Image
1

3.1K

wjordan/image-resizer repository overview

⁠Dockerfile⁠ for image-resizer⁠

Runs image-resizer⁠ in Docker on Alpine Linux.

⁠Usage

Run the Docker image, publish port 3001 and provide configuration via environment variables:

$ docker run --rm -ti \
  --name image-server \
  -p 3001:3001 \
  -e DEFAULT_SOURCE=wikipedia \
  wjordan/image-resizer

You can also run as a daemon (replace --rm -ti with -d), then use docker logs -f image-server to watch the log output on-demand.

Request an image-resizer url from your browser, e.g., http://localhost:3001/h200-cfit/commons/c/c4/Louis_Armstrong2.jpg⁠.

See the documentation for image-resizer⁠ for additional environment variables and API usage.

⁠License

Licensed under MIT⁠

Tag summary

Content type

Image

Digest

sha256:cf9c23fdf…

Size

21.8 MB

Last updated

over 9 years ago

docker pull wjordan/image-resizer