aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/nomad/templates/nomad.hcl.j2
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
committerQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
commit0a6ffcacd209a1693677f3839d427f471f8fd639 (patch)
tree17de3675d17568aa1e357939794e17a561ed83a4 /os/config/roles/nomad/templates/nomad.hcl.j2
parent2d61f1449dbcb502ba07bda6bdea387fdef2cbda (diff)
parent80c2f1f7013266335e17d2f5be7096dc25b7206a (diff)
downloadinfrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.tar.gz
infrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.zip
Merge branch 'main' of git.deuxfleurs.fr:Deuxfleurs/infrastructure into main
Diffstat (limited to 'os/config/roles/nomad/templates/nomad.hcl.j2')
-rw-r--r--os/config/roles/nomad/templates/nomad.hcl.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/os/config/roles/nomad/templates/nomad.hcl.j2 b/os/config/roles/nomad/templates/nomad.hcl.j2
index d1c0720..12acbd3 100644
--- a/os/config/roles/nomad/templates/nomad.hcl.j2
+++ b/os/config/roles/nomad/templates/nomad.hcl.j2
@@ -39,3 +39,14 @@ telemetry {
publish_allocation_metrics = true
publish_node_metrics = true
}
+
+plugin "docker" {
+ config {
+ pull_activity_timeout = "15m"
+ volumes {
+ enabled = true
+ }
+ allow_privileged = true
+ }
+}
+