Files
poseidon/docs/resources/nomad.example.hcl
Maximilian Paß 71cf21abce Configure an ansible playbook (#5)
* Configure an ansible playbook
to copy all required configurations to a Poseidon host.

* Copy also all TLS certificates if configured

* Exclude playbook in its own repository

* Adjust security.md to our current recommendations

* Add certificate generation and deployment

* Move access policy example file to the resources folder
2021-10-12 11:06:59 +02:00

29 lines
582 B
HCL

# Full configuration options can be found at https://www.nomadproject.io/docs/configuration
data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"
limits {
http_max_conns_per_client = 0
}
# Require TLS
tls {
http = true
rpc = true
ca_file = "/home/ubuntu/ca.crt"
cert_file = "/home/ubuntu/cert.crt"
key_file = "/home/ubuntu/cert-key.pem"
verify_server_hostname = true
verify_https_client = true
}
# telemetry {
# collection_interval = "10s"
# prometheus_metrics = true
# publish_allocation_metrics = true
# publish_node_metrics = true
# }