Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Allow Dapr placement container address to be defined in Tye.yaml #768

Open
dasiths opened this issue Nov 9, 2020 · 0 comments
Open

Allow Dapr placement container address to be defined in Tye.yaml #768

dasiths opened this issue Nov 9, 2020 · 0 comments
Labels

Comments

@dasiths
Copy link
Member

dasiths commented Nov 9, 2020

As referenced in #763

When running Dapr in Windows (with WSL2 backend) the Dapr placement container runs on 6050 port on the host. So it requires we do something like this in Tye.yaml (Example https://github.com/dotnet/tye/blob/master/samples/dapr/tye.yaml)

# To ensure that your are running a dapr placement container with the right binding port.
# (50005 as HostPort)
- name: placement
  image: daprio/dapr
  args: ./placement
  bindings:
    - port: 50005

The PR at #767 aims to simplify this by allowing you to do something like

extensions:
- name: dapr
  log-level: debug
  components-path: "./components/"
  placement-address: "localhost:6050"
@dasiths dasiths added the idea label Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant