Revert back
This commit is contained in:
@@ -12,12 +12,8 @@ job "ai-backend" {
|
||||
}
|
||||
|
||||
network {
|
||||
mode = "host"
|
||||
port "api" {
|
||||
static = 11434
|
||||
#to = 11434 # <--- THIS IS THE MISSING KEY
|
||||
}
|
||||
}
|
||||
port "api" { static = 11434 }
|
||||
}
|
||||
|
||||
task "ollama" {
|
||||
driver = "podman"
|
||||
@@ -54,6 +50,7 @@ job "ai-backend" {
|
||||
name = "ollama"
|
||||
port = "api"
|
||||
tags = ["traefik.enable=true"]
|
||||
address_mode = "host"
|
||||
check {
|
||||
type = "http"
|
||||
path = "/"
|
||||
|
||||
Reference in New Issue
Block a user