-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use DAPR_REDIS_HOST for scaffolding instead of DAPR_NETWORK #84
Comments
Hi @philliphoff, I'm seeing an issue where the scaffolding is producing a redis container named my
My component ymls which were generated all use a redis host of I think this may be related to either the bug this fixed or a new bug that this introduced.
Dapr extensions Thanks. |
@ElanHasson Yes, that's likely due to this bug (still present in |
Cool thanks! |
Currently the Dapr tasks scaffolder uses the environment variable
DAPR_NETWORK
to determine whether scaffold the Redis-related Dapr components file addresses usinglocalhost
(not present) orredis
(present). However, the latter may not match the actual Redis host name in that network (e.g. the Dev Container template usesdapr_redis
). Instead, the scaffolder should useDAPR_REDIS_HOST
which is generally expected to be set when using a custom network.The text was updated successfully, but these errors were encountered: