fix(dev): task dev uses embedded NATS regardless of the installed config
This commit is contained in:
1 file changed
+8
@@ -23,6 +23,14 @@ migration_database_url = "postgres://archie_migrator:archie@127.0.0.1:5432/archi
|
||||
[web]
|
||||
listen = "127.0.0.1:8484"
|
||||
|
||||
# The installed config may point [nats] at the optional external broker, which
|
||||
# `task dev` never starts. An explicit empty url overrides it, so the daemon
|
||||
# runs the embedded broker as in the e2e stack; the broker binds the host
|
||||
# gateway, which task containers reach.
|
||||
[nats]
|
||||
mode = "embedded"
|
||||
url = ""
|
||||
|
||||
# `task dev` runs archie-state-store via dev:state-store, which passes no
|
||||
# -listen, so the listen below is the port the store binds. It must agree with
|
||||
# the target: these two lines are the only place that pair is stated. Move them
|
||||
|
||||
Reference in new issue
Block a user