Files
livef12rocks/.env.example
T
Frank Schwenk dec74a46d7 feat: serve responsive WebP srcsets for faster mobile browsing
On-demand ?w= resize with a disk cache under webcache/; downloads stay full-resolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 13:04:33 +02:00

26 lines
962 B
Bash

# Copy to `.env` and fill in real values. Never commit `.env`.
# --- Host data path (Syncthing share root) ------------------------------
# Prod default (compose.yml): /home/frank/sync.schwenk.online/data/livef12
# Layout under that path: incoming/ variants/ intermediates/ meta/ webcache/
# (webcache = resized WebP for srcset; safe to wipe / add to phone .stignore)
# Local override when the absolute path does not exist:
# DATA_HOST_DIR=./data
# DATA_HOST_DIR=/home/frank/sync.schwenk.online/data/livef12
# --- Pipeline tuning (see make_random.py for background) -----------------
OUTPUT_COUNT=3
# Remix-form default / legacy; auto variants use the min/max range below.
BLEND_OPACITY=30%
BLEND_OPACITY_MIN=10
BLEND_OPACITY_MAX=50
FILTER_TIMEOUT=120
FILTER_TIMEOUT_LONG=300
MAX_FILTER_ATTEMPTS=8
MAX_EDGE_PX=2000
PREPROCESS_TIMEOUT=120
# birefnet-general OOMs on the ~8GB box; u2net + alpha ≈ `rembg i -a`
REMBG_MODEL=u2net
REMBG_ALPHA=1
NICE_LEVEL=18