chore: baserow + litellm update
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
servicePort = config.m3ta.ports.get serviceName;
|
servicePort = config.m3ta.ports.get serviceName;
|
||||||
in {
|
in {
|
||||||
virtualisation.oci-containers.containers.${serviceName} = {
|
virtualisation.oci-containers.containers.${serviceName} = {
|
||||||
image = "docker.io/baserow/baserow:2.3.3";
|
image = "docker.io/baserow/baserow:2.4.1";
|
||||||
environment = {
|
environment = {
|
||||||
# BASEROW_AMOUNT_OF_GUNICORN_WORKERS = "4";
|
# BASEROW_AMOUNT_OF_GUNICORN_WORKERS = "4";
|
||||||
# BASEROW_AMOUNT_OF_WORKERS = "2";
|
# BASEROW_AMOUNT_OF_WORKERS = "2";
|
||||||
|
|||||||
@@ -47,6 +47,15 @@
|
|||||||
# Prometheus scrapes with a bearer token from an agenix secret on AZ-PRM-1.
|
# Prometheus scrapes with a bearer token from an agenix secret on AZ-PRM-1.
|
||||||
settings["require_auth_for_metrics_endpoint"] = True
|
settings["require_auth_for_metrics_endpoint"] = True
|
||||||
|
|
||||||
|
# LiteLLM >= 1.106 warns about the shared static UI login via
|
||||||
|
# UI_USERNAME/UI_PASSWORD or the master key. Admin accounts live in
|
||||||
|
# the DB (Internal Users, role proxy_admin), so the env login is off.
|
||||||
|
general = config.get("general_settings")
|
||||||
|
if not isinstance(general, dict):
|
||||||
|
general = {}
|
||||||
|
config["general_settings"] = general
|
||||||
|
general["disable_env_credential_login"] = True
|
||||||
|
|
||||||
target_path.parent.mkdir(parents=True, exist_ok=True)
|
target_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
with target_path.open("w", encoding="utf-8") as fh:
|
with target_path.open("w", encoding="utf-8") as fh:
|
||||||
yaml.safe_dump(config, fh, sort_keys=False)
|
yaml.safe_dump(config, fh, sort_keys=False)
|
||||||
@@ -74,7 +83,7 @@ in {
|
|||||||
|
|
||||||
virtualisation.oci-containers.containers.${serviceName} = {
|
virtualisation.oci-containers.containers.${serviceName} = {
|
||||||
#image = "ghcr.io/berriai/litellm:v1.78.5-stable";
|
#image = "ghcr.io/berriai/litellm:v1.78.5-stable";
|
||||||
image = "docker.litellm.ai/berriai/litellm:1.95.0";
|
image = "docker.litellm.ai/berriai/litellm:1.106.5";
|
||||||
ports = [
|
ports = [
|
||||||
"127.0.0.1:${toString servicePort}:4000"
|
"127.0.0.1:${toString servicePort}:4000"
|
||||||
"${cldNetbirdIP}:${toString servicePort}:4000"
|
"${cldNetbirdIP}:${toString servicePort}:4000"
|
||||||
|
|||||||
Reference in New Issue
Block a user