Vikunja config.
This commit is contained in:
39
services/vikunja.hcl
Normal file
39
services/vikunja.hcl
Normal 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`)",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user