fix: default ports 8470 (HTTP) / 4250 (NATS) to avoid clash with registry_api on 8420

This commit is contained in:
agent
2026-06-03 19:54:36 +02:00
parent cd02a52191
commit 888ff75236
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -24,10 +24,10 @@ import (
func main() {
var (
natsURL = flag.String("nats-url", "", "external NATS url; empty starts an embedded server")
httpPort = flag.String("http-port", "8420", "HTTP port for the control-plane API")
httpPort = flag.String("http-port", "8470", "HTTP port for the control-plane API")
dbPath = flag.String("db", "./local_files/unibus.db", "SQLite database path")
storeDir = flag.String("store-dir", "./local_files/blobs", "blob store directory")
natsPort = flag.Int("nats-port", 4222, "embedded NATS listen port (when --nats-url empty)")
natsPort = flag.Int("nats-port", 4250, "embedded NATS listen port (when --nats-url empty)")
natsStore = flag.String("nats-store", "./local_files/jetstream", "embedded JetStream store dir")
)
flag.Parse()