aboutsummaryrefslogtreecommitdiff
path: root/nomad/bottin2.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-14 22:41:28 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-14 22:42:11 +0100
commit4abdf2883e754e946bf2fd1e6ca0f1239717842d (patch)
tree5c7f2aaf40b6c6de05cf63b7aac43dc40e301d23 /nomad/bottin2.hcl
parent69e5c595d7818ea03388ede421d0c903c592ef49 (diff)
downloadinfrastructure-4abdf2883e754e946bf2fd1e6ca0f1239717842d.tar.gz
infrastructure-4abdf2883e754e946bf2fd1e6ca0f1239717842d.zip
Ajout du mecanisme d'invitation de Guichet
Diffstat (limited to 'nomad/bottin2.hcl')
-rw-r--r--nomad/bottin2.hcl11
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"
}