Compare commits

..

2 commits

Author SHA1 Message Date
7f6ca9782d
chore(forgejo): tidy up unused ephemeral disk
All checks were successful
Terraform CI/CD / Terraform Format, Validate, Lint, Scan (push) Successful in 2m9s
Terraform CI/CD / Terraform Plan (push) Has been skipped
Terraform CI/CD / Terraform Apply (push) Successful in 1m33s
2025-06-24 20:32:57 +01:00
109f294cff
chore: update volume paths to point to ephemeral disks 2025-06-24 20:32:36 +01:00
3 changed files with 11 additions and 11 deletions

View file

@ -173,10 +173,5 @@ job "forgejo" {
attachment_mode = "file-system"
access_mode = "single-node-writer"
}
ephemeral_disk {
migrate = true
size = 10000
}
}
}

View file

@ -190,11 +190,11 @@ job "media-centre" {
}
volumes = [
"local/config:/config/config",
"local/data:/config/data",
"local/log:/config/log",
"local/plugins:/config/plugins",
"local/root:/config/root",
"../alloc/data/config:/config/config",
"../alloc/data/data:/config/data",
"../alloc/data/log:/config/log",
"../alloc/data/plugins:/config/plugins",
"../alloc/data/root:/config/root",
]
}

View file

@ -12,6 +12,11 @@ job "ollama" {
}
}
ephemeral_disk {
migrate = true
size = 200
}
task "ollama" {
driver = "docker"
@ -25,7 +30,7 @@ job "ollama" {
runtime = "nvidia"
volumes = [
"data/:/root/.ollama"
"../alloc/data/:/root/.ollama"
]
}