Compare commits

...

2 Commits

Author SHA1 Message Date
360e776745 Set up ollama. 2025-11-17 22:33:44 +00:00
5a819f70bb Static port for claude code accessibility. 2025-11-17 19:05:17 +00:00
2 changed files with 42 additions and 1 deletions

39
services/ollama.hcl Normal file
View File

@@ -0,0 +1,39 @@
job "ollama" {
datacenters = ["alo"]
type = "service"
group "ollama" {
network {
port "http" {
static = 11434
}
}
task "server" {
driver = "docker"
config {
image = "ollama/ollama:latest"
ports = ["http"]
volumes = ["/data/services/ollama:/root/.ollama"]
}
service {
name = "ollama"
port = "http"
check {
type = "http"
path = "/"
interval = "30s"
timeout = "5s"
}
}
resources {
cpu = 8000
memory = 2048
}
}
}
}

View File

@@ -3,7 +3,9 @@ job "tiddlywiki-mcp" {
group "captainslog" { group "captainslog" {
network { network {
port "http" {} port "http" {
static = 3500
}
} }
volume "services" { volume "services" {