fix: do not run Nomad in dev mode

This commit is contained in:
2025-10-27 15:16:09 +01:00
parent 84735d67dd
commit 7939ea05f7
2 changed files with 8 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ mqtt-logs:
nomad-start:
@echo "Starting Nomad..."
@mkdir -p nomad-data
@sudo nomad agent -dev -config=./config/nomad/nomad.hcl -data-dir=$(PWD)/nomad-data
@sudo nomad agent -config=./config/nomad/nomad.hcl -data-dir=$(PWD)/nomad-data
@sleep 2
@echo "Nomad started at http://localhost:4646"

View File

@@ -51,6 +51,13 @@ addresses {
serf = "127.0.0.1"
}
# Advertise addresses (required by Nomad)
advertise {
http = "127.0.0.1:4646"
rpc = "127.0.0.1:4647"
serf = "127.0.0.1:4648"
}
# Ports
ports {
http = 4646