This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nomad agent -dev -bind 0.0.0.0 -acl-enabled >nomad-server.log & | |
sleep 5 | |
nomad acl bootstrap -json > bootstrap.json | |
export NOMAD_TOKEN=$(jq -r .SecretID bootstrap.json) | |
# creating a namespace and quota | |
nomad namespace apply -description "QA instances of webservers" web-qa | |
nomad quota init | |
nomad quota apply spec.hcl |