Adapt for new templates

This commit is contained in:
Daniel Berteaud 2023-08-28 16:34:02 +02:00
parent ab1229d283
commit 67e593ba5e
2 changed files with 3 additions and 8 deletions

2
deps/common vendored

@ -1 +1 @@
Subproject commit 9771ed3768f99c8ded685733867b877490ec77e8
Subproject commit 23037f6e67023c88dee875f5a534960613eda634

View File

@ -1,6 +1,6 @@
job "smtp-relay" {
[[ template "common/job_start.tpl" .nomad ]]
[[ template "common/job_start.tpl" . ]]
group "smtp-relay" {
@ -24,12 +24,7 @@ job "smtp-relay" {
name = "smtp-relay[[ .env.suffix ]]"
port = 8025
connect {
sidecar_service {}
sidecar_task {
[[ template "common/resources.tpl" .envoy ]]
}
}
[[ template "common/connect.tpl" dict "ctx" . "config" .mail.relay ]]
}
task "exim" {