https://github.com/riccardobl/iacclr
https://github.com/riccardobl/iacclr
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/riccardobl/iacclr
- Owner: riccardobl
- License: bsd-3-clause
- Created: 2023-03-08T22:12:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-12T20:28:22.000Z (about 2 years ago)
- Last Synced: 2024-10-06T05:21:15.733Z (8 months ago)
- Language: JavaScript
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iacclr
Turns every image into an optimized webp with cache on S3.## Build
```bash
docker build -t iacclr .
```## Usage
```bash
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
```