fix: do not run Nomad in dev mode
This commit is contained in:
2
Makefile
2
Makefile
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user