-
-
Notifications
You must be signed in to change notification settings - Fork 867
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 all blobstorage settings #658
Conversation
Great changes! Can you explain how to configure the CDN url with these new variables? |
Yeah, use the custom_domain setting for that. The docs mention this can be used to set a cdn (sub)domain (quick start point 1) or a custom domain. |
We should merge this PR. It improves the integration with Azure library's service. |
Hi this looks okay. My only question is about the required azure library bump, are there breaking changes from 3 to 4? |
I double checked, all settings are there[0], so the version bump is not required. I temporarily pinned the version and all tests pass as well. Not sure why I bumped them, maybe it was required for |
cd65fd9
to
a6ea342
Compare
Firstly, this is great work. I'm having some trouble getting this to work with an Azure CDN setup as opposed to a blob service custom domain. From what I can tell when I turned up debugging, it looks like the custom domain is used as an API endpoint. However, when used with Azure CDN, the custom domain resolves to Am I misunderstanding what the |
Interesting. No, it won't work, because as you said, it will try to upload the file to the custom domain (cdn) and fail. I think we should add two internal services, one to generate the URLs using the custom_domain (cdn) and another one to upload/download through blob.core. I've to try whether that plays nice with the endpoint_suffix, though. I'll try it tomorrow and ping you so you can try it as well @davidfischer |
I made some changes and this has worked for me:
Can you give this a try @davidfischer ? |
The changes worked for me. I tried:
|
570e3b6
to
31fd134
Compare
8984009
to
f7fba22
Compare
Hi, what is the progress on this? This is really useful for using Azurite inside of docker-compose and setting the AZURE_CUSTOM_DOMAIN to point to that container. |
Any update on this? |
It's up to @jschneier to merge it. I'm guessing he's waiting for the next minor (v1.8) release. We have been using this for a few months now and it has worked well so far. |
Ugh I screwed up resolving the conflict in the GUI and now am not sure how to undo it. |
fixes #643
Changes: