chore(media-centre): add health check configuration for jellyfin service
This commit is contained in:
parent
920df1fccc
commit
b2978cb4ef
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ job "media-centre" {
|
||||||
"traefik.http.routers.jellyfin.entrypoints=websecure",
|
"traefik.http.routers.jellyfin.entrypoints=websecure",
|
||||||
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.brmartin.co.uk`)"
|
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.brmartin.co.uk`)"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
check {
|
||||||
|
type = "http"
|
||||||
|
path = "/health"
|
||||||
|
interval = "5s"
|
||||||
|
timeout = "2s"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
network {
|
network {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue