rutorrent: resolve issue with docker

This commit is contained in:
vincent 2024-11-09 10:22:24 +01:00
parent 3eb2dbfa08
commit 5e2bb57914

View File

@ -23,7 +23,7 @@ job "torrent" {
} }
} }
task "bittorent" { task "bittorent" {
driver = "podman" driver = "docker"
service { service {
name = "bittorent" name = "bittorent"
port = "http" port = "http"
@ -43,11 +43,11 @@ job "torrent" {
"traefik.http.routers.${NOMAD_JOB_NAME}.middlewares=authelia-basic", "traefik.http.routers.${NOMAD_JOB_NAME}.middlewares=authelia-basic",
] ]
} }
user = "root"
config { config {
ulimit {
nofile = "8192:8192"
}
image = "docker.service.consul:5000/crazymax/rtorrent-rutorrent:edge" image = "docker.service.consul:5000/crazymax/rtorrent-rutorrent:edge"
privileged = "true"
ports = [ ports = [
"http", "http",
"torrent", "torrent",