Vikunja config.

This commit is contained in:
2024-10-16 15:17:32 +01:00
parent 1339eaac30
commit 80d6b04b8b

39
services/vikunja.hcl Normal file
View File

@@ -0,0 +1,39 @@
job "vikunja" {
datacenters = ["alo"]
group "web" {
network {
port "http" {
to = 3456
}
}
task "server" {
driver = "docker"
config {
image = "vikunja/vikunja:latest"
ports = ["http"]
volumes = [
"/data/compute/appdata/vikunja/config.yml:/app/vikunja/config.yml:ro",
"/data/compute/appdata/vikunja/db:/db",
"/data/compute/appdata/vikunja/files:/app/vikunja/files",
]
}
env {
}
service {
name = "vikunja"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.vikunja.entryPoints=websecure",
"traefik.http.routers.vikunja.rule=Host(`todo.alo.land`)",
]
}
}
}
}