From 24e9993a6d90efdfb13e8198dd7286a5c28df98f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Oct 2023 09:31:43 +0200 Subject: [PATCH] Move config in secrets --- traefik.nomad.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traefik.nomad.hcl b/traefik.nomad.hcl index e89a2da..8bd2ce6 100644 --- a/traefik.nomad.hcl +++ b/traefik.nomad.hcl @@ -101,7 +101,7 @@ job [[ .traefik.instance | toJSON ]] { image = [[ .traefik.image | toJSON ]] command = "traefik" args = [ - "--configfile=/local/traefik.yml" + "--configfile=/secrets/traefik.yml" ] } @@ -110,7 +110,7 @@ job [[ .traefik.instance | toJSON ]] { data =<<_EOF [[ template "traefik/traefik.yml.tpl" . ]] _EOF - destination = "local/traefik.yml" + destination = "secrets/traefik.yml" perms = "0400" uid = 105443 gid = 100000