Compare commits

..

3 Commits

Author SHA1 Message Date
3450f1aec6 More RAM. 2024-10-16 18:10:02 +01:00
80d6b04b8b Vikunja config. 2024-10-16 15:17:32 +01:00
1339eaac30 Update node path. 2024-10-16 13:11:34 +01:00
2 changed files with 41 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ job "instasync" {
driver = "exec" driver = "exec"
config { config {
command = "/nix/store/9cwyl546mzksfbvk6gdpjddc7z7m6ixv-nodejs-20.15.1/bin/node" command = "/nix/store/bmmjbvb8hishfrg78ygjlynpq3ikpl39-nodejs-20.15.1/bin/node"
args = ["/code/instasync/sync.js"] args = ["/code/instasync/sync.js"]
} }

40
services/vikunja.hcl Normal file
View File

@@ -0,0 +1,40 @@
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",
]
}
resources {
memory = 1024
}
service {
name = "vikunja"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.vikunja.entryPoints=websecure",
"traefik.http.routers.vikunja.rule=Host(`todo.alo.land`)",
]
}
}
}
}