From 2f5376964f1236c9b6556793de82545f0324bfa8 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Tue, 2 Jul 2024 18:05:27 +0200 Subject: Remove job file for syncthing --- jobs/syncthing.nomad.hcl | 52 ------------------------------------------------ 1 file changed, 52 deletions(-) delete mode 100644 jobs/syncthing.nomad.hcl diff --git a/jobs/syncthing.nomad.hcl b/jobs/syncthing.nomad.hcl deleted file mode 100644 index 98f554d..0000000 --- a/jobs/syncthing.nomad.hcl +++ /dev/null @@ -1,52 +0,0 @@ -job "syncthing" { - group "syncthing" { - count = 1 - - network { - port "http" { - to = 8384 - } - port "sync" { - static = 22000 - } - port "discovery" { - static = 21027 - } - } - - service { - name = "syncthing-web" - port = "http" - provider = "nomad" - - tags = [ - "nginx.hostname=syncthing.magnusson.space", - "nginx.certname=magnusson.space", - ] - } - - volume "syncthing" { - type = "host" - source = "syncthing" - } - - task "syncthing" { - driver = "docker" - - resources { - cpu = 100 - memory = 150 - } - - volume_mount { - volume = "syncthing" - destination = "/config" - } - - config { - image = "linuxserver/syncthing:1.24.0" - ports = ["sync", "discovery", "http"] - } - } - } -} -- cgit v1.2.3