Remove old config.

This commit is contained in:
2025-10-23 21:22:27 +01:00
parent 5d0880a789
commit 376b3cd7e4

View File

@@ -1,72 +0,0 @@
job "tiddlywiki" {
datacenters = ["alo"]
group "server" {
volume "appdata" {
type = "host"
read_only = false
source = "appdata"
}
volume "nix-store" {
type = "host"
read_only = true
source = "nix-store"
}
volume "sw" {
type = "host"
read_only = true
source = "sw"
}
network {
port "http" { }
}
task "mws" {
driver = "exec"
config {
command = "/sw/bin/node"
args = [
"/appdata/tiddlywiki-mws/tiddlywiki.js",
"/appdata/tiddlywiki-mws/editions/multiwikiserver",
"--mws-load-plugin-bags",
"--build",
"load-mws-demo-data",
"--mws-listen",
"host=0.0.0.0",
"port=${NOMAD_PORT_http}",
]
}
volume_mount {
volume = "appdata"
destination = "/appdata"
}
volume_mount {
volume = "nix-store"
destination = "/nix/store"
}
volume_mount {
volume = "sw"
destination = "/sw"
}
service {
name = "tiddlywiki"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.tiddlywiki.rule=Host(`wiki.alo.land`)",
"traefik.http.routers.tiddlywiki.entryPoints=websecure",
"traefik.http.routers.tiddlywiki.middlewares=authentik@file",
]
}
resources {
cpu = 1000
memory = 512
}
}
}
}