From 63bc118b486a7c3eac0affd5f7343fcb7bc1dcc3 Mon Sep 17 00:00:00 2001 From: Bretton Date: Sat, 24 Jan 2026 00:21:52 -0800 Subject: [PATCH] chore(config): update .env.dev with image proxy settings Co-Authored-By: Claude Opus 4.5 --- .env.dev | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.env.dev b/.env.dev index a2993fc..e38c9f0 100644 --- a/.env.dev +++ b/.env.dev @@ -214,3 +214,18 @@ PLC_DIRECTORY_URL=http://localhost:3002 # - PostgreSQL is only for Coves AppView indexing # - AppView subscribes directly to PDS firehose (no relay needed) # - PDS firehose: ws://localhost:3001/xrpc/com.atproto.sync.subscribeRepos + + +# ============================================================================= +# Image Proxy Configuration +# ============================================================================= +# On-the-fly image resizing with disk caching +# Defaults to enabled - falls back to direct PDS URLs if proxy fails +IMAGE_PROXY_ENABLED=true +IMAGE_PROXY_BASE_URL=http://127.0.0.1:8081 +IMAGE_PROXY_CACHE_PATH=./cache/images +IMAGE_PROXY_CACHE_MAX_GB=5 +# Optional: CDN URL for production (leave empty for local dev) +# IMAGE_PROXY_CDN_URL= +IMAGE_PROXY_FETCH_TIMEOUT_SECONDS=30 +IMAGE_PROXY_MAX_SOURCE_SIZE_MB=10 -- 2.51.2