riccardobl / iacclr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iacclr

Turns every image into an optimized webp with cache on S3.

Build

docker build -t iacclr .

Usage

docker run -d \
--read-only \
--restart=always \
-p8080:8080 \
--tmpfs /tmp \
--name iacclr \
-e S3_PUBLIC="https://s3-public-link.tld" \
-e S3="http[s]://user:password@host:port#region/bucket" \
-e URL_WHITELIST="https?://example.com/.+,https?://example2.com/images/.+" \
iacclr

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 98.4%Language:Dockerfile 1.6%