Hi,
I'm trying to set up a simpleHTTPResolver running on docker with loris-grok-docker image to an s3 public bucket that I can access from the browser, without luck. Here's what I tried (one at a time):
SimpleFSResolver
[resolver]
impl='loris.resolver.SimpleFSResolver'
src_img_root='/usr/local/share/images'
then fetching works fine and I get the image
http://localhost:5004/image-identifier.jpg/full/full/0/default.jpg
SimpleHTTPResolver
[resolver]
impl = 'loris.resolver.SimpleHTTPResolver'
source_prefix='https://my-bucket.s3.eu-west-3.amazonaws.com/'
cache_root='/usr/local/share/images/loris'
then fetching gives an error 404
http://localhost:5004/image-identifier.jpg/full/full/0/default.jpg
[resolver]
impl = 'loris.resolver.SimpleHTTPResolver'
uri_resolvable=True
cache_root='/usr/local/share/images/loris'
then fetching gives an error 404
http://localhost:5004/https://my-bucket.s3.eu-west-3.amazonaws.com/image-identifier.jpg/full/full/0/default.jpg
Maybe I'm misunderstanding how it works and would appreciate any help.
Thanks!
Hi,
I'm trying to set up a simpleHTTPResolver running on docker with loris-grok-docker image to an s3 public bucket that I can access from the browser, without luck. Here's what I tried (one at a time):
SimpleFSResolver
then fetching works fine and I get the image
SimpleHTTPResolver
then fetching gives an error 404
then fetching gives an error 404
Maybe I'm misunderstanding how it works and would appreciate any help.
Thanks!