From cda2842f8faa9fc582af87fcef87cef9212fb8b2 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 3 Jan 2024 13:50:49 -0800 Subject: [PATCH] Switch to image containing stunnel Rather than installing on container startup, using an image with stunnel pre-installed. This avoids issues with DNS breaking the container on startup. --- backups/backup.nomad | 13 ++----------- core/blocky/blocky.nomad | 13 ++----------- core/grafana.nomad | 13 ++----------- databases/lldap.nomad | 13 ++----------- databases/mysql.nomad | 13 ++----------- databases/postgres.nomad | 13 ++----------- databases/redis.nomad | 13 ++----------- services/service/service_template.nomad | 13 ++----------- 8 files changed, 16 insertions(+), 88 deletions(-) diff --git a/backups/backup.nomad b/backups/backup.nomad index ac178c5..b25dcf2 100644 --- a/backups/backup.nomad +++ b/backups/backup.nomad @@ -173,8 +173,8 @@ job "Dummy" { } config { - image = "alpine:3.17" - args = ["/bin/sh", "$${NOMAD_TASK_DIR}/start.sh"] + image = "iamthefij/stunnel:latest" + args = ["$${NOMAD_TASK_DIR}/stunnel.conf"] } resources { @@ -182,15 +182,6 @@ job "Dummy" { memory = 100 } - template { - data = <