From cd1f38229ad9f834b39987e957f835fad35118d5 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Thu, 17 Apr 2025 10:41:29 +0100 Subject: [PATCH] alowiki -> wiki.alo.land Move to generic folder name. --- services/wiki.hcl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services/wiki.hcl b/services/wiki.hcl index 8eedbdb..95ef227 100644 --- a/services/wiki.hcl +++ b/services/wiki.hcl @@ -29,8 +29,8 @@ job "wiki" { config { command = "/sw/bin/node" args = [ - "/appdata/petruwiki/node_modules/tiddlywiki/tiddlywiki.js", - "/appdata/petruwiki/captainslog", + "/appdata/wiki/node_modules/tiddlywiki/tiddlywiki.js", + "/appdata/wiki/captainslog", "--listen", "host=0.0.0.0", "port=${NOMAD_PORT_captainslog}", @@ -78,8 +78,8 @@ job "wiki" { config { command = "/sw/bin/node" args = [ - "/appdata/petruwiki/node_modules/tiddlywiki/tiddlywiki.js", - "/appdata/petruwiki/alo", + "/appdata/wiki/node_modules/tiddlywiki/tiddlywiki.js", + "/appdata/wiki/alo", "--listen", "host=0.0.0.0", "port=${NOMAD_PORT_alo}", @@ -108,6 +108,7 @@ job "wiki" { port = "alo" tags = [ "traefik.enable=true", + "traefik.http.routers.alowiki.rule=Host(`wiki.alo.land`)", "traefik.http.routers.alowiki.entryPoints=websecure", "traefik.http.routers.alowiki.middlewares=authentik@file", ]