From 81c51772495c71aec71ce7c3c0e5c49c85d63f8c Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 2 Aug 2026 16:18:17 +0700 Subject: [PATCH] chore: port 8080 to 4010 --- README.md | 2 +- src/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30f043e..1a32fa8 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,6 @@ docker compose -f docker-compose.yml up -d ## Infrastructure -- Traefik router: `ai.asepharyana.my.id` → `llm-api:8080` +- Traefik router: `ai.asepharyana.my.id` → `127.0.0.1:4010` - Network: `app-shared-net` - Docker Compose: see `llm-api.yml` diff --git a/src/config/mod.rs b/src/config/mod.rs index 97c17b3..ed756fc 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -42,7 +42,7 @@ impl AppConfig { server_port: std::env::var("SERVER_PORT") .ok() .and_then(|v| v.parse().ok()) - .unwrap_or(8080), + .unwrap_or(4010), log_level: std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string()), n_ctx: 8192, n_batch: 512,