因需要对consul进行ui修改 通过百度才知道需要先安装nomad
windows版的
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "D:/tmp/server1"
# Enable the server
server {
enabled = true
# Self-elect, should be 3 or 5 for production
bootstrap_expect = 1}
启动
nomad agent -config server.hcl
参考:https://www.e-learn.cn/content/qita/887815
https://www.cnblogs.com/magic-chenyang/p/7975724.html