-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Minio S3-Cache #719
Comments
@richardbischof Thanks for the write-up. The S3 cache is designed to support other S3 API compatible back ends, so this request is in alignment with the current design. I have not used minio personally so I'm unfamiliar with their nuances. Adding this config option sounds like a win. I'm absolutely open for a PR if you want to open one up and we can review the proposed implementation there. One request, if it's reasonably easy, would be to add a test case against minio in our GH Action CI. That would be really helpful to make sure no one breaks the implementation going forward. |
Thank you for your feedback. I took a look on GH Actions, but as far as I understood, there have to be an Minio instance running in the environment, where the action is executed. I have no experience with the setup of GH Actions. Maybe someone can help me? |
@richardbischof apologies for the slow response, I have been traveling but I'm back now. I can help with setting up minio in the GH Actions. It looks like mino has a docker container we can use which makes this easy. Take a look at the I'm not familiar with running minio, but I'm happy to collaborate on getting this running in the CI. If it's easier we can try to do this in real-time on Slack (http://slack.go-spatial.org/) or you can send in a PR and we can interate there. |
closed by #745 |
Dear community,
today tegola can make use of s3 as a cache. For local testing and deployment in an fully open source environments, I want to use https://github.com/minio/minio as my object store of choice. Minio is an open source object store, which is broadly used and often considered as an alternative in comparable scenarios.
Sadly tegola can not use minio, because minio does not use the bucket name as an subdomain, like AWS S3 does.
Here is my docker-compose.yaml to demo the issue:
config.toml
With this configuration, tegola tries to connect to "http://tegola.minio:9000", but the correct path would be "http://minio:9000/tegola". This behavior can be changed by setting the aws-sdk-go S3Clients property S3ForcePathStyle to "true".
With this issue I propose to add this parameter in an configurable way. I already have a working solution, which covers the parsing of the configuration parameter from config.toml and apply it in the same way as other configuration parameters. I would love to make PR. You can find my work here: richardbischof@36b05ba
I would love to have your feedback.
Regards, Richard
The text was updated successfully, but these errors were encountered: