imageproxy icon indicating copy to clipboard operation
imageproxy copied to clipboard

can not cache using minio

Open wumuwumu opened this issue 3 years ago • 3 comments

When I use minio, I can't find the corresponding address, S3ForcePathStyle always doesn't work。

docker run -d -p 9001:8080 -e AWS_ACCESS_KEY_ID=AK -e AWS_SECRET_KEY=wJal ghcr.io/willnorris/imageproxy -addr 0.0.0.0:8080 -cache s3://zh-east-1/image-cache/images?endpoint=http://192.168.50.11:9328&disableSSL=1&s3ForcePathStyle=1

error: http://image-cache.192.168.50.11:9228/images/b3ff1785ff8282ded0e94a9ad5007984": dial tcp: lookup image-cache.192.168.50.11 on 223.5.5.5:53: no such host

version: lastest os: centos8

wumuwumu avatar Mar 04 '22 07:03 wumuwumu

@wumuwumu I also encountered, may I ask you to solve it?

image

image

ArcherTrister avatar Aug 15 '22 07:08 ArcherTrister

@ArcherTrister

Try replacing s3:// with http://

S3: s3://{region}/{bucket}/{path} s3://s3-us-east-2.amazonaws.com/bucketname/images Minio: http://{endpoint}/{bucket}/{path} http://minio.dev:9000/bucketname/images

rayNip avatar Nov 14 '22 09:11 rayNip