fix(dapr): use pubsub.nats instead of deprecated natsstreaming, use --resources-path

This commit is contained in:
asepharyana
2026-07-21 17:31:57 +07:00
parent 7b983daa4c
commit 05f3a65358
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ services:
- '--dapr-http-port=3500'
- '--dapr-grpc-port=50001'
- '--placement-host-address=dapr-placement:50005'
- '--components-path=/components'
- '--resources-path=/components'
volumes:
- ../../infra/dapr/components:/components
+1 -1
View File
@@ -44,7 +44,7 @@ services:
- '--dapr-http-port=3500'
- '--dapr-grpc-port=50001'
- '--placement-host-address=dapr-placement:50005'
- '--components-path=/components'
- '--resources-path=/components'
volumes:
- ../../infra/dapr/components:/components
+1 -3
View File
@@ -3,10 +3,8 @@ kind: Component
metadata:
name: pubsub
spec:
type: pubsub.natsstreaming
type: pubsub.nats
version: v1
metadata:
- name: natsURL
value: nats://nats:4222
- name: natsStreamingClusterID
value: dapr-cluster