fix: upgrade vikunka
This commit is contained in:
parent
7191cb7216
commit
0a57c5659c
@ -28,15 +28,21 @@ job "vikunja" {
|
|||||||
port = "api"
|
port = "api"
|
||||||
tags = [
|
tags = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.rule=Host(`${NOMAD_JOB_NAME}.ducamps.eu`) && PathPrefix(`/api/v1`, `/dav/`, `/.well-known/`)",
|
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.rule=Host(`${NOMAD_JOB_NAME}.ducamps.eu`)",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.eu",
|
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.eu",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.certresolver=myresolver",
|
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.certresolver=myresolver",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.entrypoints=web,websecure",
|
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.entrypoints=web,websecure",
|
||||||
|
"homer.enable=true",
|
||||||
|
"homer.name=vikunka",
|
||||||
|
"homer.service=Application",
|
||||||
|
"homer.logo=https://${NOMAD_JOB_NAME}.ducamps.eu/images/icons/apple-touch-icon-180x180.png",
|
||||||
|
"homer.target=_blank",
|
||||||
|
"homer.url=https://${NOMAD_JOB_NAME}.ducamps.eu",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
config {
|
config {
|
||||||
image = "vikunja/api"
|
image = "vikunja/vikunja"
|
||||||
ports = ["api"]
|
ports = ["api","front"]
|
||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
VIKUNJA_DATABASE_HOST = "active.db.service.consul"
|
VIKUNJA_DATABASE_HOST = "active.db.service.consul"
|
||||||
@ -60,33 +66,6 @@ job "vikunja" {
|
|||||||
memory = 100
|
memory = 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
task "front" {
|
|
||||||
driver = "docker"
|
|
||||||
service {
|
|
||||||
name = "vikunja-front"
|
|
||||||
port = "front"
|
|
||||||
tags = [
|
|
||||||
"traefik.enable=true",
|
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.rule=Host(`${NOMAD_JOB_NAME}.ducamps.eu`)",
|
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.eu",
|
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.tls.certresolver=myresolver",
|
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}-${NOMAD_TASK_NAME}.entrypoints=web,websecure",
|
|
||||||
"homer.enable=true",
|
|
||||||
"homer.name=vikunka",
|
|
||||||
"homer.service=Application",
|
|
||||||
"homer.logo=https://${NOMAD_JOB_NAME}.ducamps.eu/images/icons/apple-touch-icon-180x180.png",
|
|
||||||
"homer.target=_blank",
|
|
||||||
"homer.url=https://${NOMAD_JOB_NAME}.ducamps.eu",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
config {
|
|
||||||
image = "vikunja/frontend"
|
|
||||||
ports = ["front"]
|
|
||||||
}
|
|
||||||
resources {
|
|
||||||
memory = 20
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user