Update Dockerfile and Terraform configurations: upgrade Ollama version, add log level variable, and set default log level

This commit is contained in:
2025-09-07 20:42:06 +02:00
parent fa2d111bbe
commit 50758b2bb2
5 changed files with 14 additions and 2 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
FROM docker.io/ollama/ollama:0.7.1
FROM docker.io/ollama/ollama:0.9.6
ARG UID=1000
ARG GID=1000
RUN groupadd --system --gid ${GID} worker && \
adduser --system --gid ${GID} --uid ${UID} --home /home/worker worker
useradd --system --gid ${GID} --uid ${UID} --home /home/worker worker && \
mkdir -p /home/worker && chown worker:worker /home/worker
WORKDIR /home/worker
USER worker
+5
View File
@@ -113,6 +113,11 @@ resource "kubernetes_deployment" "m3uproxy" {
failure_threshold = 10
}
env {
name = "LOG_LEVEL"
value = var.loglevel
}
env {
name = "USERNAME"
value_from {
@@ -14,6 +14,12 @@ variable "tag" {
default = "latest"
}
variable "loglevel" {
description = "The log level for M3UProxy"
type = string
default = "warn"
}
variable "maxmind_account_id" {
description = "Maxmind account ID"
type = string
Binary file not shown.
Binary file not shown.