diff options
Diffstat (limited to 'nomad/bottin2.hcl')
-rw-r--r-- | nomad/bottin2.hcl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nomad/bottin2.hcl b/nomad/bottin2.hcl index c883851..0e8c030 100644 --- a/nomad/bottin2.hcl +++ b/nomad/bottin2.hcl @@ -12,7 +12,7 @@ job "directory2" { task "bottin" { driver = "docker" config { - image = "lxpz/bottin_amd64:12" + image = "lxpz/bottin_amd64:13" readonly_rootfs = true port_map { ldap_port = 1389 @@ -61,7 +61,7 @@ job "directory2" { task "guichet" { driver = "docker" config { - image = "lxpz/guichet_amd64:5" + image = "lxpz/guichet_amd64:8" readonly_rootfs = true port_map { web_port = 9991 @@ -71,8 +71,13 @@ job "directory2" { ] } + artifact { + source = "http://127.0.0.1:8500/v1/kv/configuration/directory/guichet/config.json.tpl?raw" + destination = "secrets/config.json.tpl" + mode = "file" + } template { - data = "{{ key \"configuration/directory/guichet/config.json\" }}" + source = "secrets/config.json.tpl" destination = "secrets/config.json" } |