Skip to content

Commit 8c03aa7

Browse files
authored
fix(storage): enhance imgproxy limits (#3054)
fix: enhance imgproxy limits
1 parent 48b977a commit 8c03aa7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/start/start.go

+4
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,10 @@ EOF
883883
"IMGPROXY_BIND=:5001",
884884
"IMGPROXY_LOCAL_FILESYSTEM_ROOT=/",
885885
"IMGPROXY_USE_ETAG=/",
886+
"IMGPROXY_MAX_SRC_RESOLUTION=50",
887+
"IMGPROXY_MAX_SRC_FILE_SIZE=25000000",
888+
"IMGPROXY_MAX_ANIMATION_FRAMES=60",
889+
"IMGPROXY_ENABLE_WEBP_DETECTION=true",
886890
},
887891
Healthcheck: &container.HealthConfig{
888892
Test: []string{"CMD", "imgproxy", "health"},

0 commit comments

Comments
 (0)