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
This commit is contained in:
28
docs/resources/nomad.example.hcl
Normal file
28
docs/resources/nomad.example.hcl
Normal file
@ -0,0 +1,28 @@
|
||||
# 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
|
||||
# }
|
Reference in New Issue
Block a user