chore: backup infrastructure configurations [skip ci]

This commit is contained in:
github-actions[bot]
2026-02-15 02:02:16 +00:00
parent bc78eb2981
commit 5c70d5b877
29 changed files with 171 additions and 86 deletions

View File

@@ -0,0 +1,53 @@
job "silverbullet" {
datacenters = ["dc1"]
type = "service"
group "editor" {
count = 1
network {
port "http" {
to = 3000
}
}
task "silverbullet" {
driver = "docker"
config {
image = "zefhemel/silverbullet"
ports = ["http"]
volumes = [
"/mnt/Public/configs/silverbullet:/space",
]
}
resources {
cpu = 200
memory = 512
}
service {
name = "silverbullet"
port = "http"
tags = [
"silverbullet",
"traefik.http.routers.sblan.rule=Host(`silverbullet.service.dc1.consul`)",
"traefik.http.routers.sbwan.rule=Host(`notes.fbleagh.duckdns.org`)",
"traefik.http.routers.sbwan.middlewares=dex@consulcatalog",
"traefik.http.routers.sbwan.tls=true",
]
check {
type = "http"
path = "/"
interval = "10s"
timeout = "2s"
}
}
}
}
}