1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/nomad/server.hcl
Dermot Bradley 40e2f43a8d community/nomad: upgrade to 1.4.2
Upgrade to new release.

Modify init.d script to add "after cgroups docker" to ensure Nomad is
started after cgroups and docker.

Create /etc/cni and /usr/lib/nomad/plugins directories.

Disable AWS, Azure, DigitalOcean, and GCE fingerprinting by default.
2022-10-30 20:02:32 +00:00

30 lines
607 B
HCL

data_dir = "/var/lib/nomad"
disable_update_check = true
enable_syslog = true
plugin_dir = "/usr/lib/nomad/plugins"
server {
enabled = true
bootstrap_expect = 1
}
client {
enabled = true
# CNI-related settings
cni_config_dir = "/etc/cni"
cni_path = "/usr/libexec/cni"
options {
# Uncomment to disable some drivers
#driver.denylist = "java,raw_exec"
# Disable some fingerprinting
fingerprint.denylist = "env_aws,env_azure,env_digitalocean,env_gce"
}
}
ui {
# Uncomment to enable UI, it will listen on port 4646
#enabled = true
}