nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit 42bd42698e0150d4107b254e6b47e6b9d22d9d34
parent 4606e403a7c12f66a47e66aa11b0dafff83df7dc
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 16 Jun 2024 14:57:21 +0200

feat(caldav): use HIVEDAV_CALDAV_HOST

Diffstat:
Mhcl/default/hivedav-demo/hivedav-demo.nomad | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hcl/default/hivedav-demo/hivedav-demo.nomad b/hcl/default/hivedav-demo/hivedav-demo.nomad @@ -92,6 +92,7 @@ job "hivedav-demo" { env { HIVEDAV_HOST = "meet.in0rdr.ch" + HIVEDAV_CALENDAR = 1 } template { @@ -99,7 +100,7 @@ job "hivedav-demo" { env = true destination = "${NOMAD_SECRETS_DIR}/env" data = <<EOT -HIVEDAV_CALDAV_URI = "{{with secret "kv/hivedav"}}{{index .Data.data.HIVEDAV_CALDAV_URI}}{{end}}" +HIVEDAV_CALDAV_HOST = "{{with secret "kv/hivedav"}}{{index .Data.data.HIVEDAV_CALDAV_HOST}}{{end}}" HIVEDAV_CALDAV_USER = "{{with secret "kv/hivedav"}}{{index .Data.data.HIVEDAV_CALDAV_USER}}{{end}}" HIVEDAV_CALDAV_PASSWORD = "{{with secret "kv/hivedav"}}{{index .Data.data.HIVEDAV_CALDAV_PASSWORD}}{{end}}" HIVEDAV_SMTP_HOST = "{{with secret "kv/hivedav"}}{{index .Data.data.HIVEDAV_SMTP_HOST}}{{end}}"