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