nomad

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

commit a69199b4869588f5bb2235f8c378fffb485890c5
parent 0deadab80de7bb36fc101cbef81dfc2ccc916b92
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Fri, 27 Sep 2024 01:18:33 +0200

feat(myheats): use new images

Diffstat:
Mdocker/docker-myheats-nginx/Dockerfile | 4----
Mhcl/default/myheats-demo/myheats-demo.nomad | 4++--
2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/docker/docker-myheats-nginx/Dockerfile b/docker/docker-myheats-nginx/Dockerfile @@ -2,16 +2,12 @@ FROM docker.io/nginx:alpine # Read args from build command ARG VITE_APP_DOC_TITLE='My Heats' -ARG VITE_APP_SUPABASE_URL='' -ARG VITE_APP_SUPABASE_KEY='changeme' # use NODE_ENV=prod to exclude the `devDependencies` (e..g, vite) # we require `vite` command in `npm run build` below ARG NODE_ENV=dev # Configure the env with the args ENV VITE_APP_DOC_TITLE="$VITE_APP_DOC_TITLE" -ENV VITE_APP_SUPABASE_URL="$VITE_APP_SUPABASE_URL" -ENV VITE_APP_SUPABASE_KEY="$VITE_APP_SUPABASE_KEY" ENV NODE_ENV="$NODE_ENV" RUN apk update diff --git a/hcl/default/myheats-demo/myheats-demo.nomad b/hcl/default/myheats-demo/myheats-demo.nomad @@ -35,7 +35,7 @@ job "myheats-demo" { driver = "podman" config { - image = "docker.io/library/nginx:stable-alpine" + image = "127.0.0.1:5000/myheats-demo-nginx:latest" ports = ["https"] volumes = [ # mount the templated config from the task directory to the container @@ -74,7 +74,7 @@ job "myheats-demo" { driver = "podman" config { - image = "127.0.0.1:5000/myheats-demo:latest" + image = "127.0.0.1:5000/myheats:latest" ports = ["http"] volumes = [ # mount the templated config from the task directory to the container